×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Ivan,

You might try commenting out the section that says chgjob... to see if
it works. There is a bug in that script if you set your CATALINA_BASE or
HOME? as an environment variable before running the script. I don't have
the script in front of me to tell you exactly what to change but I
believe that the if [ -z "$CATALINA_BASE"] construct will never return
true. I have also added echo statements to the script to help in
debugging. Something like echo "at 1"... echo "at 2".

David Morris

>>> iva030@xxxxxxxxx 09/02/04 7:19 AM >>>
I just checked and my id has authority to everything,
including *jobctl.

Any other suggestions? I'll try anything at this
point.
Thanks.

--- Ivan Hurtado <iva030@xxxxxxxxx> wrote:

> Yes, I am trying to run the startup.sh from a QSH
> session, and that is failing to start my Tomcat
> server. When you say "it will fail if you don't have
> *JOBCTL rights"... do you mean the userid of the
> person trying to start the server (in this case me),
> or are you referring to some other system id?
> 
> --- David Morris <David.Morris@xxxxxxxxxxxxx> wrote:
> 
> > Ivan,
> > 
> > You might try running catalina.sh from an
> > interactive session. Start
> > Qshell and run startup.sh in the bin directory. I
> > would guess the
> > problem is in the catalina.sh script does a chgjob
> > runpty(12) that will
> > fail if you don't have *JOBCTL rights.
> > 
> > David morris
> > 
> > >>> iva030@xxxxxxxxx 9/1/2004 2:56:31 PM >>>
> > My catalina.out log file contains the following
> > error 
> > in it when I try to start Tomcat. It seems that
> the
> > call to the os400 "system" command is not working.
> I
> > looked in the catalina.sh file and commented out
> the
> > line that sets the job priority and calls "system"
> > to
> > execute it, but I still get the same problem (and
> > exception in my log file). I ran a grep to look
> for
> > other system command calls, but I don't see any
> > others. Does anyone have any idea what the problem
> > could be?
> > 
> > here is the error in my log file...
> > 
> > system: 001-3034 usage: system [-Kknpqsv]
> CLcommand
> > [arg ...]  
> > 
> > --- Ivan Hurtado <iva030@xxxxxxxxx> wrote:
> > 
> > > I had the jdk1.4 installed (along with PTFs),
> and
> > > then
> > > I added a SystemDefault.properties file which
> > > contains
> > > "java.version-1.4" in it. This finally allows me
> > to
> > > get see 1.4 when I run the java -version
> command.
> > > However, I now have an odd problem... my Tomcat
> > > server
> > > which previously worked fine does not start
> > anymore.
> > > I
> > > do not see any error message, spool file, job
> log,
> > > or
> > > anything  indicating why. It just does nothing.
> I
> > > even
> > > tried removing the SystemDefault.properties file
> > to
> > > revert it back to the 1.3 jvm and reset
> everything
> > > in
> > > my Tomcat server to jdk1.3, but I still cannot
> get
> > > Tomcat to start at all...
> > > 
> > > Help!
> > --
> > This is the Java Programming on and around the
> > iSeries / AS400 (JAVA400-L) mailing list
> > To post a message email: JAVA400-L@xxxxxxxxxxxx
> > To subscribe, unsubscribe, or change list options,
> > visit:
> >
> http://lists.midrange.com/mailman/listinfo/java400-l
> > or email: JAVA400-L-request@xxxxxxxxxxxx
> > Before posting, please take a moment to review the
> > archives
> > at http://archive.midrange.com/java400-l.
> > 
> > 
> 
> 
> 
>               
> _______________________________
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download
> now. 
> http://messenger.yahoo.com
> --
> This is the Java Programming on and around the
> iSeries / AS400 (JAVA400-L) mailing list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit:
> http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/java400-l.
> 
> 



                
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.