-----------------------------------------------
My System Classpath: 
-----------------------------------------------
F:\weblogic\lib\weblogic510sp8boot.jar;F:\Tools\jdk1.3\lib\j2ee.jar;
f:\Oracle\Ora81\jdbc\lib\classes12.zip;f:\Oracle\Ora81\jdbc\lib\nls_charset1
2_01.zip;
f:\Oracle\Ora81\jdbc\lib\nls_charset11.zip;f:\Oracle\Ora81\jdbc\lib\nls_char
set10.zip;
f:\Oracle\Ora81\jdbc\lib\classes102.zip;f:\Oracle\Ora81\jdbc\lib\classes111.
zip;
f:\tools\lib\tools.jar;f:\tomcat\lib\webserver.jar;
f:\tomcat\lib\xml.jar;f:\tomcat\lib\jasper.jar;f:\tomcat\lib\servlet.jar;
f:\tomcat\lib\ant.jar;f:\tools\xerces-1_3_0\xerces.jar
------------------------------------------------------
My Weblogic classpath:
------------------------------------------------------
set
WEBLOGIC_CLASSPATH=.\license;.\classes;.\lib\weblogicaux.jar;.\myserver\serv
erclasses;
.\lib\wlssp8-struts.jar;.\lib\weblogic510sp8.jar;f:\tools\xerces-1_3_0\xerce
s.jar 




Why does your classpath make reference to tomcat libraries? I would stick to
the WL supplied servlet classes. And, your SP8 files must be placed at the
start of both classpaths. I recommend the following:

1) Make sure WL is started from the \weblogic root. Also, javac.exe and
weblogic/bin directory need to be included in your windows system PATH.
2) Change your system CLASSPATH to:

.\lib\weblogic510sp8boot.jar;.\classes\boot;f:\Oracle\Ora81\jdbc\lib\classes
111.zip;f:\tools\xerces-1_3_0\xerces.jar

3) and your weblogic classpath to:

.\lib\weblogic510sp8.jar;.\license;.\classes;.\lib\weblogicaux.jar;.\myserve
r\serverclasses


4) In addition to this, you will need to extract the
ApplicationProfile.properties from each war file to the _tmp directory
created by WL. Refer to the installation notes for WL5.1 supplied with the
Struts distibution for more information.

For reference, I have attached my startup script for WL. I use this on both
NT and HP-UX successfully (with a few minor OS related changes)

 <<startwl.cmd>> 
Bob






> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 07, 2001 1:00 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: WLS5.1/SP8 Problem defining JSP class
> 
> 
> Hi Matthias,
> 
> Thanks for your quick response.
> 
> I am attaching the complete error details, any help would be much
> appreciated...
> 
> (See attached file: error.txt)
> 
> 
> 
>  
> 
>                     Matthias
> 
>                     Kerkhoff             To:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>      
>                     <make@BESToff        cc:
> 
>                     ers.de>              Subject:     Re: WLS5.1/SP8
> Problem defining JSP class                     
>  
> 
>                     03/07/01
> 
>                     04:57 AM
> 
>                     Please
> 
>                     respond to
> 
>                     struts-user
> 
>  
> 
>  
> 
> 
> 
> 
> > I have successfully implemented the struts example on Apache/Tomcat but
> not
> > able to the same on WebLogic 5.1. I am getting the error:
> > Problem defining JSP class
> > java.lang.NullPointerException
> > at weblogic..servlet.jsp.OneOffJspLoader.<init><JspStub.java:420>
> 
> Looks like a classpath problem. Anyway, a full stack trace would be
> helpful
> to track your problem down to it's cause.
> 
> Hopefully installing the fix becomes obsolete with SP9. SP9 should be
> out real soon now. If(!) you've installed Struts in the correct place
> and have configured your classpaths correctly, you should probably wait
> until SP9 is officially released.
> 
> Matthias                        (mailto:[EMAIL PROTECTED])
> 
> > PS. I have applied the fix published in the mailing list for WLS5.1/SP8
> 
> PS: The fix leaves (at least) two bugs open, one leading to trouble with
>     the <html:html> tag and another one, that disables the use of
>     empty <auth-constraint> elements in web-application (DDs).
> 
> 
> 
>  << File: Text - character set unknown >> 

startwl.cmd

Reply via email to