Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

jsptl ea1.2 - should it work in weblogic 6.1?

0 views
Skip to first unread message

Glenn R. Kronschnabl

unread,
Nov 6, 2001, 12:25:59 PM11/6/01
to
Hi,

I know that the jsptl is an early access, etc, etc. I have two
problems when I tried to deploy the examples under wls6.1.
I know that wls6.1 has partial support of jsp1.2, but has anyone else
tried to get it to work with weblogic 6.1? Should it work?

When I try, I get the following errors when trying to
run the examples.

Error1:

Compilation of '/home/grk/bea61/wlserver6.1/config/fcentdomain/applications/jexamples/WEB-INF/_tmp_war_myserver_myserver_jexamples/jsp_servlet/_iterators/__Simple.java' failed: /home/grk/bea61/wlserver6.1/config/fcentdomain/applications/jexamples/WEB-INF/_tmp_war_myserver_myserver_jexamples/jsp_servlet/_iterators/__Simple.java:144: unreported exception java.lang.Throwable; must be caught or declared to be thrown
probably occurred due to an error in /iterators/Simple.jsp line 14:
</jx:forEach>

/home/grk/bea61/wlserver6.1/config/fcentdomain/applications/jexamples/WEB-INF/_tmp_war_myserver_myserver_jexamples/jsp_servlet/_iterators/__Simple.java uses or overrides a deprecated API.

Full compiler error(s):

/home/grk/bea61/wlserver6.1/config/fcentdomain/applications/jexamples/WEB-INF/_tmp_war_myserver_myserver_jexamples/jsp_servlet/_iterators/__Simple.java:144: unreported exception java.lang.Throwable; must be caught or declared to be thrown
_jx_forEach0.doCatch(_t); //[ /iterators/Simple.jsp; Line: 14]
^
Note: /home/grk/bea61/wlserver6.1/config/fcentdomain/applications/jexamples/WEB-INF/_tmp_war_myserver_myserver_jexamples/jsp_servlet/_iterators/__Simple.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
1 error

Note I tried setting noTryBlocks in the weblogic.xml - but nothing
changed.

My second issue is that if I try to deploy the jsptl-examples.war, I get
the following error (weblogic.log). If I unjar the file in the
applications directory, then start wls, I get past that error
and get the error above.

Error2:
(from weblogic.log)
####<Nov 6, 2001 11:24:40 AM CST> <Info> <HTTP> <acoldone2> <myserver> <main> <system> <> <101031> <[WebAppServletContext(829387,jsptl-examples,/jsptl-examples)] extracting classfiles to /home/grk/bea61/wlserver6.1/config/fcentdomain/applications/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_jsptl-examples:>
####<Nov 6, 2001 11:24:40 AM CST> <Debug> <HTTP> <acoldone2> <myserver> <main> <system> <> <101158> <Exception thrown while loading jsptl-examples: java.lang.IllegalArgumentException: Prefix string too short>
java.lang.IllegalArgumentException: Prefix string too short
at java.io.File.createTempFile(File.java:1237)
at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:95)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3245)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3216)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:853)
...

RH 7.2 (i386), jdk1.3.1_01 (sun), wls6.1 generic (no sp - is there a sp
available for linux installs?)

Glenn

0 new messages