You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Grant Davies <gr...@bluetube.com> on 2001/06/15 03:36:04 UTC

struts and weblogic 5.1 sp9

Hi,

I've been trying to get the struts working with weblogic 5.1 sp9.  I have
the latest version of struts (jakarta-struts-1.0-b3)  and I successfully
deployed the struts-example.war.  (I can see it loaded and the servlets
register correctly, I can access the jsp's inside)

I can get the first page to come up by opening

http://localhost:7001/strutsexample

I can then click on the link

	"Register with the MailReader Demonstration Application"

I then fill in a user name, password, 2nd password, full name, from address
and reply to address and then I hit save.

The servlet then fails and the exception I get in the console is:

Thu Jun 14 17:31:08 EDT 2001:<E> <WebAppServletContext-strutsexample>
Servlet failed with Exception
weblogic.servlet.jsp.JspException: (line 16): user is not defined as bean
        at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:673)
        at
weblogic.servlet.jsp.JspLexer.mXML_GET_PROPERTY(JspLexer.java:2994)
        at weblogic.servlet.jsp.JspLexer.mXML_THING(JspLexer.java:1707)
        at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1612)
        at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1548)
        at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:888)
        at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
        at weblogic.servlet.jsp.JspParser.parse(JspParser.java:125)
        at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:109)
        at
weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
        at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:312)
        at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
        at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:20
0)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:115)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:138)
        at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:158)
        at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1758)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:120)
        at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:915)
        at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:879)
        at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:269)
        at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365)
        at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

Can anyone shed light on this, its driving me nuts.  I've gone through all
the xml, dtd's, java source files and can find nothing wrong, and this is
the example that comes with struts, completely un-touched.

Cheers,
Grant Davies
b l u e t u b e p r o d u c t i o n s
http://www.bluetube.com
The new Bluetube Productions Sampler, coming August 2001


Re: struts and weblogic 5.1 sp9

Posted by Jonathan Asbell <ja...@i-2000.com>.
try struts-example (with the hyphen)

----- Original Message -----
From: "Grant Davies" <gr...@bluetube.com>
To: <st...@jakarta.apache.org>
Cc: "Phil Lentz (E-mail)" <pl...@insolutions.net>
Sent: Thursday, June 14, 2001 9:36 PM
Subject: struts and weblogic 5.1 sp9


> Hi,
>
> I've been trying to get the struts working with weblogic 5.1 sp9.  I have
> the latest version of struts (jakarta-struts-1.0-b3)  and I successfully
> deployed the struts-example.war.  (I can see it loaded and the servlets
> register correctly, I can access the jsp's inside)
>
> I can get the first page to come up by opening
>
> http://localhost:7001/strutsexample
>
> I can then click on the link
>
> "Register with the MailReader Demonstration Application"
>
> I then fill in a user name, password, 2nd password, full name, from
address
> and reply to address and then I hit save.
>
> The servlet then fails and the exception I get in the console is:
>
> Thu Jun 14 17:31:08 EDT 2001:<E> <WebAppServletContext-strutsexample>
> Servlet failed with Exception
> weblogic.servlet.jsp.JspException: (line 16): user is not defined as bean
>         at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:673)
>         at
> weblogic.servlet.jsp.JspLexer.mXML_GET_PROPERTY(JspLexer.java:2994)
>         at weblogic.servlet.jsp.JspLexer.mXML_THING(JspLexer.java:1707)
>         at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1612)
>         at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1548)
>         at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:888)
>         at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
>         at weblogic.servlet.jsp.JspParser.parse(JspParser.java:125)
>         at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:109)
>         at
> weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
>         at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:312)
>         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
>         at
>
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:20
> 0)
>         at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :115)
>         at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :138)
>         at
>
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
> l.java:158)
>         at
>
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
> va:1758)
>         at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
>         at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :120)
>         at
>
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
> l.java:915)
>         at
>
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
> l.java:879)
>         at
>
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
> Manager.java:269)
>         at
>
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365)
>         at
> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253)
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
>
> Can anyone shed light on this, its driving me nuts.  I've gone through all
> the xml, dtd's, java source files and can find nothing wrong, and this is
> the example that comes with struts, completely un-touched.
>
> Cheers,
> Grant Davies
> b l u e t u b e p r o d u c t i o n s
> http://www.bluetube.com
> The new Bluetube Productions Sampler, coming August 2001
>