Plz help: org.kxml.parser.XmlParser$DefaultParserException
Hello Friends,
If I have received the following xml from the client via UDP:
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<SOAP-ENV:Header>
<wsa:To>datagram://127.0.0.1:9090/soaprpc</wsa:To>
<wsa:Action>urn:Services#echoString</wsa:Action>
<wsa:MessageId>uuid:95946541-2ce-d590dbc-22e14a74</wsa:MessageId>
<wsa:ReplyTo>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
</wsa:ReplyTo>
</SOAP-ENV:Header>
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<echoString xmlns="urn:Services" id="o0" SOAP-ENC:root="1">
<String xmlns="" xsi:type="xsd:string">a</String>
</echoString>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Does any one of you have any idea (or can see what i cannot may be :S) what could be the cause of the following exception when I use the method extractRoot(..) pasted below, to parse it? I am using kXML in J2ME environment.
org.kxml.parser.XmlParser$DefaultParserException: Attribute name ressmust be followed by '='! @8:1764
at org.kxml.parser.XmlParser.parseStartTag(+169)
at org.kxml.parser.XmlParser.parseSpecial(+145)
at org.kxml.parser.XmlParser.peek(+106)
at org.kxml.kdom.Node.parse(+6)
at org.kxml.kdom.Element.parse(+45)
at org.kxml.kdom.Node.parse(+80)
at org.kxml.kdom.Element.parse(+45)
at org.kxml.kdom.Node.parse(+80)
at org.kxml.kdom.Element.parse(+45)
at org.kxml.kdom.Node.parse(+80)
at org.kxml.kdom.Document.parse(+5)
at cnsoap.server.UDPServerThread.extractRoot(+45)
at cnsoap.server.UDPServerThread.await(+794)
at cnsoap.server.UDPServerThread.run(+9)
private void extractRoot(Datagram incomingPacket) throws IOException {
// incomingPacket.getData() returns the xml I have pasted above
InputStreamReader reader = new InputStreamReader (new ByteArrayInputStream(incomingPacket.getData()));
XmlParser xp = new XmlParser(reader);
Document doc = new Document();
doc.parse(xp);
root = doc.getRootElement(); // root is an instance member of the class
Suggestions please :(
Fahad Aijaz
change your classpath
Similar Messages
-
How to use the kxml parser?
I am getting problem in using the kxml parser.Actually my application is showing the java.lang.NoClassDefFoundError: org/kxml/parser/XmlParser error.
Can you tell me how to use the kxml parser with our j2me application or what are the steps for this?
Whether we have to use the kxml.zip or some other JAR file for this?
Again whether we have to set any classpath for this?I was getting same error using kxml parser. The reason is losing interface in which constants are declared.
You need to correct code of kxml a bit.
In every place where constant from XmlPullParser interface is referenced only by its name (without reference to its class XmlPullParser) you need to change for use full name. it means changes like:
START_DOCUMENT to XmlPullParser.START_DOCUMENT
Everywhere.
That's all! -
Plz help me from the error - "org.apache.jasper.jasperException"
I am getting error with this code ,plz help me out ,i wanna correct this urgently
I've set the Environment variables JAVA_HOME and
CATALINA_HOME and here is my coding and error report
hello.html
<head><title>Database</title></head>
<body>
<form method="get" action="add.jsp">
<pre>
<center>Enter ur Name :<input type="text" name="nam" >
<br><input type="submit" value=" Add ">
</center></pre>
</form>
</body>
</html>
add.jsp
<%@ page language="java" %>
<%@ page import="java.sql.*" %>
<html>
<head><title>JSP</title></head>
<%! String name;
Connection con=null;
Statement st=null;
%>
<body>
<% name=request.getParameter("nam");
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
//I have created a User DSN sjp
con = DriverManager.getConnection("jdbc:odbc:sjp");
st = con.createStatement();
st.executeUpdate("insert into detail values('"+name+"')");
catch(Exception e)
con.close();
st.close();
%>
<h1> Name Added</h1>
</body>
</html>
Error
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:207)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
root cause
java.lang.NullPointerException at org.apache.jsp.add_jsp._jspService(add_jsp.java:66)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Apache Tomcat/4.1.31hi,
when i use the code
if(st != null)st.close();
if(con != null ) con.close();
that works good ,the old error has been corrected.
but it's now throwing an SQLException[b] "datasource name not found and default driver not specified" why this occurs and also can u give me the explanation for the old error????
I am sure that i have created an user DSN, i am 100% sure about it .even though there is an error.
Deepak.
Deepak.C -
Error while deployiong bpel process plz help
i am geting an error while deployiong bpel process plz help
BUILD FAILED
E:\jdevstudio10132\jdev\mywork\Application4\vinayread\build.xml:79: A problem occured while connecting to server "chdsez116553d" using port "8888": bpel_vinayread_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
Error while loading process.
The process domain encountered the following errors while loading the process "vinayread" (revision "1.0"): BPEL validation failed.
BPEL source validation failed, the errors are:
[Error ORABPEL-10902]: compilation failed
[Description]: in "bpel.xml", XML parsing failed because "undefined part element.
In WSDL at "file:/D:/product/10.1.3.1/OracleAS_8/bpel/domains/default/tmp/.bpel_vinayread_1.0_679323b0585449e9fd1887e6ee2bf444.tmp/vinayred.wsdl", message part element "{http://TargetNamespace.com/vinayred}Root-Element" is not defined in any of the schemas.
Please make sure the spelling of the element QName is correct and the WSDL import is complete.
[Potential fix]: n/a.
If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:862)
at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:728)
at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Total time: 1 second
plz give sme solutions<?xml version="1.0" encoding="UTF-8"?>
<definitions name="vinayread"
targetNamespace="http://xmlns.oracle.com/vinayread"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:client="http://xmlns.oracle.com/vinayread"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TYPE DEFINITION - List of services participating in this BPEL process
The default output of the BPEL designer uses strings as input and
output to the BPEL Process. But you can define or import any XML
Schema type and use them as part of the message types.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/vinayread" schemaLocation="vinayread.xsd" />
</schema>
</types>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MESSAGE TYPE DEFINITION - Definition of the message types used as
part of the port type defintions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<message name="vinayreadRequestMessage">
<part name="payload" element="client:vinayreadProcessRequest"/>
</message>
<message name="vinayreadResponseMessage">
<part name="payload" element="client:vinayreadProcessResponse"/>
</message>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PORT TYPE DEFINITION - A port type groups a set of operations into
a logical service unit.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- portType implemented by the vinayread BPEL process -->
<portType name="vinayread">
<operation name="process">
<input message="client:vinayreadRequestMessage" />
<output message="client:vinayreadResponseMessage"/>
</operation>
</portType>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PARTNER LINK TYPE DEFINITION
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<plnk:partnerLinkType name="vinayread">
<plnk:role name="vinayreadProvider">
<plnk:portType name="client:vinayread"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
how to check the
which xsd contains
"{http://TargetNamespace.com/vinayred}Root-Element"????
how to check this plz tell me -
Hi everyone,
I am writing code to parse a xml document using the kXML parser. My xml document consists of attributes within the tag. My code compiles but when i run i get org.kxml.io.ParseException.
Something which i found was that, this exception occurs only when there is some attribute within the tag.
Why is this happening. anyone can help me?
I would be grateful
ThanksI am using kxml as well to parse a xml file and it's attributes. It works great for me. The ParseException is probably only thrown when you got an illegal xml file (no correct format) I guess.
But post some code and check your xml file. -
Plz help with deploying applet that uses SSL
Hi, maybe this is not the adecuate forum but ive already tried in others and i got no answer.
Im trying to use a certificate with my applet ( tha sends a lot of info to the server and also connects to another hibernate db) but im getting this error:
Server side:
username is: Panda
Registered the SSLServerSocket on port 6969
Listening ....
---- Got a connection from a client
this is an unknown client
!!!!!!Error in reading or writing from/to the client:
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at PaqueteServidor.Server$handleRequest.run(Server.java:130)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(Unknown Source)
at PaqueteServidor.Server.printClientCerts(Server.java:47)
at PaqueteServidor.Server.run(Server.java:100)
javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at PaqueteServidor.Server$handleRequest.run(Server.java:130)
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(Unknown Source)
at PaqueteServidor.Server.printClientCerts(Server.java:47)
at PaqueteServidor.Server.run(Server.java:100)
Client side:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at Interfaz.InterfazMovil.init(InterfazMovil.java:89)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown Source)
... 14 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 19 more
19:40:34,444 INFO Environment:464 - Hibernate 3.0.5
19:40:34,444 INFO Environment:477 - hibernate.properties not found
19:40:34,444 INFO Environment:510 - using CGLIB reflection optimizer
19:40:34,454 INFO Environment:540 - using JDK 1.4 java.sql.Timestamp handling
19:40:34,645 INFO Configuration:1110 - configuring from resource: /bd/hibernate/hibernate.cfg.xml
19:40:34,645 INFO Configuration:1081 - Configuration resource: /bd/hibernate/hibernate.cfg.xml
19:40:35,045 ERROR XMLHelper:59 - Error parsing XML: /bd/hibernate/hibernate.cfg.xml(21) The content of elements must consist of well-formed character data or markup.
19:40:35,045 ERROR Configuration:1172 - problem parsing configuration/bd/hibernate/hibernate.cfg.xml
org.dom4j.DocumentException: Error on line 21 of document : The content of elements must consist of well-formed character data or markup. Nested exception: The content of elements must consist of well-formed character data or markup.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1168)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1112)
at bd.hibernate.HibernateUtil.currentSession(HibernateUtil.java:51)
at bd.controlador.CLetrero.ListarLetreros(CLetrero.java:45)
at Interfaz.InterfazMovil.init(InterfazMovil.java:126)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Nested exception:
org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1168)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1112)
at bd.hibernate.HibernateUtil.currentSession(HibernateUtil.java:51)
at bd.controlador.CLetrero.ListarLetreros(CLetrero.java:45)
at Interfaz.InterfazMovil.init(InterfazMovil.java:126)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
%%%% Error Creating SessionFactory %%%%
org.hibernate.HibernateException: problem parsing configuration/bd/hibernate/hibernate.cfg.xml
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1173)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1112)
at bd.hibernate.HibernateUtil.currentSession(HibernateUtil.java:51)
at bd.controlador.CLetrero.ListarLetreros(CLetrero.java:45)
at Interfaz.InterfazMovil.init(InterfazMovil.java:126)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.dom4j.DocumentException: Error on line 21 of document : The content of elements must consist of well-formed character data or markup. Nested exception: The content of elements must consist of well-formed character data or markup.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1168)
... 6 more
java.lang.NullPointerException
at bd.hibernate.HibernateUtil.currentSession(HibernateUtil.java:59)
at bd.controlador.CLetrero.ListarLetreros(CLetrero.java:45)
at Interfaz.InterfazMovil.init(InterfazMovil.java:126)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Plz help and thx in advance.I know I didn't get round to replying but no need to post it so many times.
http://forum.java.sun.com/thread.jspa?threadID=666870
http://forum.java.sun.com/profile.jspa?userID=543817
http://forum.java.sun.com/thread.jspa?threadID=669965
http://forum.java.sun.com/profile.jspa?userID=543817
http://forum.java.sun.com/thread.jspa?threadID=669975
http://forum.java.sun.com/thread.jspa?threadID=669973
Could it be that the server and client need to open different keystores?
http://forums.java.sun.com/thread.jspa?threadID=573918&messageID=3272683
reply 7
My example given before should work on different machines, try to export the server key and import it into the
client keystore. Export the client key and import in the server keystore if you want the server to authenticate
the client.
http://forum.java.sun.com/thread.jspa?threadID=666870
reply 4
Check the method getSSLSocketFactory in the applet, that will open a keystore for you. -
Error while running jdev on redhat el3 version plz help me
hi pal i m having problem while running jdeveloper 10g in redhat linux el3 patform plz help mee
but i have no problem running jdeveloper 9
error is as follows
root@oracle bin# ./jdev
Oracle JDeveloper 10g 10.1.3
Copyright 1997, 2005 Oracle. All Rights Reserved
java.lang.NoClassDefFoundError: oracle/jdeveloper/vcs/changelist/MultiChangeList
Status
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at oracle.jdevimpl.vcs.generic.esax.VCSHookHandler.class$(VCSHookHandler
.java)
at oracle.jdevimpl.vcs.generic.esax.VCSHookHandler.<clinit>(VCSHookHandl
er.java:91)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at javax.ide.extension.spi.HookHandlerHook$HookHandlerVisitor.start(Unkn
own Source)
at javax.ide.extension.spi.SAXManifestParser$Handler.startElement(Unknow
n Source)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
rser.java:1280)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidati ngParser.java:328)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingP arser.java:295)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
at javax.ide.extension.spi.SAXManifestParser.parse(Unknown Source)
at javax.ide.extension.ExtensionRegistry.loadExtension(Unknown Source)
at oracle.ideimpl.extension.ExtensionManagerImpl.loadExtension(Extension ManagerImpl.java:331)
at javax.ide.extension.ExtensionRegistry.loadExtensions(Unknown Source)
at javax.ide.extension.ExtensionRegistry.loadExtensions(Unknown Source)
at javax.ide.extension.ExtensionRegistry.initialize(Unknown Source)
at oracle.ideimpl.extension.ExtensionManagerImpl.initialize(ExtensionMan agerImpl.java:763)
at javax.ide.Service.getService(Unknown Source)
at javax.ide.extension.ExtensionRegistry.getExtensionRegistry(Unknown So urce)
at oracle.ide.ExtensionRegistry.getOracleRegistry(ExtensionRegistry.java :81)
at oracle.ide.IdeCore.startupImpl(IdeCore.java:1049)
at oracle.ide.Ide.startup(Ide.java:672)
at oracle.ideimpl.Main.start(Main.java:49)
at oracle.ideimpl.Main.main(Main.java:25)
root@oracle bin#
Sabin shrestha
[email protected]
Kathmandu Nepalbut i have no problem while running in windows...
my jdk version is jdk1.5.0_06
everything is fine just facing the above problem -
When i try to log in to the log in link at the site https://efp.bpcl.in the log in page does not open but the firefox wants to ask with which program the firefox should open the file and when we give firefox or internet explorer than it opens the source code.Plz help...
Those files are send as application/octet-stream and that makes Firefox display a download dialog.
http://developer.mozilla.org/en/docs/Properly_Configuring_Server_MIME_Types -
I have problems updating and starting my iTune... I can not perforn regular Apple Software Update... When I click on the iTune icon, a small window message said ' this action is only valid for products that are currently installed' ... And I have been using iTune for some years... Plz help so I can upload all songs to my new toy, my nano watch... for my birthday gift..
thx,
James Chien
[email protected]Do you have the FastStart extension?
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
*Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
*Do NOT click the Reset button on the Safe Mode start window
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Error in opening EM..plz Help..
Error in opening EM..plz Help..
Hi..
I want to start the Enterprise Manager
i started step by step..
but when i had started em in the console
/oracle/infs/bin/
./emctl start
it gaves me these error..
"$ emctl start
Waiting for EM to initialize ..log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /oracle/infs/sysman/log/emd.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:100)
at java.io.FileWriter.<init>(FileWriter.java:52)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:284)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:198)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:239)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:616)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:574)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:481)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:405)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:304)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:312)
at oracle.sysman.emd.emdcli.EmCtl.initLoggingSystem(EmCtl.java:1376)
at oracle.sysman.emd.emdcli.EmCtl.checkEMDStatus(EmCtl.java:413)
at oracle.sysman.emd.emdcli.EmCtl.main(EmCtl.java:206)
.log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /oracle/infs/sysman/log/emd.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:100)
at java.io.FileWriter.<init>(FileWriter.java:52)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:284)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:198)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:239)
When i tried to start in the browser (http://servername:1810)
it didn't display any data in the application server part/box!!
Plz help me. thanksHi..
i tried to trace the error..so, i tried to open the targets.xml in
/oracle/infs/sysman/emd
it gaves me "Permission Denied"
Plz help -
Under company code 7245 I m doing stock transfer from 7245 plant to 7246 plant
supplying plant 7245 recieving plant 7246 ccode 7245
n sales area in supplying plant is 7245-7a-7a
now in this sales area ive created a customer 7246 to represent recieving plant
on the oher side in 7246 ive created vendor 7245
now in
SPROMMPO-SET UP STOSHIPPING DATA
for plant 7246 ive given cust num plant:7246 sales area 72457a7a
and
for plant 7245 ive kept cust num plant blank
and sales area 72457a7a
n shipping point det in 7246 cust mast shipping cond is 7a
loading group in material is 7245 for plant 7245
and for material in 7246 the lopading group is 7246
the shipping pt det is as follows
7a-724572457245(shipping cond-loading group-plant-shipping point)
now when i m creating po in me21n
i m getting warning message
ship point 7245 not allowed for ship cond 7a loading group 7245 plant 7245
its only a warning
but it is picking up 7245 as shipping point
now vl10g is also fine
i m getting the delivery doc number
n vl02n and migo is fine
now
my doubt is
wat r the settings so that i can do both ways
see with the above setting i m able to send stock frm 7245 plant to 7246
but i m not able to configure stock transfer from 7246 to 7245
mainly i wan settings @ SPROMMPO-SET UP STOSHIPPING DATA
i ve created customer 7245 in 7246-7a-7a
and vendor 7245 in purch org 7246
cant be both settings be standard
so that stock can be sent any ways
because both plants belong to same ccode and stock can be ransfered both ways,is this scenario possible??/
or sto is only one way ??
plz clarify
i ve already spent a lot of time on this plz help me out.
anil
Edited by: anil singh on Mar 12, 2008 5:37 PMHi,
Create the customer in the delivering Sales Area/Plant/CC and assign this customer to the recieving plant in the MM> purchasing> STO> Setup STO> Shipping data for plants.
Assign the delivering plant's salea area also here. So you need to create a customer in 7245 and assigne it in 7246.
Create the vendor in the purchase organisation of the receiving plant and assgin the delivering plant in the vendor master. Maintain the document types correctly and define whether you require one step or two step procedure.
hope this will help.
Prase -
CS5 Styles not Showing up in LIVE VIEW PLZ HELP
i looked at every other forum and cant find the anwser to my questions!!!! the styles show up until i click live view then they disappear!!!???? plz help
<link href="css/print.css" rel="stylesheet" type="text/css" media="print">
<link href="css/styles.css" rel="stylesheet" type="text/css" media="screen">
those are the style links
let me know what you need to help me!!!! plzlet me know what you need to help me!!!! plz
98% of layout/display problems are caused by malformed code.
1) Ensure that your code is valid (error free).
Code Validation Tools
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
2) Check that all paths to images, external style sheets and scripts are correctly pointing to your site folder and not to a file:/// on your local hard drive.
3) If that doesn't help, upload your problem page to a remote server space and provide us with a link so we can see it in our browsers.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Hi there, i am big fan of Firefox browser,and now i hear Firefox OS on android phone, i own a Gieonee ELife E7 16gb Variant & i wnt 2 instal FF OS. plz help me.!
I want to install Firefox OS for my phone, please let me know the way to do it. i have rooted my phone
and costumed my ROM.There are some Android devices which other people have already built and installed Firefox OS for.
If you have a Galaxy S2 and Nexus 5 it may be a bit easier to port Firefox OS - however, there is always the risk of bricking your device and making it useless.
Please also be aware that not all features of Firefox OS may work correctly on a ported build. If you are curious to know more, you may find information on these sites:
* [https://developer.mozilla.org/en-US/Firefox_OS/Installing_on_a_mobile_device Installing Firefox OS on a mobile device]
* [http://nexus5.wonderhowto.com/how-to/install-firefox-os-other-experimental-roms-your-nexus-5-without-any-risk-0150964/ How to Install Firefox OS (& Other Experimental ROMs) On Your Nexus 5]
You can also try the Firefox OS by running the simulator in your Firefox browser. Please check the following article for instructions:
* [https://support.mozilla.org/en-US/kb/how-set-firefox-os-desktop-build#w_run-the-firefox-os-simulator]
If you are an advanced user and would like to learn more information about manually porting Firefox OS to your specific device, you can go to MDN (Mozilla Developer Network):
* [https://developer.mozilla.org/en-US/Firefox_OS/Porting]
We hope you find this information helpful. Please let us know if you have any other questions. -
Firefox wont update to v 3.6.6 plz help me
just watch this video and u c wat happeans http://www.youtube.com/watch?v=RCtLEfciLDs plz help and plz comment or email me hurry
== This happened ==
Every time Firefox opened
== when the update came outSee http://kb.mozillazine.org/Software_Update (Software Update not working properly)
Remove the files in the ''updates'' and ''updates\0'' folder:
XP:
C:\Documents and Settings\<user>\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates
%USERPROFILE%\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates
C:\Program Files\Mozilla Firefox\updates
Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
You can skip the step to create a new profile, that is not necessary for this issue.
See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall -
N86 8MP... ANY GENIUS PLZ HELP
i HAVE ONE PROBLEM WITH N86 8MP, WHENEVER I M GOING TO OVI STORE OR EMAIL OR ANY OTHER APPLICATION ACCESSING NETWORK CONNECTION, MY PHONE STARTS RELOADING AND RESTARTS ITSELF.
pLZ HELP WHAT IS PROBLEM AND HOW TO SOLVE IT.
DR.MUKHTAR ALI.
[email protected]I met this kind of problem before with the corrupted SD card on my Samsung phone but it came out I got nothing from the card as the corrupted card can not be recognised by the computer when connected. So I hope you are lucky. (your card can be detected,)
First, take the card from the phone (powered off) and if it has a "write protect" tab then lock it now. Do not try and write anything to the card or you risk causing more problems. You can either plug in you camera to the PC as it should appear as a “Removable Drive” or put the card in a card reader attached to your PC.
Next, if you are comfortable with using a PC then you can download a photo recovery utility that will recover your photos from the following link:
http://www.cgsecurity.org/wiki/TestDisk_Download (Windows, freeware)
http://www.apple.com/downloads/macosx/system_disk_utilities/photorecovery.html (for Mac OS X shareware)
If such free utilities fail to help, you may rely on some paid photo recovery software. If you search the web for photo recovery software you will find many. One I have tried successfully is Wondershare Photo Recovery 2.1 that used to be bundled with some other products. This program can also recover music and videos. Now you can get it from the link below:
http://www.wondershare.com/pro/photo-recovery.html
You can try the demo to see what you can recover before buying.
Remember - Do NOT try & write anything back to the card until you can recover your pictures and music to your PC safely! Merry Christmas
Maybe you are looking for
-
In the iPod touch 5th generation can I put a wifi card like Vodafone wifi cards I put a wifi card in my iPad 3G and it works what about ipod ?
-
While creating PO getting an error &message number 06 ,249
We are creating 3rd party sale order,from sale order system creates Purchase requisation ,and by referencing this PR we want to create multple POs but after creating One PO with partial qty , but for 2nd PO i am refrencing same PR it is giving er
-
Fast Refresh Materialized view on a 'View'
Hi, I am trying to create a materialized view with Refresh FAST option. This is based on a view. I am getting an error that there is no materialized view log on the table. But we cannot create a materialized view log on a view. Can you please let me
-
Question about Network (JNet)
Dear experts: I use Network in my WebDynpro program, in the graphic, first node (A) act as a container, it contain two other nodes: B and C. I found that B and C displaied vertically in A, but I want them are horizontally displayed in A. Anyone know
-
System pref- what do the display numbers mean &other questions
1. are they the choices that the mini (purchased 9/07) can "send to the display" or are they the monitor's only display choices built into the monitor (like 1024x 768) 2. whats the advantage if any of a widescreen LCD display 3. will any "cheap- ie $