|
-----Original Message----- Kevin The documentation you contribute was
really helpful. I have the problems you reported earlier in regards getting
Orion to run STRUTS. By some stroke of luck I managed to get Orion serving my
application (first page only..). It loaded the database servlet and found the
resource file ok. I have placed the struts.jar in the WEB-INF\lib directory and
the taglib files in the WEB-INF directory. However Orion still complained about
not being able to find the ValidationActionForm.class. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Orion/1.2.0
initialized createFormInstance: java.lang.NoClassDefFoundError: org/apache/struts/action/Va lidatingActionForm java.lang.NoClassDefFoundError: org/apache/struts/action/ValidatingActionForm at
java.lang.ClassLoader.defineClass0(Native Method) at
java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled Code) at
com.evermind.naming.i5.findClass(JAX, Compiled Code) at
java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at
java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at
java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java, Compiled Co de) at
java.lang.Class.forName0(Native Method) at
java.lang.Class.forName(Class.java, Compiled Code) at org.apache.struts.action.ActionMappingBase.createFormInstance(ActionM appingBase.java:409) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< I am running Orion 1.2.0 on Windows
NT sp6 JDK 1.2.2. I also attached my config files if it helps. I would really
appreciate if you can give me some help. Cheers
My application.log files says 30/08/00 16:12 Started 30/08/00 16:12 portal-web:
com.consultech.web.initialise.DatabaseServlet: init 30/08/00 16:12 portal-web:
com.consultech.web.initialise.DatabaseServlet: Initializing database servlet 30/08/00 16:12 portal-web:
org.apache.struts.action.ActionServlet: init 30/08/00 16:12 portal-web:
org.apache.struts.action.ActionServlet: Loading application resources from
resource com.consultech.web.initialise.ApplicationResources 30/08/00 16:12 portal-web:
org.apache.struts.action.ActionServlet: Initializing configuration from
resource path /WEB-INF/action.xml 30/08/00 16:12 portal-web:
com.consultech.web.booking.WebBureauServlet: init 30/08/00 16:12 portal-web: 1.2.0
Started 30/08/00 16:12 portal-web: org.apache.struts.action.ActionServlet:
Processing a GET for /editGuest 30/08/00 16:12 portal-web:
org.apache.struts.action.ActionServlet:
Looking for ActionForm bean under attribute 'guestregistrationForm' 30/08/00 16:12 portal-web:
org.apache.struts.action.ActionServlet:
Creating new ActionForm instance 30/08/00 16:12 portal-web:
org.apache.struts.action.ActionServlet: Could not create an ActionInstance for
'/editGuest' My orion server.xml <?xml
version="1.0"?> <!DOCTYPE application-server
PUBLIC "Orion Application Server Config"
"http://www.orionserver.com/dtds/application-server.dtd"> <application-server application-directory="../applications" deployment-directory="../application-deployments" > <rmi-config
path="./rmi.xml" /> <!--
JMS-server config link, uncomment to activate the JMS service --> <!--
<jms-config path="./jms.xml" /> --> <principals
path="./principals.xml" /> <log> <file
path="../log/server.log" /> </log> <global-application
name="default" path="application.xml" /> <application
name="fbs_portal" path="../applications/fbs_portal/" /> <global-web-app-config
path="global-web-application.xml" /> <web-site
path="./default-web-site.xml" /> <!--
Compiler, activate this to specify an alternative compiler such as
jikes for EJB/JSP compiling. --> <!--
<compiler executable="jikes"
classpath="/myjdkdir/jre/lib/rt.jar" /> --> </application-server> My default-web-site.xml <?xml
version="1.0"?> <!DOCTYPE web-site PUBLIC
"Orion Web-site" "http://www.orionserver.com/dtds/web-site.dtd"> <web-site host="[ALL]"
port="80" display-name="Default Orion WebSite"> <!--
The default web-app for this site, bound to the root --> <default-web-app
application="default" name="defaultWebApp" /> <web-app
application="fbs_portal" name="portal-web"
root="/fbs_portal" /> <!--
Uncomment this to activate the news app --> <!--
<web-app application="news" name="news-web"
root="/news" /> --> <!--
Access Log, where requests are logged to --> <access-log
path="../log/default-web-access.log" /> </web-site> my application structure d:\devtools\orion\applications\fbs_portal d:\devtools\orion\applications\fbs_portal\ejb-web d:\devtools\orion\applications\fbs_portal\ejb-web\WEB-INF d:\devtools\orion\applications\fbs_portal\ejb-web\WEB-INF\lib d:\devtools\orion\applications\fbs_portal\ejb-web\WEB-INF\classes |
