Xml error in jsp
my jsp page starts like this
<%@ page import="javax.xml.parsers.*,
org.w3c.dom.*,
javax.xml.transform.*,
javax.xml.transform.stream.*,
java.io.*"%>
However, i get the following error :
package javax.xml.transform does not exist
What am i missing ???
any help is appreciated.
thanks
venki
my jsp page starts like this
<%@ page import="javax.xml.parsers.*,
org.w3c.dom.*,
javax.xml.transform.*,
javax.xml.transform.stream.*,
java.io.*"%>
However, i get the following error :
package javax.xml.transform does not exist
What am i missing ???
any help is appreciated.
thanks
venki
Similar Messages
-
Hello,
I'm using Jdeveloper 10.1.3.0.3.3412 on a Mac with a MySQL database. In Jdeveloper i can make a connection to the database and create adf business components
I've made a JSP page with ADF on a single table. No errors when compiling. When I try to run the JSP Page using Embedded OC4J (on Mac OSX Tiger) I get the error:
5/12/09 00:45:50 java.net.ConnectException: Connection refused
05/12/09 00:45:50 at java.net.PlainSocketImpl.socketConnect(Native Method)
05/12/09 00:45:50 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
05/12/09 00:45:50 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
05/12/09 00:45:50 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
05/12/09 00:45:50 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
05/12/09 00:45:50 at java.net.Socket.connect(Socket.java:507)
05/12/09 00:45:50 at java.net.Socket.connect(Socket.java:457)
05/12/09 00:45:50 at java.net.Socket.<init>(Socket.java:365)
05/12/09 00:45:50 at java.net.Socket.<init>(Socket.java:207)
05/12/09 00:45:50 at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
05/12/09 00:45:50 at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
05/12/09 00:45:50 at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1041)
05/12/09 00:45:50 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:927)
05/12/09 00:45:50 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:98)
05/12/09 00:45:50 at java.lang.Thread.run(Thread.java:613)
What am I doing wrong? The embedded OC4J library is added to the project. I've tried to use the javac compiler. It looks like the OC4J instance cannot make a connection to the db.
Thanks,
MartinHello
I've added the connection to the web.xml, but still get the same error.
When I go to embedded OC4J preferences and change the JNDI-names of the datasources (global and current-workspace) to the same name (this was default), i get this error message:
9-dec-2005 9:30:09 com.evermind.server.ApplicationStateRunning initNativeDataSource
SEVERE: Error creating native data source. The location 'jdbc/MySQLConnectionCoreDS' is already in use.
05/12/09 09:30:09 Application: current-workspace-app is in state FAILED
05/12/09 09:30:09 Error instantiating application 'current-workspace-app' at file:/Users/martinsuijs/jdevhome/mywork/myWorldApp/myWorldApp-oc4j-app.xml: Error creating native data source. The location 'jdbc/MySQLConnectionCoreDS' is already in use.
05/12/09 09:30:14 java.net.ConnectException: Connection refused
grtz
Martin -
Error 404, JSP file not found
Hello all
I am using tomcat on solaris. I have copied my war file under the webapps folder. When I start the tomcat services, it shows the messages for adding the context path for that war file, it also creates a folder for it under webapps but fails to show me any of the jsp pages. I can view all the html and gif files, but none of the jsps (gives the error - 404). If I rename my war file, and then start tomcat services, it works well. I don't want to rename my war file. Pls help!!
For further details - I have checked my server.xml file, and it is correct. There was an old version of the same folder under webapps, which I got rid off, but seems that somewhere it is still caching it.
In my server.xml file, if I do
<Context path="/first"
docBase="webapps/first"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
IT FAILS !! but if I just change the <Context path="/first1" , it works and does not give any error for jsp page. There isn't any contect path named "first" in my server.xml file.
Thanks in advance.
Regards
AnushaActually, I don't know how to create a subdirectory under webapps directory. When I tried to add a subdirectory calle myapp (.../webapps/myapp), I got "The requested URL /application/ was not found on this server" error message. Do I need to modify server.xml or web.xml in conf directory?
Thanks in advance!
tacomaZ -
Display error page using web.xml error-page
I need to dispaly error page when IOException in thrown. How to do that with web.xml error-page tag?
start.jsf
public String doButton1Action() throws IOException{
String value = getText1().getValue().toString();
try {
File f = new File(value);
InputStream in = new FileInputStream(f);
} catch (IOException e) {
throw new IOException();
return "success";
}I have this in web.xml:
<error-page>
<exception-type>java.io.IOException</exception-type>
<location>/ioerror.jsp</location>
</error-page>I tried that earlier but then I get error just printed to console and HTTP 500 - Internal server error -page, bubt not my errorPage.
[26.1.2007 21:19:16:543 EET] 00000038 jsf E com.sun.faces.lifecycle.InvokeApplicationPhase execute #{pc_Start.doButton1Action}: javax.faces.el.EvaluationException: java.io.FileNotFoundException: c:\temp\ghostfile.jpg
javax.faces.FacesException: #{pc_Start.doButton1Action}: javax.faces.el.EvaluationException: java.io.FileNotFoundException: c:\temp\ghostfile.jpg
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:79)
at javax.faces.component.UICommand.broadcast(UICommand.java:312)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:298)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:412)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
Caused by: javax.faces.el.EvaluationException: java.io.FileNotFoundException: c:\temp\ghostfile.jpg
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:131)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:73)
... 25 more -
HTML Rendering works on UIX-JSP but not UIX-XML or BC4J-JSP
I built a "custom" renderer following the HOW TO document for HTML rendering. I made a "Drop Down" list that works in a test UIX-JSP application. When I try to attach the DynamicListInputField class to a project created under UIX-XML or BC4-JSP the rendereing does not take affect. No errors, the application runs fine, just no rendereing.
I made all three projects from the same VO's and the same DynamicListInputField.java. The three projects were Wizard Based and created with:
"Business Componets UIX XML Application" from the UIX XML Category
"Business Componets JSP Application" from the UIX JSP Category
"Business Componets JSP Application" from the BC4J JSP Category
What is wrong?
TIA,
Ed.What error you are getting...please provide error details.
It is working fine for me.
Rgds
Bala Murali -
Error loading /jsp/core/server/ServerMonitoringPerformanceForm.jsp
Hi all,
i am using WL9.2 MP2 on RHEL, both 64 bit
I have configured 1 admin server and a few managed servers.When i tried to see the performance of each server ( Home > Summary of Servers > server1 > Monitoring tab > Performance tab) i got the above error. The error exists regardless whether application is deployed.
Is this an internal weblogic error?
the error shown on the terminal console when i click on the link is below
<BEA-423405> <An exception [javax.xml.transform.TransformerE xception: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The entity name must immediately follow the '&' in the entity reference.] was thrown while rendering the content at [jsp/core/server/Serve rMonitoringPerformanceForm.jsp].
javax.servlet.ServletException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal. utils.WrappedRuntimeException: The entity name must immediately follow the '&' in the entity reference.
at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:409)
at jsp_servlet._jsp._core._server.__servermonitoringperformanceform._jspService(__servermonitoring performanceform.java:144)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:2 27)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
Truncated. see log file for complete stacktrace
>
<Aug 8, 2007 9:23:39 AM SGT> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI / jsp/core/server/ServerMonitoringPerformanceForm.jsp.>
Error on webpage
Error opening /jsp/core/server/ServerMonitoringPerformanceForm.jsp.
The source of this error is javax.servlet.ServletException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The entity name must immediately follow the '&' in the entity reference. at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:409) at jsp_servlet._jsp._core._server.__servermonitoringperformanceform._jspService(__servermonitoringperformanceform.java:144) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454) at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:118) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:536) at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:361) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:486) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:530) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:249) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:304) at com.bea.netuix.nf.UIControl.render(UIControl.java:597) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:434) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:147) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:267) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:124) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:81) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:62) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:482) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:530) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:249) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:304) at com.bea.netuix.nf.UIControl.render(UIControl.java:597) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:434) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:147) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:267) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:124) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:81) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:62) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:482) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:530) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:249) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:304) at com.bea.netuix.nf.UIControl.render(UIControl.java:597) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:434) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:147) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._default.__flowlayout._jspService(__flowlayout.java:263) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:124) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:81) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:62) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:482) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:530) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:249) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:304) at com.bea.netuix.nf.UIControl.render(UIControl.java:597) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:434) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:147) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:267) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:124) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:81) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:62) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:482) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:530) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:249) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:186) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:140) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:370) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:229) at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:195) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:180) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:237) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3229) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by
javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The entity name must immediately follow the '&' in the entity reference. at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:654) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:281) at com.bea.console.taglib.html.TemplateTag.doAfterBody(TemplateTag.java:102) at jsp_servlet._jsp._core._server.__servermonitoringperformanceform._jsp__tag15(__servermonitoringperformanceform.java:731) at jsp_servlet._jsp._core._server.__servermonitoringperformanceform._jsp__tag13(__servermonitoringperformanceform.java:661) at jsp_servlet._jsp._core._server.__servermonitoringperformanceform._jsp__tag12(__servermonitoringperformanceform.java:622) at jsp_servlet._jsp._core._server.__servermonitoringperformanceform._jsp__tag11(__servermonitoringperformanceform.java:581) at jsp_servlet._jsp._core._server.__servermonitoringperformanceform._jsp__tag1(__servermonitoringperformanceform.java:212) at jsp_servlet._jsp._core._server.__servermonitoringperformanceform._jspService(__servermonitoringperformanceform.java:137) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454) at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:118) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:536) at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:361) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:486) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:530) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:249) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:304) at com.bea.netuix.nf.UIControl.render(UIControl.java:597) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:434) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:147) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:267) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:124) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:81) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:62) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:482) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:530) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:249) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:304) at com.bea.netuix.nf.UIControl.render(UIControl.java:597) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:434) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:147) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:267) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:124) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:81) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:62) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:482) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:530) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:249) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:304) at com.bea.netuix.nf.UIControl.render(UIControl.java:597) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:434) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:147) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._default.__flowlayout._jspService(__flowlayout.java:263) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:124) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:81) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:62) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:482) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:530) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:249) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:330) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:304) at com.bea.netuix.nf.UIControl.render(UIControl.java:597) at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:434) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:147) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62) at jsp_servlet._framework._skeletons._default.__gridlayout._jspService(__gridlayout.java:267) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454) at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:124) at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:81) at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:62) at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:482) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:530) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:541) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:249) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:339) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:186) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:140) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:370) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:229) at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:195) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:180) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:237) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:124) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3229) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908) at weblogic.si used sun's jdk instead of jrockit,problem resolved.
-
[b]Error during JSP page processing[/b]
hi , i'm mech.
i have some probs with jsp. i am trying to connect jsp page with database and printing the data on the browser page. i have created DSN mm using microsoft odbc for oracle and oracle9i's driver oracle in orahome90 but it is giving yet . i have this coding and error.
------------------------jsp code--------------------------
package pagecompile.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.io.PrintWriter;
import java.io.IOException;
import java.io.FileInputStream;
import java.io.ObjectInputStream;
import java.util.Vector;
import com.sun.server.http.pagecompile.jsp.runtime.*;
import java.beans.*;
import com.sun.server.http.pagecompile.jsp.JspException;
import java.sql.*;
public class _Connect extends HttpJspBase {
static char[][] jspxhtml_data = null;
public _Connect( ) {
private static boolean jspxinited = false;
public final void jspxinit() throws JspException {
ObjectInputStream oin = null;
int numStrings = 0;
try {
FileInputStream fin = new FileInputStream("E:\\JavaWebServer2.0\\tmpdir\\default\\pagecompile\\jsp\\pagecompile.jspConnect.dat");
oin = new ObjectInputStream(fin);
jspxhtml_data = (char[][]) oin.readObject();
} catch (Exception ex) {
throw new JspException("Unable to open data file");
} finally {
if (oin != null)
try { oin.close(); } catch (IOException ignore) { }
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException {
boolean jspxcleared_due_to_forward = false;
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
String _value = null;
try {
if (_jspx_inited == false) {
jspxinit();
jspxinited = true;
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
out.print(_jspx_html_data[0]);
out.print(_jspx_html_data[1]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(14,2);to=(28,2)]
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection myconn=DriverManager.getConnection("Jdbc:Odbc:mm","madhulika","madhulika");
Statement stmt = myconn.createStatement();
ResultSet myResultSet = stmt.executeQuery("Select * from peopletable");
if(myResultSet != null)
while(myResultSet.next())
int eid=myResultSet.getInt("id");
String fname=myResultSet.getString("firstname");
String lname=myResultSet.getString("lastname");
String mail=myResultSet.getString("email");
// end
out.print(_jspx_html_data[2]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(30,10);to=(30,13)]
out.print(eid);
// end
out.print(_jspx_html_data[3]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(31,10);to=(31,15)]
out.print(fname);
// end
out.print(_jspx_html_data[4]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(32,10);to=(32,15)]
out.print(lname);
// end
out.print(_jspx_html_data[5]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(33,10);to=(33,14)]
out.print(mail);
// end
out.print(_jspx_html_data[6]);
// begin [file="E:\\JavaWebServer2.0\\public_html\\Connect.jsp";from=(37,5);to=(43,0)]
stmt.close();
myconn.close();
// end
out.print(_jspx_html_data[7]);
} catch (Throwable t) {
if (out.getBufferSize() != 0)
out.clear();
throw new JspException("Unknown exception: ", t);
} finally {
if (!_jspx_cleared_due_to_forward)
out.flush();
_jspxFactory.releasePageContext(pageContext);
-------------------error in browser----------------------
Error during JSP page processing
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
at java.lang.Throwable.(Compiled Code)
at java.lang.Exception.(Compiled Code)
at java.sql.SQLException.(SQLException.java:43)
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Compiled Code)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:3814)
at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:1029)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:145)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:165)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:126)
at pagecompile.jsp._Connect._jspService(Compiled Code)
at com.sun.server.http.pagecompile.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.runServlet(JspServlet.java:469)
at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.processJspPage(JspServlet.java:259)
at com.sun.server.http.pagecompile.jsp.runtime.JspServlet.service(JspServlet.java:97)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at com.sun.server.ServletState.callService(ServletState.java:226)
at com.sun.server.ServletManager.callServletService(ServletManager.java:936)
at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
at com.sun.server.http.stages.Runner.process(Runner.java:79)
at com.sun.server.ProcessingSupport.process(Compiled Code)
at com.sun.server.Service.process(Service.java:204)
at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374)
at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code)
at com.sun.server.HandlerThread.run(CompiledBacking up a moment, is there a particular reason that you're using the JDBC-ODBC bridge rather than using the Oracle JDBC driver?
Have you taken a look at the JSP sample code available on OTN? I would start by making sure you can run that.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
RE: [iPlanet-JATO] Parse error in JSP parser in IAS6
Hi Todd,
removing the defaultValue="" attribute works.
I have not got around to testing the SP3.
BTW. The reason the default value tag was added was to stop Null pointer
exceptions being thrown in the
HrefTag.beginDisplay().
buffer.append("?")
.append(field.getQualifiedName()) // "FooHref"
.append("=")
.append(URLEncoder.encode(value.toString())); // "/foo"
If you don't explicitly add a defaultValue="" to the jsp HREF tag ,
HrefTag.getDefaultValue() returns null.
Our hack was to add the following in HrefTag.java.
if (value==null)
value=getDefaultValue();
//===========================
//IP6 ADDED THE FOLLOWING LINE
value = (value== null? "":value);
//============================
Is that pheasible work-around ? This eliminates the need to add
defaultValue="" to all HREF tags.
Also, I might as well point another behavior that we encountered with HREFS.
In ND, if a HREF's display Field was bound to a column in DataObject and the
particular record had no value, no URL would be rendered on the page.
The HTML would look something like this( from memory ):
<A
HREF="../AppName/PgMsgMain.hrfSubject_onWebEvent(hrfSubject).994226335140? +
ND URL STUFF"></A>
In JATO by default a url get displayed with "null" as the link. ie.
<a href="../AppName/PgMsgMain?PgMsgMain.hrfSubject= + URL STUFF">null</a>
Our hack was modify the HrefTag.doEndTag method to not append "null" to the
buffer.
if (displayed)
buffer.append(getBodyContent().getString().equals("null")? "":
getBodyContent().getString()))
// IP6 HACK buffer.append(getBodyContent().getString())
.append("</a>");
writeOutput(fireEndDisplayEvent(buffer.toString()));
Is there a better way to do this?
thanks
Kostas
-----Original Message-----
From: Todd Fast [mailto:<a href="/group/SunONE-JATO/post?protectID=189233080150012190218067203043176090006144139218183041">toddwork@c...</a>]
Sent: Tuesday, July 03, 2001 12:46 AM
Subject: Re: [iPlanet-JATO] Parse error in JSP parser in IAS6
Hey Kostas--
I personally haven't seen this kind of error. Have you tried simplifying
the expression inside the href tag? For example:
<% Object foo =
viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(
vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID);
%>
<jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true">
<%= foo %>
</jato:href>
Also, is there a different version you could upgrade to? iAS SP3 includes
the Jasper compiler from Tomcat, which should behave quite differently.
Todd
----- Original Message -----
From: "Kostas Morfis" <kmorfis@i...>
Sent: Tuesday, July 03, 2001 12:17 AM
Subject: [iPlanet-JATO] Parse error in JSP parser in IAS6
>
Hi all,
has anyone come across the following error in iPlanet?
[02/Jul/2001 12:21:32:1] error: Exception: SERVLET-compile_failed: Failedin
compiling template: /ras/ras/voyager4/pgAssignmentMatch.jsp, Parse errorin
JSP parser. Missing endtag: /jato:href
Exception Stack Trace:
java.lang.Exception: Parse error in JSP parser. Missing endtag: /jato:href
at com.netscape.jsp.JSP.parseBlock(Unknown Source)
at com.netscape.jsp.JSP.parseUserTag(Unknown Source)
at com.netscape.jsp.JSP.parseTag(Unknown Source)
at com.netscape.jsp.JSP.parseNext(Unknown Source)
etc etc.
We have tested the page in Resin and it works fine.
It seems the JSP parser has a problem with the following type of HREFtags.
>
<jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true"
defaultValue=""><%=
viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(com.cb
>
re.ras.voyager4.model.vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID)
%></jato:href></font></td>
anyone have any suggestions/thoughts/comments ?
Kostas Morfis
Senior Consultant
iRise
www.iRise.com
[Non-text portions of this message have been removed]
[email protected]
[email protected]Hi Todd,
removing the defaultValue="" attribute works.
I have not got around to testing the SP3.
BTW. The reason the default value tag was added was to stop Null pointer
exceptions being thrown in the
HrefTag.beginDisplay().
buffer.append("?")
.append(field.getQualifiedName()) // "FooHref"
.append("=")
.append(URLEncoder.encode(value.toString())); // "/foo"
If you don't explicitly add a defaultValue="" to the jsp HREF tag ,
HrefTag.getDefaultValue() returns null.
Our hack was to add the following in HrefTag.java.
if (value==null)
value=getDefaultValue();
//===========================
//IP6 ADDED THE FOLLOWING LINE
value = (value== null? "":value);
//============================
Is that pheasible work-around ? This eliminates the need to add
defaultValue="" to all HREF tags.
Also, I might as well point another behavior that we encountered with HREFS.
In ND, if a HREF's display Field was bound to a column in DataObject and the
particular record had no value, no URL would be rendered on the page.
The HTML would look something like this( from memory ):
<A
HREF="../AppName/PgMsgMain.hrfSubject_onWebEvent(hrfSubject).994226335140? +
ND URL STUFF"></A>
In JATO by default a url get displayed with "null" as the link. ie.
<a href="../AppName/PgMsgMain?PgMsgMain.hrfSubject= + URL STUFF">null</a>
Our hack was modify the HrefTag.doEndTag method to not append "null" to the
buffer.
if (displayed)
buffer.append(getBodyContent().getString().equals("null")? "":
getBodyContent().getString()))
// IP6 HACK buffer.append(getBodyContent().getString())
.append("</a>");
writeOutput(fireEndDisplayEvent(buffer.toString()));
Is there a better way to do this?
thanks
Kostas
-----Original Message-----
From: Todd Fast [mailto:<a href="/group/SunONE-JATO/post?protectID=189233080150012190218067203043176090006144139218183041">toddwork@c...</a>]
Sent: Tuesday, July 03, 2001 12:46 AM
Subject: Re: [iPlanet-JATO] Parse error in JSP parser in IAS6
Hey Kostas--
I personally haven't seen this kind of error. Have you tried simplifying
the expression inside the href tag? For example:
<% Object foo =
viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(
vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID);
%>
<jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true">
<%= foo %>
</jato:href>
Also, is there a different version you could upgrade to? iAS SP3 includes
the Jasper compiler from Tomcat, which should behave quite differently.
Todd
----- Original Message -----
From: "Kostas Morfis" <kmorfis@i...>
Sent: Tuesday, July 03, 2001 12:17 AM
Subject: [iPlanet-JATO] Parse error in JSP parser in IAS6
>
Hi all,
has anyone come across the following error in iPlanet?
[02/Jul/2001 12:21:32:1] error: Exception: SERVLET-compile_failed: Failedin
compiling template: /ras/ras/voyager4/pgAssignmentMatch.jsp, Parse errorin
JSP parser. Missing endtag: /jato:href
Exception Stack Trace:
java.lang.Exception: Parse error in JSP parser. Missing endtag: /jato:href
at com.netscape.jsp.JSP.parseBlock(Unknown Source)
at com.netscape.jsp.JSP.parseUserTag(Unknown Source)
at com.netscape.jsp.JSP.parseTag(Unknown Source)
at com.netscape.jsp.JSP.parseNext(Unknown Source)
etc etc.
We have tested the page in Resin and it works fine.
It seems the JSP parser has a problem with the following type of HREFtags.
>
<jato:href name="hrefASSIGNMENT_ASSIGNMENT_ID" fireDisplayEvents="true"
defaultValue=""><%=
viewBean.getRptAssignmentMatch().getvwAssignmentMatchModel().getValue(com.cb
>
re.ras.voyager4.model.vwAssignmentMatchModel.FIELD_ASSIGNMENT_ASSIGNMENT_ID)
%></jato:href></font></td>
anyone have any suggestions/thoughts/comments ?
Kostas Morfis
Senior Consultant
iRise
www.iRise.com
[Non-text portions of this message have been removed]
[email protected]
[email protected] -
How to read an attribute of an xml tag in jsp.
hi guys,
This is murali krishna. i have a small problem,
i have one xml file (books.xml)
<?xml version="1.0" encoding="iso-8859-1"?>
<library>
<book id="1">
<name>Head First Java, 2nd Edition</name>
<author>Kathy Sierra and Bert Bates</author>
<publication-date>09-Feb-2005</publication-date>
</book>
<book id="2">
<name>Effective Java</name>
<author>Joshua Bloch</author>
<publication-date>28-May-2008</publication-date>
</book>
<book id="3">
<name>Java How to Program, 7th Edition</name>
<author>Harvey M. Deitel and Paul J. Deitel</author>
<publication-date>6-Jan-2007</publication-date>
</book>
</library>
I tried to read this xml file in jsp as shown below
<%@ page language="java" %>
<%@ page import="org.w3c.dom.*" %>
<%@ page import="javax.xml.parsers.DocumentBuilder" %>
<%@ page import="javax.xml.parsers.DocumentBuilderFactory" %>
<%
DocumentBuilderFactory dbf=DocumentBuilderFactory.newInstance();
DocumentBuilder db =dbf.newDocumentBuilder();
Document doc=db.parse("c:\\books.xml");
NodeList nl = doc.getElementsByTagName("book");
%>
<html>
<head>
<title>How to read XML file in JAVA</title>
</head>
<body>
<%
for(int i=0;i<nl.getLength();i++)
NodeList nameNlc= doc.getElementsByTagName("name");
Element nameElements=(Element)nameNlc.item(i);
String nameTagValue=nameElements.getChildNodes().item(0).getNodeValue();
NodeList authorNlc= doc.getElementsByTagName("author");
Element authorElements=(Element)authorNlc.item(i);
String authorTagValue=authorElements.getChildNodes().item(0).getNodeValue();
NodeList dateNlc= doc.getElementsByTagName("publication-date");
Element dateElements=(Element)dateNlc.item(i);
String dateTagValue=dateElements.getChildNodes().item(0).getNodeValue();
out.println("name :"+nameTagValue+"<br>");
out.println("author :"+authorTagValue+"<br>");
out.println("publication-date :"+dateTagValue+"<br><br>");
%>
</body>
</html>
so, my problem is I was unable to read the attribute of the tag book , that is "id".
can any one tell me how to read this "id" attribute.
Murali Krishna
[email protected]hi,
U r retriving the elements by tag name.So it just chks the tag name ie.<book> & gives u array of elements.But u need retrive d attribute of <book> tag itself.
=Solution =====
Add one more statement ----> var[]= doc.getElementsByName("book");
Now u hav book elements as an array & can retrive id in for loop
for(var; var.length;var++)
doc.element[var].id.value -
We have 3 nodes of OIM servers in our clustered production environment. While accessing OIM server on first node, following error is coming in the browser window -
OracleJSP error: oracle.jsp.parse.JspParseException:
/oracle/iam/ui/main/signin.jspx: Line # 5, &amp;amp;lt;af:document id="d1" initialFocusId="pt1:_pt_it1" theme="light" title="#{uiBundle['IDENTITY_SELF_SERVICE_TITLE']}"&amp;amp;gt;
Error: Encountered deferred syntax #{ in template text. If intended as a literal, escape it or set directive deferredSyntaxAllowedAsLiteral
The OIM UI is accessible on the other 2 nodes. There are no changes made in the environment. I have also attached the OIM diagnostic logs for your analysis.
Please let us know the steps to resolve this issue in production environment.No..
I have followed the way to add JSF libray,
1)Right click the projet->project properties->javadoc->JSP taglibraries
2)Inside the Distributed Library i have selected the JSTL core 1.2 and click on add.
3) Then a new dialogue box of Choose tablibraries came.inside that only struts bean,struts Html etc are seeing.
What i need to select?..Do i am following the right way?
Please help.. -
Getting import error in jsp in creating war project of masthead for portal 7.31
Hi,
I am getting error in customize masthead war project in jsp for import statement.
<%@ page import="com.sapportals.htmlb.*"%>
<%@ page import="com.sapportals.htmlb.hovermenu.*"%>
<%@ page import="com.sap.security.api.UMFactory"%>
<%@ page import="com.sapportals.portal.prt.service.license.ILicenseService"%>
<%@ taglib uri="prt:taglib:tlhtmlb" prefix="hbj"%>
I have asked basis team for jar relative to these but they have not found in system.
We are using portal 7.31 version.
Kindly help me to remove this error from jsp.
Thanks in advance.Hi Hemendra,
At first i have done this and after that even i was facing error that's why i created this thread.
Kindly check my first post for error.
Getting import error in jsp in creating war project of masthead for portal 7.31
This question is Not Answered.(Mark as assumed answered)
Swati Joshi Apr 29, 2015 12:34 PM
Hi,
I am getting error in customize masthead war project in jsp for import statement.
<%@ page import="com.sapportals.htmlb.*"%>
<%@ page import="com.sapportals.htmlb.hovermenu.*"%>
<%@ page import="com.sap.security.api.UMFactory"%>
<%@ page import="com.sapportals.portal.prt.service.license.ILicenseService"%>
<%@ taglib uri="prt:taglib:tlhtmlb" prefix="hbj"%>
I have asked basis team for jar relative to these but they have not found in system.
We are using portal 7.31 version.
Kindly help me to remove this error from jsp.
Thanks in advance. -
I've posted this to the SCCM 2012 forum and only received one response so far that states that this is a known issue that has been discussed before and isn't easy to fix; I was not given any actual solution either. Since this involves SSRS I
thought I would try my luck here as well.
I'm having almost exactly the same problem as is referenced in this article: http://social.msdn.microsoft.com/Forums/uk/sqlreportingservices/thread/587a3319-bc54-4d30-bb3f-bb90a0c6ec50. When
I try to run either of these reports (Computers with specific software registered in Add Remove Programs; Count of instances of specific software registered with Add or Remove Programs) I receive the XML error shown in the attached screenshot. I'm fairly
sure the problem is the same as the other admin was experiencing and I just need to remove the unprintable characters (of the application name) from the dbo.v_Add_Remove_Program column.
The error references 0xFFFF but I could not find what that exactly translates too, other than it appears to be at the end of the spectrum for Unicode characters. I used the following sql query to search for the 0xFFFF entry, but no results were found:
use CM_UV2
Select distinct
CHARINDEX(cast(0xFFFF as varchar(1)),DisplayName0),
DisplayName0
from
dbo.v_Add_Remove_Programs
Where
CHARINDEX(cast(0xFFFF as varchar(1)),DisplayName0) > 0
When I used the original hex value of 0x28 I get plenty of results returned with "(" in them so the query seems sound. One of the articles I was searching mentioned running the query manually using the Management Studio and looking for strange characters
there but I'm not sure how to do that.
Basically I just need help finding the offending character and removing it. I also need to be able to replicate this for other strings as this looks like an error that will reoccur whenever any new software appears that has weird encoding in the title.
Thank you in advance for any help given.
Über RandomHi Uber,
This is a known issue that error occurs when running report "Count of instances of specific software registered with Add or Remove Programs" due to non-printable characters for XML. Based on internal research, the hotfix for this issue will be
included in the System Center 2012 Configuration Manager Service Pack 1.
As a workaround, you can remove the nonprintable character populated into the report parameter by referring to the following KB article:
http://support.microsoft.com/KB/914159
Hope this helps.
Regards,
Mike Yin
Mike Yin
TechNet Community Support -
Pplsft compIntf adapter: "XML Error: 1:1: Content is not allowed in prolog"
Hi All,
I am using the peoplesoft component interface adapter in IDM 5.5 and IDM 6.0.
I configured the adapter, tested it successfully and enterred the details to create and provision a user to peoplesoft.
But whenever I click on the save button in the end of the creation wizard I get this error:
com.waveset.util.WavesetException: An error occurred adding user 'FX600859' to resource 'PeopleSoft Component Interface'. com.waveset.util.XmlParseException: XML Error: 1:1: Content is not allowed in prolog.I know the prolog is something about the first two lines and BOM and all - but this is like a really fresh install of IDM ( I tried and experienced the same error on both v 5.5 and 6.0) and have checked almost all the files which might be related to the user creation process.......... the error does not say which object has the defective prolog if at all..
I have also enabled trace for a lot of classes (incrementally of course since I failed to get any info from the earlier traces..) Here are the classes/ methods that I have set show trace on:
com.waveset.adapter.ResourceAdapterBase#createAccounts
com.waveset.util.XmlParseException
com.waveset.util.XmlUtil
com.waveset.util.XmlParser
com.waveset.adapter.PeopleSoftCompIntfcAdapter
com.waveset.object.GenericObject
com.waveset.adapter.ResourceAdapterBase
All have a level of 4..... (the most verbose)
here is the trace output:
20060302 15:53:58.286 http-8080-Processor3(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
20060302 15:53:58.286 http-8080-Processor3(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
20060302 15:53:58.286 http-8080-Processor3(0x017050f5) ResourceAdapterBase#getFeatures() Info
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Object PUBLIC 'waveset.dtd' 'waveset.dtd'>
<Object>
<Attribute name='account'>
<Object>
<Attribute name='CASE_INSENSITIVE_IDS' value='account.CASE_INSENSITIVE_IDS'/>
<Attribute name='CREATE' value='account.CREATE'/>
<Attribute name='DELETE' value='account.DELETE'/>
<Attribute name='DISABLE' value='account.DISABLE'/>
<Attribute name='ENABLE' value='account.ENABLE'/>
<Attribute name='EXCLUDE' value='account.EXCLUDE'/>
<Attribute name='ITERATOR' value='account.ITERATOR'/>
<Attribute name='LIST' value='account.LIST'/>
<Attribute name='LOGIN' value='account.LOGIN'/>
<Attribute name='PASSWORD' value='account.PASSWORD'/>
<Attribute name='UPDATE' value='account.UPDATE'/>
</Object>
</Attribute>
</Object>
20060302 15:53:58.286 http-8080-Processor3(0x017050f5) ResourceAdapterBase#getFeatures() Exit returned= { account={ DISABLE=account.DISABLE, DELETE=account.DELETE, CASE_INSENSITIVE_IDS=account.CASE_INSENSITIVE_IDS, UPDATE=account.UPDATE, EXCLUDE=account.EXCLUDE, PASSWORD=account.PASSWORD, ENABLE=account.ENABLE, LIST=account.LIST, LOGIN=account.LOGIN, ITERATOR=account.ITERATOR, CREATE=account.CREATE } }
20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getUser() Entry no args
20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Entry arg1=user=User:600859
20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Exit returned= FX600859
20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getUser() Info Getting identity FX600859
20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Entry no args
20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data host== com.waveset.object.ResourceAttribute@1d6fad7
20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data host== chslx07.corp.fedex.com
20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getOptionalStringResAttrVal() Data port== 18100
20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data User== com.waveset.object.ResourceAttribute@ee5d13
20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data User== IBCMGR
20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Password== com.waveset.object.ResourceAttribute@1209d56
20060302 15:53:58.286 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Password== 88AF52E54FD71942:549D63D0:1098ECAEC1A:-7FFD|QS8v8QpqGTI=
20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Info Successful connection with ISession psft.pt8.joa.Session@30380
20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Exit void
20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
20060302 15:53:58.396 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getComponentInterface() Info Fetching compIntfcName 'USER_PROFILE'
20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getComponentInterface() Info Successfully got compIntfcName 'USER_PROFILE
20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
Begin JOA method USER_PROFILE.setProperty {UserID,FX600859}
20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: null
20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.setProperty
20060302 15:53:58.546 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
Begin JOA method USER_PROFILE.invokeMethod {Get, {} }
20060302 15:53:58.656 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: [java.lang.Boolean] = false
20060302 15:53:58.656 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.invokeMethod
20060302 15:53:58.656 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Info Disconnecting from ISession psft.pt8.joa.Session@30380
20060302 15:53:58.656 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getUser() Exit void
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getFeatures() Entry no args
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getFeatures() Info
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Object PUBLIC 'waveset.dtd' 'waveset.dtd'>
<Object>
<Attribute name='account'>
<Object>
<Attribute name='CASE_INSENSITIVE_IDS' value='account.CASE_INSENSITIVE_IDS'/>
<Attribute name='CREATE' value='account.CREATE'/>
<Attribute name='DELETE' value='account.DELETE'/>
<Attribute name='DISABLE' value='account.DISABLE'/>
<Attribute name='ENABLE' value='account.ENABLE'/>
<Attribute name='EXCLUDE' value='account.EXCLUDE'/>
<Attribute name='ITERATOR' value='account.ITERATOR'/>
<Attribute name='LIST' value='account.LIST'/>
<Attribute name='LOGIN' value='account.LOGIN'/>
<Attribute name='PASSWORD' value='account.PASSWORD'/>
<Attribute name='UPDATE' value='account.UPDATE'/>
</Object>
</Attribute>
</Object>
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getFeatures() Exit returned= { account={ DISABLE=account.DISABLE, DELETE=account.DELETE, CASE_INSENSITIVE_IDS=account.CASE_INSENSITIVE_IDS, UPDATE=account.UPDATE, EXCLUDE=account.EXCLUDE, PASSWORD=account.PASSWORD, ENABLE=account.ENABLE, LIST=account.LIST, LOGIN=account.LOGIN, ITERATOR=account.ITERATOR, CREATE=account.CREATE } }
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#createAccounts() Entry arg1=num users: 1
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#startConnectionWrapper() Entry no args
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Entry no args
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data host== com.waveset.object.ResourceAttribute@1d6fad7
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data host== chslx07.corp.fedex.com
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getOptionalStringResAttrVal() Data port== 18100
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data User== com.waveset.object.ResourceAttribute@ee5d13
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data User== IBCMGR
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Password== com.waveset.object.ResourceAttribute@1209d56
20060302 15:53:58.666 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Password== 88AF52E54FD71942:549D63D0:1098ECAEC1A:-7FFD|QS8v8QpqGTI=
20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Info Successful connection with ISession psft.pt8.joa.Session@158473e
20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Exit void
20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#startConnectionWrapper() Exit void
20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#realCreate() Entry no args
20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Entry arg1=user=User:600859
20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Exit returned= FX600859
20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#realCreate() Info Creating identity FX600859
20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
20060302 15:53:58.776 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getComponentInterface() Info Fetching compIntfcName 'USER_PROFILE'
20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#getComponentInterface() Info Successfully got compIntfcName 'USER_PROFILE
20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
Begin JOA method USER_PROFILE.setProperty {UserID,FX600859}
20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: null
20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.setProperty
20060302 15:53:58.997 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
Begin JOA method USER_PROFILE.invokeMethod {Create, {} }
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: [java.lang.Boolean] = true
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.invokeMethod
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#setCIFromWSUSer() Entry arg1=600859
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#setCIFromWSUSer() Info Setting user 'User:600859'
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Entry arg1=user=User:600859
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Exit returned= FX600859
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
Begin JOA method USER_PROFILE.setProperty {EmailAddress,[email protected]}
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: null
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.setProperty
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info
Begin JOA method USER_PROFILE.setProperty {SymbolicID,COEDEV}
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info --Returned: null
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#invoke() Info End JOA method USER_PROFILE.setProperty
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttr() Data Read/Write Component Interface Name== com.waveset.object.ResourceAttribute@f2f973
20060302 15:53:59.618 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getRequiredResAttrVal() Data Read/Write Component Interface Name== USER_PROFILE
20060302 15:53:59.628 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#realCreate() Exit void
20060302 15:53:59.628 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Entry arg1=user=User:600859
20060302 15:53:59.628 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#getIdentity() Exit returned= FX600859
20060302 15:53:59.628 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#createAccounts() Info
==> com.waveset.util.WavesetException:
==> com.waveset.util.XmlParseException: XML Error: 1:1: Content is not allowed in prolog.
20060302 15:53:59.638 Provisioning for Configurator(0x017050f5) PeopleSoftCompIntfcAdapter#connect() Info Disconnecting from ISession psft.pt8.joa.Session@158473e
20060302 15:53:59.638 Provisioning for Configurator(0x017050f5) ResourceAdapterBase#createAccounts() Exit voidNow what I see is that the error is generated as an exception in the class/method: ResourceAdapterBase#createAccounts()
but I have not been able to get any deeper than that....
Can someoe please help me in resolving this issue.. or is there someway I can dig deeper.. to maybe understand which file / object is causing the error??
Thanks and best regards,
AnoopHi Anoop / Ilayarajan,
Could you please post the solution for this error. When I provision a user to PeopleSoft, I am getting similar error: com.waveset.util.WavesetException: An error occurred adding user "userID' to resource 'PeopleSoft Component Interface'. com.waveset.util.XmlParseException: XML Error: 1:1: Content is not allowed in prolog.
Thanks
User_idm -
XML errors message (Product key not found/Invalid) in SNC5.1
Hi,
I am working on SNC project which includes POC scenario.I have completed all the required configuration in R/3 4.6c and SNC5.1 system. The master data (mat, plant,vendor and Info records) are CIFed from R/3 to SNC, BP and MoT created in SNC. All the MD BAdIs are implemented in SNC. I am trying to post a PO from R/3 to SNC, IDOCS are successfully generated, PI has converted the IDOCS into XML messages, but i am getting XML error in SNC system (sxmb_moni) which states-
1) Product key 000000000123456 (category ID) not found
2) Item 00001: Product is missing or invalid
3) Order, item 00001: Product 000000000123456 does not exist
4) BOL processing failed. XML-message inbound processing has been terminated.
I am able to post the PO successfully in SNC Web UI which has alpha numeric product number (eg- 1120-110), but products with numerical value leading zeroes (eg- 000000012345) do not get posted. These product IDs give error in SNC sxmb_moni.
I have set up the output format of product number with 40.
Appreciate your help.
Is there any kind of configuration required for leading zeroes in any of the systems (R/3,PI or SNC)
Appreciate your help.
Regards,
Edited by: Dmohite on Jun 11, 2009 11:09 PMHi Bharath,
Were you able to over come the error for products in the XML message? I have same issue, can you please briefly point me in right direction?
I am facing the error message " Product key 0000000000xxxxxxx (category ID) not found". can you please briefly mention how did you resolve?
In my case, the XML message had product number '000000000070000598' and I tried to implement BAdI to make the product number appear as '70000598' and still it failed.
Thank you in advance
Best regards
Vivek
Thank you in advance.
Best regards
Vivek -
I have an ODSI Physical Service that is based on a Java Function. The Java Function builds a SQL statement and uses JDBC to query for a ResultSet. One of the columns that is queried is a Clob. Sometimes, the data in this column causes an XMLBeans validation exception in ODSI: {err}XQ0027: Validation failed: error: decimal: Invalid decimal value: unexpected char '114'
The issue is not consistently replicable with particular database record, the database records that present this issue at one point in time will be resolved after a restart of ODSI and replaced by another list of records that present the same error.
As can be seen from the stack trace, it looks like the issue is happening after the database query has returned and while the process is assembling the SOAP response.
Error at line:2 col:481 Line:2 '=' expected, got char[99]
at weblogic.xml.babel.scanner.ScannerState.expect(ScannerState.java:241)
at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:60)
at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:510)
at weblogic.xml.babel.baseparser.EndElement.parse(EndElement.java:34)
at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:457)
at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
at weblogic.xml.stax.XMLEventReaderBase.parseSome(XMLEventReaderBase.java:189)
at weblogic.xml.stax.XMLEventReaderBase.nextEvent(XMLEventReaderBase.java:122)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:136)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:124)
at weblogic.xml.query.parsers.BufferedParser.fetchNext(BufferedParser.java:79)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.runtime.navigation.ChildPath.fetchNext(ChildPath.java:308)
at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:133)
at weblogic.xml.query.schema.BestEffortValidatingIterator$OpenedIterator.hasNext(BestEffortValidatingIterator.java:224)
at weblogic.xml.query.schema.ValidatingIterator.fetchNext(ValidatingIterator.java:82)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
at weblogic.xml.query.iterators.LegacyGenericIterator.next(LegacyGenericIterator.java:109)
at weblogic.xml.query.schema.BestEffortValidatingIterator.fetchNext(BestEffortValidatingIterator.java:85)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
at weblogic.xml.query.iterators.LegacyGenericIterator.next(LegacyGenericIterator.java:109)
at weblogic.xml.query.runtime.typing.SeqTypeMatching.fetchNext(SeqTypeMatching.java:137)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at com.bea.dsp.wrappers.jf.JavaFunctionIterator.fetchNext(JavaFunctionIterator.java:273)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:247)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:88)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
at weblogic.xml.query.iterators.LegacyGenericIterator.hasNext(LegacyGenericIterator.java:130)
at weblogic.xml.query.xdbc.util.Serializer.serializeItems(Serializer.java:251)
at com.bea.ld.server.ResultPusher$DSP25CompatibilityPusher.next(ResultPusher.java:236)
at com.bea.ld.server.ResultPusher.pushResults(ResultPusher.java:112)
at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:770)
at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:624)
at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:478)
at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:323)
at com.bea.ld.ServerWrapperBean.invoke(ServerWrapperBean.java:153)
at com.bea.ld.ServerWrapperBean.invokeOperation(ServerWrapperBean.java:80)
at com.bea.ld.ServerWrapper_s9smk0_ELOImpl.invokeOperation(ServerWrapper_s9smk0_ELOImpl.java:63)
at com.bea.dsp.ws.RoutingHandler$PriviledgedRunner.run(RoutingHandler.java:96)
at com.bea.dsp.ws.RoutingHandler.handleResponse(RoutingHandler.java:217)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:287)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:271)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:176)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:285)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<Apr 29, 2011 12:47:01 PM EDT> <Notice> <ODSI> <BEA-000000> <LabOrderDataServices> <Error occurred performing ODSI operation: {ld:LabOrder/logical/LabOrderReport}getLabOrderDetails:1
weblogic.xml.query.exceptions.XQueryDynamicException: ld:LabOrder/logical/LabOrderReport.ds, line 34, column 6: {err}FODC0002 [{bea-err}FODC0002a]: Error parsing input XML: Error at line:2 col:481 Line:2 '=' expected, got char[99]
at weblogic.xml.query.iterators.AbstractIterator.reportUserError(AbstractIterator.java:95)
at weblogic.xml.query.iterators.AbstractIterator.reportUserError(AbstractIterator.java:147)
at weblogic.xml.query.parsers.Parser.reportParseError(Parser.java:157)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:225)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:124)
Truncated. see log file for complete stacktrace
javax.xml.stream.XMLStreamException: Error at line:2 col:481 Line:2 '=' expected, got char[99]
at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:206)
at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
at weblogic.xml.stax.XMLEventReaderBase.parseSome(XMLEventReaderBase.java:189)
at weblogic.xml.stax.XMLEventReaderBase.nextEvent(XMLEventReaderBase.java:122)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:136)
Truncated. see log file for complete stacktrace
Error at line:2 col:481 Line:2 '=' expected, got char[99]
at weblogic.xml.babel.scanner.ScannerState.expect(ScannerState.java:241)
at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:60)
at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
Truncated. see log file for complete stacktrace
>
Can somebody shed some light on this issue?
Thanks
Edited by: user738507 on May 6, 2011 7:21 AMHere is the java function:
* Iterate through the search results and build out the XmlBean response
* @param helper A helper class used to simplify common JDBC commands
* @param doc The XmlBean document to populate
* @param isCollectionsIncluded True if Collection info should be included in results, False otherwise
* @param isFullDetailsIncluded True if Result data should be included in results, False otherwise
* @throws Exception
private static void addOrders(XmlBeansJDBCHelper helper, LabOrderReportDocument doc,
boolean isCollectionsIncluded, boolean isFullDetailsIncluded) throws Exception {
int rows = 0;
ResultSet rs = helper.getResultSet();
LabOrders labOrders = doc.getLabOrderReport().addNewLabOrders();
LabOrder record = null;
HashMap<Long, Collection> parentCollectionMap = null;
// initialize variable used to track when child elements of the XML should be created
long previousRowOrderId = 0;
long previousRowParentOrderCollectionId = 0;
long previousRowOrderCollectionId = 0;
long previousRowResultId = 0;
boolean isRootCollectionNode = false;
LabOrder.Collections lastParentOuterCollectionsAdded = null;
com.idexx.services.lde.laborder.Collection.Collections lastParentInnerCollectionsAdded = null;
com.idexx.services.lde.laborder.Collection lastCollectionAdded = null;
Result lastResultAdded = null;
// Loop through the results and build XmlBean nodes for each row
// Since the SQL is joining Orders to Collections (one-to-many) to Results (one-to-many),
// and returning a flat structure, there will be duplicate Order data on each row when
// multiple collections exist on the Order, and duplicate Collection data when multiple
// Results exist. We can use this fact to determine when to create a new Collection, or
// Result node.
while (helper.getResultSet().next())
rows++;
long currentRowParentOrderCollectionId = 0;
long currentRowOrderCollectionId = 0;
long currentRowResultId = 0;
long currentRowResultRemarkId = 0;
//int rowno = helper.getResultSet().getRow();
// Get the Order ID
logDebug("Getting the OrderId.....");
BigInteger dbOrderId = JDBCHelper.getBigInteger(rs, DataConstants.ORDER_ID);
logDebug("DONE getting the OrderId.");
long currentRowOrderId = dbOrderId.longValue();
// Determine the Order ID, Order Collection ID, and Result ID currently being processed.
// These will be used to determine whether to start a new LabOrder Bean, Collections Bean, or Results Bean
if (isCollectionsIncluded || isFullDetailsIncluded) {
// Get the ParentOrderCollectionID
logDebug("Getting the Parent Collection Order ID.....");
BigInteger dbParentOrderCollectionId = JDBCHelper.getBigInteger(rs, DataConstants.PARENT_ORDER_COLLECTION_ID);
if ( dbParentOrderCollectionId != null )
currentRowParentOrderCollectionId = dbParentOrderCollectionId.longValue();
else
currentRowParentOrderCollectionId = 0;
// Get the OrderCollectionID
logDebug("Getting the Order Collection ID.....");
BigInteger dbOrderCollectionId = JDBCHelper.getBigInteger(rs, DataConstants.ORDER_COLLECTION_ID);
if ( dbOrderCollectionId != null )
currentRowOrderCollectionId = dbOrderCollectionId.longValue();
else
currentRowOrderCollectionId = 0;
if ( isFullDetailsIncluded ) {
// Get the ResultID
logDebug("Getting the Result Id.....");
BigInteger dbResultId = JDBCHelper.getBigInteger(rs, DataConstants.RESULT_ID);
if ( dbResultId != null )
currentRowResultId = dbResultId.longValue();
else
currentRowResultId = 0;
// Get the ResultRemarkID
BigInteger dbResultRemarkId = JDBCHelper.getBigInteger(rs, DataConstants.RESULT_REMARK_ID);
if ( dbResultRemarkId != null )
currentRowResultRemarkId = dbResultRemarkId.longValue();
else
currentRowResultRemarkId = 0;
isRootCollectionNode = (currentRowParentOrderCollectionId == 0);
logDebug("currentRowOrderId: " + currentRowOrderId);
logDebug("previousRowOrderId: " + previousRowOrderId);
logDebug("currentRowResultId: " + currentRowResultId);
logDebug("previousRowResultId: " + previousRowResultId);
logDebug("currentRowResultRemarkId: " + currentRowResultRemarkId);
logDebug("previousRowResultRemarkId: N/A");
logDebug("currentRowParentOrderCollectionId: " + currentRowParentOrderCollectionId);
logDebug("previousRowParentOrderCollectionId: " + previousRowParentOrderCollectionId);
logDebug("currentRowOrderCollectionId: " + currentRowOrderCollectionId);
logDebug("previousRowOrderCollectionId: " + previousRowOrderCollectionId);
if ( currentRowOrderId != previousRowOrderId ) {
parentCollectionMap = new HashMap<Long, Collection>();
lastParentOuterCollectionsAdded = null;
lastParentInnerCollectionsAdded = null;
lastCollectionAdded = null;
lastResultAdded = null;
// This is a new Order, generate a new Lab Order bean
record = addOrder(labOrders, helper, dbOrderId, isFullDetailsIncluded);
logDebug("Order Added!");
// If there is Parent Collection data and it should be included, build a Collections element,
// and populate the first one
if ( !isRootCollectionNode && (isCollectionsIncluded || isFullDetailsIncluded) ) {
lastParentOuterCollectionsAdded = record.addNewCollections();
lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, true);
logDebug("Collection Added! Is it null? " + (lastCollectionAdded == null));
// If there is Collection data and it should be included, build a Collections element,
// and populate the first one
if ( currentRowOrderCollectionId > 0 && (isCollectionsIncluded || isFullDetailsIncluded) ) {
if ( isRootCollectionNode ) {
lastParentOuterCollectionsAdded = record.addNewCollections();
lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
logDebug("parent collection added to map: " + currentRowOrderCollectionId);
else {
lastParentInnerCollectionsAdded = lastCollectionAdded.addNewCollections();
lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
logDebug("Collection Added! Is it null? " + (lastCollectionAdded == null));
// If there is Result data and it should be included, build a Results element,
// and populate the first one
if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
logDebug("Adding result....");
lastResultAdded = addResult(record, helper, lastCollectionAdded);
logDebug("Result Added!");
// If there is Result Remark data and it should be included, build a ResultRemarks element,
// and populate the first one
if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
addResultRemark(record, helper, lastResultAdded);
logDebug("DONE getting first Collection and Result.");
else if ( currentRowParentOrderCollectionId != previousRowParentOrderCollectionId
&& (isCollectionsIncluded || isFullDetailsIncluded) ) {
// This is a new, top level, Order Collection to be included
lastParentOuterCollectionsAdded = null;
lastParentInnerCollectionsAdded = null;
lastCollectionAdded = null;
lastResultAdded = null;
logDebug("Getting next Order Collection...");
// If there is Parent Collection data and it should be included, build a Collections element,
// and populate the first one
if ( !isRootCollectionNode ) {
lastCollectionAdded = (com.idexx.services.lde.laborder.Collection)parentCollectionMap.get(new Long(currentRowParentOrderCollectionId));
logDebug("A Collection Added! Is it null? " + (lastCollectionAdded == null));
// If there is Collection data and it should be included, build a Collections element,
// and populate the first one
if ( currentRowOrderCollectionId > 0 ) {
if ( isRootCollectionNode ) {
//LabOrder.Collections collections = record.addNewCollections();
lastParentOuterCollectionsAdded = record.getCollections();
lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
else {
lastParentInnerCollectionsAdded = lastCollectionAdded.addNewCollections();
lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
logDebug("B Collection Added! Is it null? " + (lastCollectionAdded == null));
// If there is Result data and it should be included, build a Results element,
// and populate the first one
if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
lastResultAdded = addResult(record, helper, lastCollectionAdded);
// If there is Result Remark data and it should be included, build a ResultRemarks element,
// and populate the first one
if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
addResultRemark(record, helper, lastResultAdded);
else if ( currentRowOrderCollectionId != previousRowOrderCollectionId
&& (isCollectionsIncluded || isFullDetailsIncluded) ) {
// This is a new Order Collection to be included inside of a parent collection
logDebug("Getting next CHILD Order Collection...");
logDebug("isRootCollectionNode: " + isRootCollectionNode);
logDebug("Order ID: " + helper.getBigInteger(DataConstants.ORDER_ID));
logDebug("Order Collection ID: " + helper.getBigInteger(DataConstants.ORDER_COLLECTION_ID));
logDebug("Collection ID: " + helper.getBigInteger(DataConstants.COLLECTION_ID));
if ( isRootCollectionNode ) {
lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
else {
com.idexx.services.lde.laborder.Collection parentCollection = (com.idexx.services.lde.laborder.Collection)parentCollectionMap.get(new Long(currentRowParentOrderCollectionId));
if(parentCollection == null) {
log(LOG_LEVEL.WARN, "Parent Collection with id: " + currentRowParentOrderCollectionId + " is null for collection id: " + currentRowOrderCollectionId + " but isRootCollectionNode is " + isRootCollectionNode);
} else {
lastParentInnerCollectionsAdded = parentCollection.getCollections();
logDebug("Is lastParentInnerCollectionsAdded null? " + (lastParentInnerCollectionsAdded == null));
lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
// If there is Result data and it should be included, build a Results element,
// and populate the first one
if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
lastResultAdded = addResult(record, helper, lastCollectionAdded);
// If there is Result Remark data and it should be included, build a ResultRemarks element,
// and populate the first one
if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
addResultRemark(record, helper, lastResultAdded);
else if ( currentRowResultId != previousRowResultId
&& isFullDetailsIncluded ) {
// There is a new Result to be included
logDebug("Getting next Result...");
// This is a new result to be included
lastResultAdded = addResult(record, helper, lastCollectionAdded);
// If there is Result Remark data and it should be included, build a ResultRemarks element,
// and populate the first one
if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
addResultRemark(record, helper, lastResultAdded);
else if ( isFullDetailsIncluded ) {
// There is a new Result Remark to include
logDebug("Getting next Result Remark...");
// This is a new result remark to be included
addResultRemark(record, helper, lastResultAdded);
logDebug("Done building response.");
previousRowResultId = currentRowResultId;
previousRowParentOrderCollectionId = currentRowParentOrderCollectionId;
previousRowOrderCollectionId = currentRowOrderCollectionId;
previousRowOrderId = currentRowOrderId;
logDebug("Found " + rows + " rows of data.");
}
Maybe you are looking for
-
Update button in module pool program
Hi Experts, i have problem with my report, i developed my own DDIC table, screen to insert data in to table, so my prb is, i have screen on which there r 3 buttons called(INSERT,UPDATE,EXIT) so insert n exit is ok but when i press UPDATE its not wor
-
I just bought a new lap-top, installed iTunes and transfered all my music, but iTunes is freezing
-
Hardware/software requirements to support cable broadband
I have a grape iMac G3 (333mhz)running OS 8.6 and am curious to know if this system, in it's current configuration is capable of supporting broadband via cable? Cox Communications is my cable provider and their stated minimum requirments lead me to b
-
I'm having problem with my itune and App Store on my iPad, I can't update or purchase and app unless I enter my credit information. But when I did I keep me telling me to contact iTunes support. So I tried other credit card is happen the same thing,
-
Why my iphone 4 doesn't support greek sim card and how can i unlock it
why my iphone 4 doesn't support greek sim card and how can i unlock it