Regarding EDTF. "touch -C 819 file" gets the CCSID right for a new file
which can then be edited with EDTF.

We have the IFS exposed as a Windows Share allowing for directly editing and
viewing files on the PC. Highly recommended if possible - I do not know the
name of the AS/400 component.

For the original question? Is Tomcat a required component or will any
servlet container do?



-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Joe Sam Shirah
Sent: 26. juli 2012 20:19
To: Java Programming on and around the IBM i
Subject: Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?


Hey,

I haven't had and don't have time to get deeply into this, but a few
comments:

If you're still trying to deal with this business:


/wintouch/tomcat/bin/catalina.sh: 001-0019 Error found searching for
command tty. No such path or directory.
...
Using CLASSPATH:
/wintouch/tomcat/bin/bootstrap.jar:/wintouch/tomcat/bin/tomcat-juli.ja
r

"tty" is unix/linux talk for a teletype (approximately) command. I'd
research about tomcat-juli.jar, because I think the logging is trying to
output somewhere using tty. I think I've seen in the past either how to
redirect it or send it to the bit bucket.


As to using EDITF, you're *far* better off IMO -- including worries
about CCSID -- creating the file, whether config files like
conf/logging.properties or java files, in your normal editor (or even
WordPad (save as text)/Notepad) on the PC, then using FTP to send it to IFS.

HTH,


Joe Sam

Joe Sam Shirah - www.conceptgo.com (904) 302-6870
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: www.ibm.com/developerworks/java
Just the JDBC FAQs: www.jguru.com/faq/JDBC Going International?
www.jguru.com/faq/I18N
Que Java400? www.jguru.com/faq/Java400


-----Original Message-----
From: James Lampert
Sent: Thursday, July 26, 2012 1:23 PM
To: Java Programming on and around the IBM i
Subject: Re: Tomcat 7.0.25 on an AS/400, V5R4, Another try. Help?

Dan Kimmel wrote:
For javac, set your current directory to
/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit before calling javac.

cd /QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit
javac ....

Not quite sure I get this part. And at any rate, if I try to create the
source STMF with EDITF, it creates the file with a CCSID of 37, which JAVAC
(not surprisingly) doesn't like.

--
JHHL
--
This is the Java Programming on and around the IBM i (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.

--
This is the Java Programming on and around the IBM i (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-2022 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.