Another request for struts on orion

2001-04-03 Thread Rick Hightower

I am also having a problem running struts on Orion.

I followed the instructions and noticed that the directions to install the
sample application on Orion (as written) would not work. First it only
mentions copying one xml file not action.xml (it mentions
struts_config.xsl). Then it asks you to point the config setting to
action.xml without copying it to the web application root. The directions
seem to be missing some steps.

I tried to improvise and tried to copy all xml (and tag definition files)
files from WEB-INF to the web app root of the sample, but I am running out
of ideas. I realize that Orion is popular and someone has this running
somewhere. And I also realize that this question has been asked for

Where is a good place to search for the answers to this question?
Is there a way to search this mail archive?

(BTW I did get struts to work on weblogic 5.1)

--Rick Hightower
Software Developer
http://www.geocities.com/rick_m_hightower/


-Original Message-
From: Shawn Stephens [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 2:42 PM
To: [EMAIL PROTECTED]
Subject: jndi


Hello,
Does anyone have the strut examples working with orionserver 1.4.5
or later.  If not, does anyone know where I can find more information on how
to get this to work.  I have implemented the extra procedures required to
set up strut with orion.


Thanks,
Shawn Stephens

I get this error when I try to run the app:

4/3/01 4:33 PM defaultWebApp: 1.4.7 Started
4/3/01 4:33 PM strutsExample: database: init
4/3/01 4:33 PM strutsExample: database: Initializing database servlet
4/3/01 4:33 PM strutsExample: database: Loading database from
'/WEB-INF/database.xml'
4/3/01 4:33 PM strutsExample: action: init
4/3/01 4:33 PM strutsExample: action: Loading application resources from
resource org.apache.struts.example.ApplicationResources
4/3/01 4:33 PM strutsExample: action: Initializing configuration from
resource path /WEB-INF/action.xml
4/3/01 4:33 PM strutsExample: action: null
java.net.MalformedURLException: unknown protocol: jndi
at
org.apache.struts.digester.Digester.resolveEntity(Digester.java:581)
at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntit
y(DefaultEntityHandler.java:750)
at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubse
t(DefaultEntityHandler.java:566)
at
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java
:1139)
at
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentSc
anner.java:2201)
at
org.apache.xerces.framework.XMLDocumentScanner.access$000(XMLDocumentScanner
.java:86)
at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML
DocumentScanner.java:887)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
at org.apache.struts.digester.Digester.parse(Digester.java:716)
at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1403)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind.server.http.HttpApplication.xc(JAX)
at com.evermind.server.http.HttpApplication.wu(JAX)
at com.evermind.server.http.HttpApplication.w4(JAX)
at com.evermind.server.http.HttpApplication.wf(JAX)
at com.evermind.server.http.HttpApplication.init(JAX)
at com.evermind.server.Application.u2(JAX)
at com.evermind.server.http.en.u2(JAX)
at com.evermind.server.http.em.nu(JAX)
at com.evermind.server.http.eg.s9(JAX)
at com.evermind.server.http.eg.dr(JAX)
at com.evermind.util.f.run(JAX)
4/3/01 4:33 PM strutsExample: action: Mapping for servlet 'action' = 'null'
4/3/01 4:33 PM strutsExample: 1.4.7 Started




RE: Another request for struts on orion

2001-04-03 Thread Shawn Stephens

I too tried the same thing.  Can you check your where orion is
located\orion\log\global-application.log and see if you are getting this
error:

java.net.MalformedURLException: unknown protocol: jndi
at
org.apache.struts.digester.Digester.resolveEntity(Digester.java:581)
at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntit
y(DefaultEntityHandler.java:750)
at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubse
t(DefaultEntityHandler.java:566)
at
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java
:1139)
at
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentSc
anner.java:2201)
at
org.apache.xerces.framework.XMLDocumentScanner.access$000(XMLDocumentScanner
.java:86)
at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML
DocumentScanner.java:887)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
at
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
at org.apache.struts.digester.Digester.parse(Digester.java:716)
at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1403)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind.server.http.HttpApplication.xc(JAX)
at com.evermind.server.http.HttpApplication.wu(JAX)
at com.evermind.server.http.HttpApplication.w4(JAX)
at com.evermind.server.http.HttpApplication.wf(JAX)
at com.evermind.server.http.HttpApplication.init(JAX)
at com.evermind.server.Application.u2(JAX)
at com.evermind.server.http.en.u2(JAX)
at com.evermind.server.http.em.nu(JAX)
at com.evermind.server.http.eg.s9(JAX)
at com.evermind.server.http.eg.dr(JAX)
at com.evermind.util.f.run(JAX)

-Original Message-
From: Rick Hightower [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 5:10 PM
To: [EMAIL PROTECTED]
Subject: Another request for struts on orion


I am also having a problem running struts on Orion.

I followed the instructions and noticed that the directions to install the
sample application on Orion (as written) would not work. First it only
mentions copying one xml file not action.xml (it mentions
struts_config.xsl). Then it asks you to point the config setting to
action.xml without copying it to the web application root. The directions
seem to be missing some steps.

I tried to improvise and tried to copy all xml (and tag definition files)
files from WEB-INF to the web app root of the sample, but I am running out
of ideas. I realize that Orion is popular and someone has this running
somewhere. And I also realize that this question has been asked for

Where is a good place to search for the answers to this question?
Is there a way to search this mail archive?

(BTW I did get struts to work on weblogic 5.1)

--Rick Hightower
Software Developer
http://www.geocities.com/rick_m_hightower/


-Original Message-
From: Shawn Stephens [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 2:42 PM
To: [EMAIL PROTECTED]
Subject: jndi


Hello,
Does anyone have the strut examples working with orionserver 1.4.5
or later.  If not, does anyone know where I can find more information on how
to get this to work.  I have implemented the extra procedures required to
set up strut with orion.


Thanks,
Shawn Stephens

I get this error when I try to run the app:

4/3/01 4:33 PM defaultWebApp: 1.4.7 Started
4/3/01 4:33 PM strutsExample: database: init
4/3/01 4:33 PM strutsExample: database: Initializing database servlet
4/3/01 4:33 PM strutsExample: database: Loading database from
'/WEB-INF/database.xml'
4/3/01 4:33 PM strutsExample: action: init
4/3/01 4:33 PM strutsExample: action: Loading application resources from
resource org.apache.struts.example.ApplicationResources
4/3/01 4:33 PM strutsExample: action: Initializing configuration from
resource path /WEB-INF/action.xml
4/3/01 4:33 PM strutsExample: action: null
java.net.MalformedURLException: unknown protocol: jndi
at
org.apache.struts.digester.Digester.resolveEntity(Digester.java:581)
at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntit
y(DefaultEntityHandler.java:750)
at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubse
t(DefaultEntityHandler.java:566)
at
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java
:1139)
at
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentSc
anner.java:2201