Hi I am just starting to learn about Struts and see how it can be used. I
tried starting with Ted Husted's strut by strut tutorial. I have weblogic5.1
integrated with Jbuilder4 enterprise. I downloaded the struts-stub.war and
edited my weblogic.properties file as follows 
weblogic.httpd.webApp.struts1=C:/Jakarta/struts_husted_tutorial/struts-stub.
war
upon restarting the server I tried going to the URL
http://localhost:7001/struts1. It compiles the index jsp so it seems that
the war file was deployed somewhat correctly but it cant find the needed
classes. My weblogic.out log is posted below but the main error seems to be
"action: Error creating ActionForm instance of class 'ext.stub.samples.Form'
java.lang.ClassNotFoundException: ext.stub.samples.Form" .I would manually
add these classes to my jbuilder classpath if they were in some kind of jar
(which I could go through the trouble of doing) but I want to know first if
this should be neccessary every time I want to deploy a war file on
weblogic?       


Thu Jan 31 12:48:40 PST 2002:<I> <WebAppServletContext-struts1> *.jsp: init
Thu Jan 31 12:48:40 PST 2002:<I> <WebAppServletContext-struts1> *.jsp: param
verbose initialized to: true Thu Jan 31 12:48:40 PST 2002:<I>
<WebAppServletContext-struts1> *.jsp: param packagePrefix initialized to:
jsp_servlet Thu Jan 31 12:48:41 PST 2002:<I> <WebAppServletContext-struts1>
*.jsp: param compileCommand initialized to: javac Thu Jan 31 12:48:41 PST
2002:<I> <WebAppServletContext-struts1> *.jsp: param srcCompiler initialized
to weblogic.jspc Thu Jan 31 12:48:41 PST 2002:<I>
<WebAppServletContext-struts1> *.jsp: param superclass initialized to null
Thu Jan 31 12:48:41 PST 2002:<I> <WebAppServletContext-struts1> *.jsp: param
workingDir initialized to:
C:\Jakarta\struts_husted_tutorial\WEB-INF\_tmp_war_struts1 Thu Jan 31
12:48:41 PST 2002:<I> <WebAppServletContext-struts1> *.jsp: param
pageCheckSeconds initialized to: 1 Thu Jan 31 12:48:41 PST 2002:<I>
<WebAppServletContext-struts1> *.jsp: initialization complete Thu Jan 31
12:48:41 PST 2002:<I> <WebAppServletContext-struts1> *.jsp: 
######
########
############
##############
pageCheckSeconds over-ruled in JSPServlet to : 1
##############
############
########
######
 Thu Jan 31 12:48:41 PST 2002:<I> <WebAppServletContext-struts1> action:
Processing a GET for /stub/Input Thu Jan 31 12:48:41 PST 2002:<I>
<WebAppServletContext-struts1> action: Setting locale 'en_US' Thu Jan 31
12:48:42 PST 2002:<I> <WebAppServletContext-struts1> action:  Looking for
ActionForm bean under attribute 'stubForm' Thu Jan 31 12:48:42 PST 2002:<I>
<WebAppServletContext-struts1> action:  Creating new ActionForm instance of
class 'ext.stub.samples.Form' Thu Jan 31 12:48:42 PST 2002:<E>
<WebAppServletContext-struts1> action: Error creating ActionForm instance of
class 'ext.stub.samples.Form' java.lang.ClassNotFoundException:
ext.stub.samples.Form   at
java.net.URLClassLoader$1.run(URLClassLoader.java:200)  at
java.security.AccessController.doPrivileged(Native Method)      at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)      at
java.lang.ClassLoader.loadClass(ClassLoader.java:297)   at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)   at
java.lang.ClassLoader.loadClass(ClassLoader.java:253)   at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)   at
java.lang.Class.forName0(Native Method)         at
java.lang.Class.forName(Class.java:120)         at
org.apache.struts.action.ActionServlet.processActionForm(ActionServlet.java:
1700)   at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1562)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)         at
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)    at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:120)   at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:158)     at
weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:109)  at
org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:173)
at jsp_servlet._index._jspService(_index.java:96)       at
weblogic.servlet.jsp.JspBase.service(JspBase.java:27)   at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:120)   at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:138)   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) 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the postmaster at [EMAIL PROTECTED]


www.sothebys.com
**********************************************************************


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to