dneebrkr
asked on
Runnig 9i Reports JSP's on Apache
Hi,
I'm new to AS and I'm sorry if I use incorrect terms.
The machine that runs the DB also runs Apache + report server. From an unknown reason I cannot call either JSP's from the address bar (i.e http://host:7778/reports/rep.jsp - upon a java error page appears:
Request URI:/reports/rwdemagree2.j sp
Exception:
oracle.jsp.parse.JspParseE xception: Line # 1,
Error: java.lang.ClassNotFoundExc eption: oracle.reports.jsp.ReportT agExtraInf o
at oracle.jsp.parse.JspDirect iveTaglib. loadTagLib FromTLD(Js pDirective Taglib.jav a)
at oracle.jsp.parse.JspDirect iveTaglib. validateAt tributes(J spDirectiv eTaglib.ja va)
at oracle.jsp.parse.JspParseT agDirectiv e.validate TagAttribu tes(JspPar seTagDirec tive.java)
at oracle.jsp.parse.JspParseT ag.parse(J spParseTag .java)
at oracle.jsp.parse.JspParseT agDirectiv e.parse(Js pParseTagD irective.j ava)
at oracle.jsp.parse.JspParseT ag.parseNe xtTag(JspP arseTag.ja va)
at oracle.jsp.parse.JspParseT agFile.par se(JspPars eTagFile.j ava)
at oracle.jsp.parse.OracleJsp 2Java.tran sform(Orac leJsp2Java .java)
at oracle.jsp.app.JspAppLoade r.reloadPa ge(JspAppL oader.java )
at oracle.jsp.app.JspAppLoade r.loadPage (JspAppLoa der.java)
at oracle.jsp.app.JspAppLoade r.getPage( JspAppLoad er.java)
at oracle.jsp.app.JspApplicat ion.dispat chRequest( JspApplica tion.java)
at oracle.jsp.JspServlet.doDi spatch(Jsp Servlet.ja va)
at oracle.jsp.JspServlet.inte rnalServic e(JspServl et.java)
at oracle.jsp.JspServlet.serv ice(JspSer vlet.java)
at javax.servlet.http.HttpSer vlet.servi ce(HttpSer vlet.java: 588)
at org.apache.jserv.JServConn ection.pro cessReques t(JServCon nection.ja va:456)
at org.apache.jserv.JServConn ection.run (JServConn ection.jav a:294)
at java.lang.Thread.run(Threa d.java:484 )
)
or invoke a reports using URL+params (i.e. http://host:7778/reports/rwservlet?report=rep.rdf&desformat=html&destype=cache&server=repsvr1&dept_param=10 upon nothing happens).
Any suggestions?
10x DNeeBrkr
I'm new to AS and I'm sorry if I use incorrect terms.
The machine that runs the DB also runs Apache + report server. From an unknown reason I cannot call either JSP's from the address bar (i.e http://host:7778/reports/rep.jsp - upon a java error page appears:
Request URI:/reports/rwdemagree2.j
Exception:
oracle.jsp.parse.JspParseE
Error: java.lang.ClassNotFoundExc
at oracle.jsp.parse.JspDirect
at oracle.jsp.parse.JspDirect
at oracle.jsp.parse.JspParseT
at oracle.jsp.parse.JspParseT
at oracle.jsp.parse.JspParseT
at oracle.jsp.parse.JspParseT
at oracle.jsp.parse.JspParseT
at oracle.jsp.parse.OracleJsp
at oracle.jsp.app.JspAppLoade
at oracle.jsp.app.JspAppLoade
at oracle.jsp.app.JspAppLoade
at oracle.jsp.app.JspApplicat
at oracle.jsp.JspServlet.doDi
at oracle.jsp.JspServlet.inte
at oracle.jsp.JspServlet.serv
at javax.servlet.http.HttpSer
at org.apache.jserv.JServConn
at org.apache.jserv.JServConn
at java.lang.Thread.run(Threa
)
or invoke a reports using URL+params (i.e. http://host:7778/reports/rwservlet?report=rep.rdf&desformat=html&destype=cache&server=repsvr1&dept_param=10 upon nothing happens).
Any suggestions?
10x DNeeBrkr
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
1810 not in use? So you're not running App Server -- what versions of Oracle software are you using?
What does:
http://host:7778/reports/rwservlet
...give you?
What does:
http://host:7778/reports/rwservlet
...give you?
ASKER
I'm using 9i.
the URL returns 'Cannot find Server' page.
the URL returns 'Cannot find Server' page.
So you haven't got reports running on the server -- that URL should give you the Reports Services page...
Do you have an ORACLE_HOME\reports directory in your operating system? Have you run reports as jsps or using the reports URL we've discussed previously?
Do you have an ORACLE_HOME\reports directory in your operating system? Have you run reports as jsps or using the reports URL we've discussed previously?
ASKER
ORACLE_HOME\reports exists on the server and on my workstation.
Tried both ways
Tried both ways
ASKER
I also noticed 2 Apache directories: one under ORACLE_HOME and the other under the iDS.
The one that is in use is the first one which was obviously installed when Oracle was installed.
The one that is in use is the first one which was obviously installed when Oracle was installed.
Sounds to me like you only have Apache running as part of the database install, rather than as part of the App Server install, in this case the reports service will not be available (as it is part of the App Server install).
Are you sure that reports has been properly installed?
We can check:
Go to the command line (on Windows Run cmd).
Change directory to your infrastructure home (i.e. D:\xxxx\DCM\BIN -- amend xxxx as appropriate for your INFRASTRUCTURE home).
Type - 'dcmctl shell'
Depending on what happens:
If you get a command prompt 'dcmctl>' then type 'getstate -v' and let me know what response you get.
If you get an error message then please post it.
(You can search for 'dcmctl.*' to find your Oracle home directories)
Are you sure that reports has been properly installed?
We can check:
Go to the command line (on Windows Run cmd).
Change directory to your infrastructure home (i.e. D:\xxxx\DCM\BIN -- amend xxxx as appropriate for your INFRASTRUCTURE home).
Type - 'dcmctl shell'
Depending on what happens:
If you get a command prompt 'dcmctl>' then type 'getstate -v' and let me know what response you get.
If you get an error message then please post it.
(You can search for 'dcmctl.*' to find your Oracle home directories)
ASKER
No such thing 'dcmctl.*' on my platform
ASKER
Found some missong classes in the jar file.
Now I get this error: (Althought RWReport exists)
Request URI:/reports/rwdemagree2.j sp
Exception:
java.lang.NoClassDefFoundE rror: oracle.reports.definition. RWReport
at oracle.reports.jsp.ReportT agExtraInf o.class$(R eportTagEx traInfo.ja va:13)
at oracle.reports.jsp.ReportT agExtraInf o.getVaria bleInfo(Re portTagExt raInfo.jav a:15)
at javax.servlet.jsp.tagext.T agInfo.get VariableIn fo(TagInfo .java:149)
at oracle.jsp.parse.JspRTTag. getDefined Objects(Js pRTTag.jav a)
at oracle.jsp.parse.OpenJspTa gHandler.v alidateTag Attributes (OpenJspTa gHandler.j ava)
at oracle.jsp.parse.JspParseT ag.parse(J spParseTag .java)
at oracle.jsp.parse.OpenJspTa gHandler.p arse(OpenJ spTagHandl er.java)
at oracle.jsp.parse.JspParseT ag.parseNe xtTag(JspP arseTag.ja va)
at oracle.jsp.parse.JspParseT agFile.par se(JspPars eTagFile.j ava)
at oracle.jsp.parse.OracleJsp 2Java.tran sform(Orac leJsp2Java .java)
at oracle.jsp.app.JspAppLoade r.reloadPa ge(JspAppL oader.java )
at oracle.jsp.app.JspAppLoade r.loadPage (JspAppLoa der.java)
at oracle.jsp.app.JspAppLoade r.getPage( JspAppLoad er.java)
at oracle.jsp.app.JspApplicat ion.dispat chRequest( JspApplica tion.java)
at oracle.jsp.JspServlet.doDi spatch(Jsp Servlet.ja va)
at oracle.jsp.JspServlet.inte rnalServic e(JspServl et.java)
at oracle.jsp.JspServlet.serv ice(JspSer vlet.java)
at javax.servlet.http.HttpSer vlet.servi ce(HttpSer vlet.java: 588)
at org.apache.jserv.JServConn ection.pro cessReques t(JServCon nection.ja va:456)
at org.apache.jserv.JServConn ection.run (JServConn ection.jav a:294)
at java.lang.Thread.run(Threa d.java:484 )
Now I get this error: (Althought RWReport exists)
Request URI:/reports/rwdemagree2.j
Exception:
java.lang.NoClassDefFoundE
at oracle.reports.jsp.ReportT
at oracle.reports.jsp.ReportT
at javax.servlet.jsp.tagext.T
at oracle.jsp.parse.JspRTTag.
at oracle.jsp.parse.OpenJspTa
at oracle.jsp.parse.JspParseT
at oracle.jsp.parse.OpenJspTa
at oracle.jsp.parse.JspParseT
at oracle.jsp.parse.JspParseT
at oracle.jsp.parse.OracleJsp
at oracle.jsp.app.JspAppLoade
at oracle.jsp.app.JspAppLoade
at oracle.jsp.app.JspAppLoade
at oracle.jsp.app.JspApplicat
at oracle.jsp.JspServlet.doDi
at oracle.jsp.JspServlet.inte
at oracle.jsp.JspServlet.serv
at javax.servlet.http.HttpSer
at org.apache.jserv.JServConn
at org.apache.jserv.JServConn
at java.lang.Thread.run(Threa
I've been away for a few days, are you still stuck with this?
bg
bg
ASKER
Yep,
still stuck
still stuck
Exactly which version of 9i are you running? -- this looks like either a 'partial' 9 / 9r2 install or a 10g (9.0.4) Forms and Reports Services only install to me.
Could you also run through this document...
http://www.oracle.com/technology/products/reports/htdocs/getstart/whitepapers/troubleshooting_Server_902.pdf
...and report back?
Could you also run through this document...
http://www.oracle.com/technology/products/reports/htdocs/getstart/whitepapers/troubleshooting_Server_902.pdf
...and report back?
ASKER
Port 80 belongs to the IIS which is not in use
Port 1810 is not in use
Port 7778 is running well. Demo JSP's and simple HTML work perfect.
The report files are located in a designated directory in the server's root directory (double checked spelling)