Re: Problem with Struts in IBM VisualAge 3.5.2

2001-12-14 Thread Marco Spadoni

Thank you Frank,
I understood what happened
After creating a new edition for the project "IBM XML Parser for Java",
I removed org.* packages from this new one, but then I erroneously imported
them from Xerces again in "IBM XML Parser for Java" itself!
So, to let Tomcat be successfully started, I needed simply to add "IBM XML
Parser for Java"
project to the Tomcatrunner class path / project path.
Regards,
Marco


- Original Message -
From: "Frank Lawlor" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 6:37 PM
Subject: RE: Problem with Struts in IBM VisualAge 3.5.2


> - Did you remove IBM's XML parser and install
>the correct Xerces version?
>
>  - Did you add your application project to the
>Class Path | Project Path of the TomcatRunner
>class?
>
>  - Check to make sure you have
>...\VisualAge for
>
Java\ide\project_resources\Apache_Tomcat_Test_Environment\webapps\employeeli
> st\WEB-INF\struts-config.xml
>
>  - Make sure the struts-config.xml format is correct (start
>with a known good one just to check)
>
>  - You don't have any security enabled
>(IBM\VisualAge for Java\ide\program\lib\security\java.policy)
>do you?  Make sure a simple app can open a file.
>
> Frank Lawlor
> Athens Group, Inc.
> (512) 345-0600 x151
> Athens Group, an employee-owned consulting firm integrating technology
> strategy and software solutions.
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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




RE: Problem with Struts in IBM VisualAge 3.5.2

2001-12-13 Thread Frank Lawlor

 - Did you remove IBM's XML parser and install
   the correct Xerces version?

 - Did you add your application project to the
   Class Path | Project Path of the TomcatRunner
   class?

 - Check to make sure you have
   ...\VisualAge for
Java\ide\project_resources\Apache_Tomcat_Test_Environment\webapps\employeeli
st\WEB-INF\struts-config.xml

 - Make sure the struts-config.xml format is correct (start
   with a known good one just to check)

 - You don't have any security enabled
   (IBM\VisualAge for Java\ide\program\lib\security\java.policy)
   do you?  Make sure a simple app can open a file.

Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Problem with Struts in IBM VisualAge 3.5.2

2001-12-13 Thread Marco Spadoni

I'm trying to install and run Struts in IBM VisualAge 3.5 Patch 2 according
to the instructions
found in the paper from Kyle Brown ("Apache Struts and VisualAge for Java,
Part2: Using
Struts in VAJ 3.5.2 and 3.5.3").
Before to install the EmployeelistForApache.zip contents I was able to start
the Apache Tomcat
Test Environment and successfully run the default example applications.
After the installation and the configuration of the
EmployeelistForApache.zip contents, when I try
to start Apache Tomcat, I have the following messages (below) on VAJ
consolle, ending with the listed
exception stack frame.
Anyone that can give me an hint?
TIA,

Marco Spadoni
Italia On Line

Context log path="/employeelist" :tomcat.errorPage: init
Context log path="/employeelist" :jsp: init
 Thu Dec 13 15:45:25 GMT+01:00 2001 Parent class loader is:
org.apache.tomcat.loader.AdaptiveServletLoader@294c
Context log path="/employeelist" :default: init
Context log path="/employeelist" :action: init
Context log path="/employeelist" :action: Loading application resources from
resource ApplicationResources
Context log path="/employeelist" :action: Initializing configuration from
resource path /WEB-INF/struts-config.xml
Exception occurred:  null
java.lang.reflect.InvocationTargetException: java.lang.InternalError: (Ex02)
An error has occurred.
 java.lang.Throwable(java.lang.String)
 java.lang.Error(java.lang.String)
 java.lang.VirtualMachineError(java.lang.String)
 java.lang.InternalError(java.lang.String)
 org.apache.struts.digester.Digester
org.apache.struts.action.ActionServlet.initDigester(int)
 org.apache.struts.digester.Digester
org.apache.struts.action.ActionServlet.initDigester(int)
 void org.apache.struts.action.ActionServlet.initMapping()
 void org.apache.struts.action.ActionServlet.init()
 void javax.servlet.GenericServlet.init(javax.servlet.ServletConfig)
 void org.apache.tomcat.core.ServletWrapper.initServlet()
 void org.apache.tomcat.core.ServletWrapper.loadServlet()
 void
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(org.apache.to
mcat.core.Context)
 void
org.apache.tomcat.core.ContextManager.initContext(org.apache.tomcat.core.Con
text)
 void org.apache.tomcat.core.ContextManager.init()
 void org.apache.tomcat.startup.Tomcat.execute(java.lang.String [])
 void org.apache.tomcat.startup.Tomcat.main(java.lang.String [])
 java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object,
java.lang.Object [])
 void com.ibm.ivj.tomcat.TomcatRunner.startTomcat(java.lang.String)
 void
com.ibm.ivj.tomcat.TomcatRunner.actionPerformed(java.awt.event.ActionEvent)
 void java.awt.Button.processActionEvent(java.awt.event.ActionEvent)
 void java.awt.Button.processEvent(java.awt.AWTEvent)
 void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
 void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
 void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
 boolean java.awt.EventDispatchThread.pumpOneEvent()
 void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
 void java.awt.EventDispatchThread.run()




--
To unsubscribe, e-mail:   
For additional commands, e-mail: