Re: OC4J JVM termination

From: <matthias.hoys_at_gmail.com>
Date: Thu, 3 Jan 2008 00:39:15 -0800 (PST)
Message-ID: <c85e2b90-0c2d-40a2-aee3-65b9e295a62e@j20g2000hsi.googlegroups.com>


On Dec 28 2007, 7:53†pm, Frank van Bortel <frank.van.bor..._at_gmail.com> wrote:
> Matthias Hoys wrote:
> > "Frank van Bortel" <frank.van.bor..._at_gmail.com> wrote in message
> >news:c2e5f$477407f9$524b5c40$16099_at_cache3.tilbu1.nb.home.nl...
> >> Matthias Hoys wrote:
> >>> "Frank van Bortel" <frank.van.bor..._at_gmail.com> wrote in message
> >>>news:2d8fb$4773ef80$524b5c40$10654_at_cache5.tilbu1.nb.home.nl...
> >>>> Matthias Hoys wrote:
> >>>>> Hello,

>

> >>>>> I installed OC4J on RHEL to use as a reporting server together with
> >>>>> Apex
> >>>>> 3.0. The installation went fine, but I have 1 important problem.
> >>>>> Whenever
> >>>>> I
> >>>>> close the console session that started the oc4j process, the process
> >>>>> gets
> >>>>> terminated and there is the error "JVM termination" in the log files.
> >>>>> Starting the process with "nohup ... &" doesn't help. There's an
> >>>>> article
> >>>>> on
> >>>>> Metalink that suggests as a solution to add "-Xrs" as a java startup
> >>>>> parameter, but that doesn't help either ...
> >>>>> Anyone that had the same problem and a possible workaround ?
>

> >>>>> Thanks
> >>>>> Matthias
>

> >>>> Just do not start any java processes - you do not need them
> >>>> for APEX - all html generation takes place in the database,
> >>>> just just need a server to stream them to your browser.
>

> >>>> You could try to use the internal http server (XML-protocol
> >>>> install needed, but it's there anyway - APEX requirement),
> >>>> if security permits a 2-tier setup
>

> >>>> --
> >>>> Regards,
> >>>> Frank van Bortel
>

> >>>> Top-posting is one way to shut me up...
> >>> I don't think I understand your reply :-)
> >>> I followed the guide on
> >>>http://www.oracle.com/technology/products/database/application_expres...
> >>> to install OC4J to enable pdf generation from within Apex. It works fine,
> >>> only the OC4J shuts itself down when I logoff. I don't want that :-)
> >>> I know Apex works fine without OC4J but it needs a reporting server to
> >>> generate pdf content.
>

> >>> Matthias
>

> >> OK - PDF is something else... Missed that (guess the Reporting
> >> Server should have triggered something).
>

> >> What did you install, and what version?
> >> OC4J standalone? WebCache and Java? 10.1.2/10.1.3 (crap!) or
> >> 10.1.4 (not tested yet)?
> >> Did you actually use the OC4J standalone 10.1.3.3 as advertised?
>

> >> Is it the service console (you start from the command line, iirc?)
> >> that closes on you?
>

> >> I once did a setup with HTMLDB 1.6, Apache FOP and 10.1.2 WC/J2EE.
> >> Worked like a charm - perhaps revert to 10.1.2 Webcache and J2EE?
> >> Pretty stable, and not a memory hog like 10.1.3
>

> >> --
> >> Regards,
> >> Frank van Bortel
>

> >> Top-posting is one way to shut me up...
>

> > I downloaded Standalone OC4J v10.1.3.3.0 (the last version), and I start it
> > from a command prompt as follows (after setting the necessary environment
> > variables as stated in the docs):
>

> > $ nohup java -Xsr -jar oc4j.jar &
>

> > The Xsr option was added based on a Metalink article.
> > Still, when I logoff my session, the oc4j process dies ...
> > I'm now using JDK 1.4.2. Maybe I should try 1.5.
>

> > Matthias
>

> I'd give 10.1.2.2 a try
>

> --
> Regards,
> Frank van Bortel
>

> Top-posting is one way to shut me up...- Hide quoted text -
>
> - Show quoted text -

Update: I now downloaded & installed 10.1.2 and this seems to work fine. The oc4j java process doesn't terminate itself when I log off. However, 10.1.2 doesn't seem to have an application deployment console, so I had to deploy the fop.war application manually. But this wasn't much of an issue :-)

So thanks for the tip, Frank :-)

Matthias Received on Thu Jan 03 2008 - 02:39:15 CST

Original text of this message