Debugging Forte Pain
Hi,
Do anyone know how to use the Forte 3.0 CE to debug JSP/Servlet running under Tomcat?
I hv refer to http://forum.java.sun.com/thread.jsp?forum=33&thread=65389 but it does not work out...it only prompt the error below.
Well,i am running JBoss-2.4.10_Tomcat-4.0.6.
Anyone Java Expertise wanna offer help? Really appreciate help right now cause this really really frustrating!
=========================
error message
=========================
C:\Documents and Settings\Xuser\Desktop>java -Dtomcat.home="%catalina_home" -Xdebug -Xnoagent -Xrunjdwp:transport=dt_so
ket,address=8000,server=y,suspend=n org.apache.tomcat.startup.Tomcat
ERROR reading %catalina_home%\conf\server.xml
At null
FATAL: configuration error
java.lang.IllegalArgumentException
at sun.net.www.ParseUtil.decode(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:491)
at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:312)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1080)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:290)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:187)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
C:\Documents and Settings\cpoon\Desktop>java -Dtomcat.home="%catalina_home%" -Xdebug -Xnoagent -Xrunjdwp:transport=dt_s
cket,address=8080,server=y,suspend=n org.apache.tomcat.startup.Tomcat
Starting tomcat. Check logs/tomcat.log for error messages
ContextManager: Engine init
Ctx( /examples ): Add context
ContextManager: Adding context Ctx( /examples )
Ctx( /manager ): Add context
ContextManager: Adding context Ctx( /manager )
Ctx( /pm ): Add context
ContextManager: Adding context Ctx( /pm )
Ctx( ): Add context
ContextManager: Adding context Ctx( )
Ctx( /tomcat-docs ): Add context
ContextManager: Adding context Ctx( /tomcat-docs )
Ctx( /webdav ): Add context
ContextManager: Adding context Ctx( /webdav )
Ctx( /examples ): Context Init
XmlMapper: Can't find resource for entity: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN --> http://java.sun.c
m/dtd/web-app_2_3.dtd "null"
java.net.ConnectException: Operation timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:767)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:566)
at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1139)
at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2145)
at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2100)
at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:831)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:290)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
ERROR reading C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\examples\WEB-INF\web.xml
java.lang.Exception: Can't open config file: C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\examples\WEB-INF\web.xml due
to: java.net.ConnectException: Operation timed out: connect
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:223)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
cannot load servlet name: jsp: org.apache.jasper.servlet.JspServlet
Ctx( /manager ): Context Init
XmlMapper: Can't find resource for entity: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN --> http://java.sun.c
m/dtd/web-app_2_3.dtd "null"
java.net.ConnectException: Operation timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:767)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:566)
at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1139)
at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2145)
at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2100)
at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:831)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:290)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
ERROR reading C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\manager\WEB-INF\web.xml
java.lang.Exception: Can't open config file: C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\manager\WEB-INF\web.xml due
o: java.net.ConnectException: Operation timed out: connect
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:223)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
cannot load servlet name: jsp: org.apache.jasper.servlet.JspServlet
Ctx( /pm ): Context Init
XmlMapper: Can't find resource for entity: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN --> http://java.sun.c
m/dtd/web-app_2_3.dtd "null"
java.net.ConnectException: Operation timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:767)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:566)
at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1139)
at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2145)
at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2100)
at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:831)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:290)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
ERROR reading C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\pm\WEB-INF\web.xml
java.lang.Exception: Can't open config file: C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\pm\WEB-INF\web.xml due to: j
va.net.ConnectException: Operation timed out: connect
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:223)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
cannot load servlet name: jsp: org.apache.jasper.servlet.JspServlet
Ctx( ): Context Init
XmlMapper: Can't find resource for entity: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN --> http://java.sun.c
m/dtd/web-app_2_3.dtd "null"
java.net.ConnectException: Operation timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:767)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:566)
at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1139)
at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2145)
at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2100)
at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:831)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:290)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
ERROR reading C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\ROOT\WEB-INF\web.xml
java.lang.Exception: Can't open config file: C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\ROOT\WEB-INF\web.xml due to:
java.net.ConnectException: Operation timed out: connect
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:223)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
cannot load servlet name: jsp: org.apache.jasper.servlet.JspServlet
Ctx( /tomcat-docs ): Context Init
XmlMapper: Can't find resource for entity: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN --> http://java.sun.c
m/dtd/web-app_2_3.dtd "null"
java.net.ConnectException: Operation timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:767)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:566)
at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1139)
at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2145)
at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2100)
at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:831)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:290)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
ERROR reading C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\tomcat-docs\WEB-INF\web.xml
java.lang.Exception: Can't open config file: C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\tomcat-docs\WEB-INF\web.xml
ue to: java.net.ConnectException: Operation timed out: connect
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:223)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
cannot load servlet name: jsp: org.apache.jasper.servlet.JspServlet
Ctx( /webdav ): Context Init
XmlMapper: Can't find resource for entity: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN --> http://java.sun.c
m/dtd/web-app_2_3.dtd "null"
java.net.ConnectException: Operation timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:767)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:566)
at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1139)
at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2145)
at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2100)
at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:831)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:290)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
ERROR reading C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\webdav\WEB-INF\web.xml
java.lang.Exception: Can't open config file: C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\webdav\WEB-INF\web.xml due t
: java.net.ConnectException: Operation timed out: connect
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:223)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
cannot load servlet name: jsp: org.apache.jasper.servlet.JspServlet
PoolTcpConnector: Starting HttpConnectionHandler on 0
C:\Documents and Settings\cpoon\Desktop>java -Dtomcat.home="%catalina_home%" -Xdebug -Xnoagent -Xrunjdwp:transport=dt_s
cket,address=8080,server=y,suspend=n org.apache.tomcat.startup.Tomcat
Starting tomcat. Check logs/tomcat.log for error messages
ContextManager: Engine init
Ctx( /examples ): Add context
ContextManager: Adding context Ctx( /examples )
Ctx( /manager ): Add context
ContextManager: Adding context Ctx( /manager )
Ctx( /pm ): Add context
ContextManager: Adding context Ctx( /pm )
Ctx( ): Add context
ContextManager: Adding context Ctx( )
Ctx( /tomcat-docs ): Add context
ContextManager: Adding context Ctx( /tomcat-docs )
Ctx( /webdav ): Add context
ContextManager: Adding context Ctx( /webdav )
Ctx( /examples ): Context Init
XmlMapper: Can't find resource for entity: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN --> http://java.sun.c
m/dtd/web-app_2_3.dtd "null"
java.net.ConnectException: Operation timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:767)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:566)
at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1139)
at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2145)
at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2100)
at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:831)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:290)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
ERROR reading C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\examples\WEB-INF\web.xml
java.lang.Exception: Can't open config file: C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\examples\WEB-INF\web.xml due
to: java.net.ConnectException: Operation timed out: connect
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:223)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Ctx( /examples ): Pre servlet init jsp(org.apache.jasper.servlet.JspServlet/null)
path="/examples" :jsp: init
Ctx( /examples ): Post servlet init jsp(org.apache.jasper.servlet.JspServlet/null)
Ctx( /manager ): Context Init
XmlMapper: Can't find resource for entity: -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN --> http://java.sun.c
m/dtd/web-app_2_3.dtd "null"
java.net.ConnectException: Operation timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntity(DefaultEntityHandler.java:767)
at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubset(DefaultEntityHandler.java:566)
at org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java:1139)
at org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentScanner.java:2145)
at org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.java:2100)
at org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XMLDocumentScanner.java:831)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:290)
at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:214)
at org.apache.tomcat.context.WebXmlReader.processWebXmlFile(WebXmlReader.java:202)
at org.apache.tomcat.context.WebXmlReader.contextInit(WebXmlReader.java:109)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
ERROR reading C:\JBoss-2.4.10_Tomcat-4.0.6\catalina\webapps\manager\WEB-INF\web.xml
java.lang.Exception: Can't open config file: C:\JBoss-2.4.10_Tomca
Hello guyz, some reply pls...
i personally feel that my problem should be improper replacement/version of library/class files which made the XML connection failed.
Anyone can provide me web links or tutorial with the info of correct installation of (1)tomcat version, (2)necessary additional class file, (3)classpath setting, and (4)correct procedure to debug the JSP version 1.1 and Servlet version 2.3 running under WIN2K.
I gonna try out this on a fresh machine coz Apache/SUN setting really very sensitive and this really giving me tough time to settle short timing project.
Thanx first!
Similar Messages
-
JBoss EAR wont deploy on some machines
Hi,
I am having problems deploying an EAR firl on my production machine.
The EAR works fine on my development machine but will not deply the EJB on the live machine.
I have checked the configs and installed versions of JBoss, JDK and servers but can not find differences (Same versions, etc)
The 'offending' class not found file (customer.xsd2ejb.customerModelEntryForm) is in both the WAR and -EJB.JAR of the EAR
Recompiling the sources on the production ,achine also doesnt help
Any ideas on what JBoss is looking for?
Chris
Here is the stacktrace from the JBoss console log
16:05:17,453 INFO [EJBDeployer] nested deployment: file:/D:/usr/local/share/jboss-3.2.3/server/default/tmp/deploy/tmp2834parner.ear-contents/parner-ejb
.jar-contents/jwsdp-shared/lib/xsdlib.jar
16:05:25,125 WARN [EJBDeployer] Verify failed; continuing
java.lang.NoClassDefFoundError: customer/xsd2ejb/customerModelEntryForm
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
at java.lang.Class.privateGetPublicMethods(Class.java:1770)
at java.lang.Class.privateGetPublicMethods(Class.java:1786)
at java.lang.Class.getMethods(Class.java:824)
at org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVerifier.java:688)
at org.jboss.verifier.strategy.EJBVerifier20.verifyCMPEntityBean(EJBVerifier20.java:1903)
at org.jboss.verifier.strategy.EJBVerifier20.checkBmpOrCmp2Entity(EJBVerifier20.java:167)
at org.jboss.verifier.strategy.EJBVerifier20.checkEntity(EJBVerifier20.java:137)
at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:154)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:475)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
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:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
16:05:25,125 ERROR [MainDeployer] could not create deployment: file:/D:/usr/local/share/jboss-3.2.3/server/default/tmp/deploy/tmp2834parner.ear-content
s/parner-ejb.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
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:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
16:05:25,171 ERROR [MainDeployer] could not create deployment: file:/D:/usr/local/share/jboss-3.2.3/server/default/deploy/parner.ear
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
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:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
16:05:25,218 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@3cec5de { url=file:/D:/usr/local/share/jboss-3.2.3/server/default/deploy/parner.ear }
deployer: org.jboss.deployment.EARDeployer@11d2572
status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error messages.
state: FAILED
watch: file:/D:/usr/local/share/jboss-3.2.3/server/default/deploy/parner.ear
lastDeployed: 1085061924375
lastModified: 1085061914859
mbeans:
]MBeans waiting for classes:
MBeans waiting for other MBeans:Aha,
Silly me, Seems the real class being looked for is in an included library. THis lib was visible on the development lib path, but not on the production lib path.
Pity the classloader doesnt point to the real class it is looking for.
I guess I should have realised, struts is expert at catching and rethrowing exceptions to hide the real point of error. Really makes debugging a pain. Shouldnt there be a pattern around this, so the developer always gets something meaningful?? -
Execute the expression in select statement
CREATE TABLE TEST1
OFFICE_PRODUCTS NUMBER,
OFFICE_ELECTRONICS NUMBER
Insert into TEST1 (OFFICE_PRODUCTS, OFFICE_ELECTRONICS) Values(1, 0);
COMMIT;
CREATE TABLE TEST2
EXPORT_FIELD_NAME VARCHAR2(100 BYTE),
EXPORT_COLUMN_EXPRESSION VARCHAR2(100 BYTE)
Insert into TEST2
(EXPORT_FIELD_NAME, EXPORT_COLUMN_EXPRESSION)
Values ('A1', 'least(OFFICE_PRODUCTS, OFFICE_ELECTRONICS)');
COMMIT; I want to be execute the expression should run in select statement how to do?
and tried as like below,it's not working.
select (select EXPORT_COLUMN_EXPRESSION from test2 where EXPORT_FIELD_NAME='A1') FROM TEST1;968892 wrote:
CREATE TABLE TEST1
OFFICE_PRODUCTS NUMBER,
OFFICE_ELECTRONICS NUMBER
Insert into TEST1 (OFFICE_PRODUCTS, OFFICE_ELECTRONICS) Values(1, 0);
COMMIT;
CREATE TABLE TEST2
EXPORT_FIELD_NAME VARCHAR2(100 BYTE),
EXPORT_COLUMN_EXPRESSION VARCHAR2(100 BYTE)
Insert into TEST2
(EXPORT_FIELD_NAME, EXPORT_COLUMN_EXPRESSION)
Values ('A1', 'least(OFFICE_PRODUCTS, OFFICE_ELECTRONICS)');
COMMIT; I want to be execute the expression should run in select statement how to do?
and tried as like below,it's not working.
select (select EXPORT_COLUMN_EXPRESSION from test2 where EXPORT_FIELD_NAME='A1') FROM TEST1;
Your problems are many...
a) it's very poor design to be storing expressions or sql statements or any 'executable' style code as data in the database.
b) what you're storing is a string of characters. Oracle isn't going to miraculously know that that is some expression that has to be evaluated, so why should it decide to treat it as such?
c) this poor design can lead to security issues especially around SQL injection.
d) to actually perform what you want would require you to build a dynamic SQL statement and then execute that using EXECUTE IMMEDIATE or DBMS_SQL (or for a 3rd party client, a Ref Cursor), but then there are numerous issues around doing dynamic SQL, aside from SQL injection, in that you are producing code that is not validated at compile time and can thus lead to bugs showing only at run-time and sometime only under certain conditions; the code is harder to maintain; the code can potentially be avoiding the use of bind variables, impacting on resources and performance on the database; the final query can be difficult to know just from reading the code, making further development or debugging a pain in the posterior. Essentially, dynamic SQL is considered very poor design and is 99.9% of the time used for the wrong reasons.
So, why are you trying to do this? What is the business requirement you are trying to solve? -
I have enabled Flash Player in add-ons for Internet Explorer 11 for Windows 8.1. I also disabled ActiveX Filtering as instructed while trouble shooting... Yet, videos still will not play on webpages shown in Internet Explorer. How can I fix this, since I have already followed instructions from Adobe completely? Flash Player is supposedly already be installed in Internet Explorer 11, but it is NOT working.
Long story short, the video site is probably going to need to change their content before it works in IE11+. I'd need some links to affected pages to tell you for sure (and even then, the complexity of websites these days makes debugging pretty painful).
In the meantime, you might just want to use Chrome for the sites that otherwise don't work. -
CS3 SDK plugin won't load in CS2
Hello,
Looking at the Illustrator SDK programmer's guide is looks like it should be possible to develop a universal binary plugin using XCode. It appears that its possible to use this universal binary plugin with both CS2 and CS3. When I compile the sample plugins that come with CS3 SDK, they will not load in CS2. "Error loading plugins" This is on an intel mac running 10.4.9. Could anyone shed some light on this situation for me? Do I have to develop two plugins? Does Illustrator output a debug log anywhere which would help me understand what's going on?Jon, yes it is possible to do this (i.e. develop a universal binary plug-in using Xcode that loads and runs under Illustrator CS2 and CS3). There are two reasons why the universal binaries for samples from the CS3 SDK don't load and run under CS2.
1) CS2 can't find their plug-in entry point function.
2) The CS3 SDK samples are dependent on versions of suites that are only available in CS3.
Regarding 1 - CS2 will use the entry point function name provided in the 'mach' property in your plug-in's PiPL resource. If the function name provided there is empty CS2 will look for a function named "main" and call that if it is available, otherwise you'll get an "Error loading plug-ins." alert. The behaviour of CS3 is slightly different, if the entry point name is empty it looks first for a function named "PluginMain", then for a function named "main", then gives up with the error alert. The CS3 samples all use an entry point function named "PluginMain" and leave the entry point name empty in their 'mach' property (and their 'mi32' property for that matter). It's straightforward to change this. For example, to name the entry point for the Tutorial sample on the CS3 SDK add the commented line below to Tutorial.r:
#define PIPL_PLUGIN_NAME "Tutorial"
#define PIPL_ENTRY "PluginMain" // add this line
#include "Plugin.r"
Regarding 2 - to have a plug-in that will successfully run under CS2 or CS3 the plug-in must only depend on suites that are available under the host application. The simplest arrangement is to have one plug-in binary that uses the suite versions supported by CS2 - the "lowest common denominator" approach. Alternatively your plug-in can make a run time check of the version of Illustrator it is running under and acquire / use the suite versions appropriately. The CS3 SDK samples don't do either of these things. So if you only make the fix for 1 described above in the Tutorial sample it will still fail to load under CS2 because it will try and acquire suites that are only available in CS3. If you change the Tutorial sample to use the legacy suite versions supported by CS2 (such as AIArtSuite, AIPathSuite,AIDocumentViewSuite, AIUnicodeStringSuite and AIToolSuite whose headers you'll find in the AI120xxx header files in the legacy folder on the CS3 SDK) you can implement a lowest common denominator approach for the sample and it should at least startup cleanly under CS2. There may be further changes required to get all the features of the sample to run properly.
I haven't had much luck getting the Xcode 2.4.1 debugger to host a debug session under Illustrator CS2 - so debugging is painful. But it may well be my own lack of Xcode / gdb knowledge that's the barrier here. -
Hi,
Are there any NI or third party tools that show open application, vi, control, etc. references? There are a few times when I forget to close a reference and my built application will not close but debugging is painful sometimes.
Thanks!Why you want to close reference by your self.
The best way, close it programmatically.
Open reference--- > Do your Work ---- > Close reference.
If you want display all programs like Task Manager then use this link.
https://decibel.ni.com/content/docs/DOC-25652
Munna -
Flash player disabled yet enabled?
Every time I try to run Adobe Flash Player on new computer, I get a message that reads its disabled. Yet, when I go to the manage add ons, it shows that it's enabled. Plus, when I look to the ActiveX, it's not checked. What gives?
Long story short, the video site is probably going to need to change their content before it works in IE11+. I'd need some links to affected pages to tell you for sure (and even then, the complexity of websites these days makes debugging pretty painful).
In the meantime, you might just want to use Chrome for the sites that otherwise don't work. -
Intel HD3000 repeated kernel panics
I'm writing some software (an open-source microscope control system) that uses OpenGL, and I'm getting repeated kernel panics whenever I make even a minor mistake. That is, OpenGL is functional, but if I do something slightly wrong then my computer crashes. This makes debugging absurdly painful, as you can probably imagine.
The panic report log (pasted below) clearly implicates the HD3000 driver. My question is, what can I do about this? The program should crash if I do something wrong, absolutely, but it shouldn't take the computer with it. This is ruining my ability to get work done.
I suppose it's remotely possible that the card is at fault, but I was able to play a 3D game without any difficulty so I doubt that.
I'm running OSX 10.7.4 and Software Update says I'm fully up-to-date. Would it be possible to downgrade my graphics card drivers? Perhaps a previous version is more stable.
Panic log:
Wed Sep 12 09:19:57 2012
panic(cpu 1 caller 0xffffff80002c473a): Kernel trap at 0xffffff7f8174ba8c, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0xffffff8152eb2abc, CR3: 0x000000002be2c02d, CR4: 0x00000000000606e0
RAX: 0x000000002b000000, RBX: 0xffffff800c579000, RCX: 0xffffff8152eb2ab8, RDX: 0xffffff7f8174bca4
RSP: 0xffffff807f46b9f0, RBP: 0xffffff807f46ba10, RSI: 0xffffff800c579720, RDI: 0xffffff800c579000
R8: 0xffffff80732c766c, R9: 0xffffff807f46b924, R10: 0x0000018010eef000, R11: 0x0000000000000001
R12: 0xffffff800e031588, R13: 0xffffff800c579000, R14: 0xffffff807f46bb20, R15: 0xffffff800c579720
RFL: 0x0000000000010206, RIP: 0xffffff7f8174ba8c, CS: 0x0000000000000008, SS: 0x0000000000000010
CR2: 0xffffff8152eb2abc, Error code: 0x0000000000000000, Faulting CPU: 0x1
Backtrace (CPU 1), Frame : Return Address
0xffffff807f46b6a0 : 0xffffff8000220792
0xffffff807f46b720 : 0xffffff80002c473a
0xffffff807f46b8d0 : 0xffffff80002da0cd
0xffffff807f46b8f0 : 0xffffff7f8174ba8c
0xffffff807f46ba10 : 0xffffff7f8179a0ea
0xffffff807f46ba30 : 0xffffff7f8174f1a6
0xffffff807f46bb60 : 0xffffff7f8174c2bd
0xffffff807f46bbc0 : 0xffffff800065501e
0xffffff807f46bbe0 : 0xffffff80006558fa
0xffffff807f46bc40 : 0xffffff800065609b
0xffffff807f46bd80 : 0xffffff80002a3f08
0xffffff807f46be80 : 0xffffff8000223096
0xffffff807f46beb0 : 0xffffff80002148a9
0xffffff807f46bf10 : 0xffffff800021bbd8
0xffffff807f46bf70 : 0xffffff80002aef20
0xffffff807f46bfb0 : 0xffffff80002daa33
Kernel Extensions in backtrace:
com.apple.driver.AppleIntelHD3000Graphics(7.1.8)[3907A4CB-8AA1-3F6B-B052-8BA001 8E9C83]@0xffffff7f81743000->0xffffff7f81823fff
dependency: com.apple.iokit.IOPCIFamily(2.6.8)[F63D4ABE-42DA-33EF-BADD-3415B0CB0179]@0xffff ff7f80883000
dependency: com.apple.iokit.IONDRVSupport(2.3.2)[D05CFB53-FB72-3613-8162-2D188DB04738]@0xff ffff7f80d16000
dependency: com.apple.iokit.IOGraphicsFamily(2.3.2)[2D2A4A31-EB4F-3730-BE3A-76C061685FC5]@0 xffffff7f80cde000
BSD process name corresponding to current thread: Python
Mac OS version:
11E53
Kernel version:
Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64
Kernel UUID: A8ED611D-FB0F-3729-8392-E7A32C5E7D74
System model name: MacBookPro8,1 (Mac-94245B3640C91C81)
System uptime in nanoseconds: 2717494941415
last loaded kext at 352238981609: com.apple.filesystems.smbfs 1.7.2 (addr 0xffffff7f80791000, size 241664)
last unloaded kext at 190411944832: com.apple.driver.AppleUSBUHCI 4.4.5 (addr 0xffffff7f80aed000, size 65536)
loaded kexts:
com.baltaks.driver.DoubleCommand 1.6.9
com.Logitech.Control Center.HID Driver 3.5.1
com.apple.filesystems.smbfs 1.7.2
com.apple.driver.AppleIntelProfile 85.2
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleHDA 2.2.0f3
com.apple.driver.AppleMikeyDriver 2.2.0f3
com.apple.driver.AppleUpstreamUserClient 3.5.9
com.apple.driver.AppleMCCSControl 1.0.26
com.apple.driver.AudioAUUC 1.59
com.apple.driver.AGPM 100.12.42
com.apple.driver.AppleIntelHD3000Graphics 7.1.8
com.apple.driver.SMCMotionSensor 3.0.2d6
com.apple.driver.AppleSMCPDRC 5.0.0d0
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.iokit.IOBluetoothSerialManager 4.0.5f11
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AudioIPCDriver 1.2.2
com.apple.driver.AppleSMCLMU 2.0.1d2
com.apple.driver.ACPI_SMC_PlatformPlugin 5.0.0d0
com.apple.driver.AppleLPC 1.5.8
com.apple.driver.AppleBacklight 170.1.9
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleUSBTCButtons 225.2
com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.5f11
com.apple.driver.AppleUSBTCKeyboard 225.2
com.apple.driver.AppleIRController 312
com.apple.iokit.SCSITaskUserClient 3.2.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 33
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCISerialATAPI 2.0.3
com.apple.iokit.IOAHCIBlockStorage 2.0.3
com.apple.driver.AppleFWOHCI 4.8.9
com.apple.driver.AppleUSBHub 4.5.0
com.apple.driver.AirPort.Brcm4331 530.4.20
com.apple.driver.AppleSDXC 1.2.0
com.apple.driver.AppleEFINVRAM 1.5.0
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleAHCIPort 2.3.0
com.apple.iokit.AppleBCM5701Ethernet 3.1.2b2
com.apple.driver.AppleUSBEHCI 4.5.8
com.apple.driver.AppleACPIButtons 1.5
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.6
com.apple.driver.AppleSMBIOS 1.8
com.apple.driver.AppleACPIEC 1.5
com.apple.driver.AppleAPIC 1.5
com.apple.driver.AppleIntelCPUPowerManagementClient 193.0.0
com.apple.nke.applicationfirewall 3.2.30
com.apple.security.quarantine 1.3
com.apple.driver.AppleIntelCPUPowerManagement 193.0.0
com.apple.driver.AppleProfileTimestampAction 85.2
com.apple.driver.AppleProfileThreadInfoAction 85.2
com.apple.driver.AppleProfileRegisterStateAction 85.2
com.apple.driver.AppleProfileReadCounterAction 85.2
com.apple.driver.AppleProfileKEventAction 85.2
com.apple.driver.AppleProfileCallstackAction 85.2
com.apple.iokit.AppleProfileFamily 85.2
com.apple.driver.DspFuncLib 2.2.0f3
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOFireWireIP 2.2.4
com.apple.iokit.IOSurface 80.0.2
com.apple.driver.AppleHDAController 2.2.0f3
com.apple.iokit.IOHDAFamily 2.2.0f3
com.apple.iokit.IOSerialFamily 10.0.5
com.apple.iokit.IOAudioFamily 1.8.6fc17
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.ApplePolicyControl 3.0.16
com.apple.driver.AppleSMC 3.1.3d8
com.apple.driver.IOPlatformPluginLegacy 5.0.0d0
com.apple.driver.AppleGraphicsControl 3.0.16
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.IOPlatformPluginFamily 5.1.0d17
com.apple.driver.AppleBacklightExpert 1.0.3
com.apple.iokit.IONDRVSupport 2.3.2
com.apple.kext.triggers 1.0
com.apple.driver.AppleIntelSNBGraphicsFB 7.1.8
com.apple.iokit.IOGraphicsFamily 2.3.2
com.apple.driver.AppleUSBBluetoothHCIController 4.0.5f11
com.apple.iokit.IOBluetoothFamily 4.0.5f11
com.apple.driver.AppleThunderboltDPInAdapter 1.8.2
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.2
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.4
com.apple.driver.AppleUSBMultitouch 227.1
com.apple.iokit.IOUSBHIDDriver 4.4.5
com.apple.driver.AppleUSBMergeNub 4.5.3
com.apple.driver.AppleUSBComposite 4.5.8
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.2.0
com.apple.iokit.IOBDStorageFamily 1.6
com.apple.iokit.IODVDStorageFamily 1.7
com.apple.iokit.IOCDStorageFamily 1.7
com.apple.iokit.IOSCSIArchitectureModelFamily 3.2.0
com.apple.driver.AppleThunderboltNHI 1.5.5
com.apple.iokit.IOThunderboltFamily 2.0.0
com.apple.iokit.IOFireWireFamily 4.4.5
com.apple.iokit.IOUSBUserClient 4.5.8
com.apple.iokit.IO80211Family 420.3
com.apple.iokit.IOAHCIFamily 2.0.8
com.apple.iokit.IOEthernetAVBController 1.0.1b1
com.apple.iokit.IONetworkingFamily 2.1
com.apple.iokit.IOUSBFamily 4.5.8
com.apple.driver.AppleEFIRuntime 1.5.0
com.apple.iokit.IOHIDFamily 1.7.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 177.5
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 331.6
com.apple.iokit.IOStorageFamily 1.7.1
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.5
com.apple.iokit.IOPCIFamily 2.6.8
com.apple.iokit.IOACPIFamily 1.4Derakon wrote:
(Reposted from a post I made in the Macbook section, which was clearly the wrong place)
So is the developer forum
com.baltaks.driver.DoubleCommand 1.6.9
com.Logitech.Control Center.HID Driver 3.5.1
Remove those 3rd party kernel extensions and call me in the morning. -
RE: (forte-users) Debugging 'fixes' problem!!!
Duncan
This is often indicative of a race condition, especially when
multi-threading is involved.
What can happen is that task A is using something created or initialized by
task B,
and task B hasn't gotten around to doing its thing before task A asks for
it.
When running in debug mode, you give everything a lot more time to get
things
done while it's waiting for you to click the next button. So, when task A
starts task B,
you click Run on task B, watch it happen, go back to task A and click,
watch, click, etc.,
and by the time you get to the trouble spot, task B has long since done what
it had to do.
HTH.
Ken.
==========================
Ken Gacioch
Senior Consultant
Caro Systems, Inc.
[email protected]
-----Original Message-----
From: Duncan Kinnear [SMTP:[email protected]]
Sent: Sunday, November 21, 1999 11:33 PM
To: [email protected]
Subject: (forte-users) Debugging 'fixes' problem!!!
Hi folks,
I've got a weird one here.
I'm trying to find out why my code to highlight a particular outline field
row does not work.
However, when I run it in debug, it works perfectly! (The correct row is
highlighted). Anybody got any idea how I can get debug to behave
consistently with "The running man"?
I have tried using "<OutlineField>.UpdateFieldFromData()" as well as
using the same method on the specific DisplayNode involved.
I must point out that the outline field is in a window running as a
separate asynchronous task. Would that make any difference when
running in debug? When the second debug window appears for this
task I just click on the "Go" button and there are no breakpoints.
Any help would be greatly appreciated.
Cheers,
Duncan Kinnear,
McCarthy and Associates, Email:
[email protected]
PO Box 764, McLean Towers, Phone: +64 6 834 3360
Shakespeare Road, Napier, New Zealand. Fax: +64 6 834
3369Duncan
This is often indicative of a race condition, especially when
multi-threading is involved.
What can happen is that task A is using something created or initialized by
task B,
and task B hasn't gotten around to doing its thing before task A asks for
it.
When running in debug mode, you give everything a lot more time to get
things
done while it's waiting for you to click the next button. So, when task A
starts task B,
you click Run on task B, watch it happen, go back to task A and click,
watch, click, etc.,
and by the time you get to the trouble spot, task B has long since done what
it had to do.
HTH.
Ken.
==========================
Ken Gacioch
Senior Consultant
Caro Systems, Inc.
[email protected]
-----Original Message-----
From: Duncan Kinnear [SMTP:[email protected]]
Sent: Sunday, November 21, 1999 11:33 PM
To: [email protected]
Subject: (forte-users) Debugging 'fixes' problem!!!
Hi folks,
I've got a weird one here.
I'm trying to find out why my code to highlight a particular outline field
row does not work.
However, when I run it in debug, it works perfectly! (The correct row is
highlighted). Anybody got any idea how I can get debug to behave
consistently with "The running man"?
I have tried using "<OutlineField>.UpdateFieldFromData()" as well as
using the same method on the specific DisplayNode involved.
I must point out that the outline field is in a window running as a
separate asynchronous task. Would that make any difference when
running in debug? When the second debug window appears for this
task I just click on the "Go" button and there are no breakpoints.
Any help would be greatly appreciated.
Cheers,
Duncan Kinnear,
McCarthy and Associates, Email:
[email protected]
PO Box 764, McLean Towers, Phone: +64 6 834 3360
Shakespeare Road, Napier, New Zealand. Fax: +64 6 834
3369 -
Remote debugging JSPs using Forte and Weblogic
I am compiling JSPs using a build script (ANT) and deploying it to weblogic server instance running on unix. when i mount the JSPs and my classes to Forte and connect to weblogic instance, I can debug the java files. But the JSPs i can't debug. I can put the break points in JSPs but the debugger is not stopping at that breakpoint when i run my application in the browser.
I guess I can answer the question myself...
Turns out that there was a problem in 1.3.0. BugParade #4342974. -
Forte 6u2 mutex creation problem when debug
Hi,
I want to debug my software using forte 6u2 graphical environment but it does not work. When debugging in the graphical env, my software is not able to create some mutex and I can't even step in the code. If I use dbx command line, it works perfectly. Anybody knows what the problem is ?
Thanks,
P.S. My software is pretty huge and uses many dynamic lib.Can you supply some more details?
When you say your program can't create a mutex, what does that mean? Do you
mean that you are calling pthread_mutex_init() and the function is returning
an error?
When you say you can't "step" in the code, what does that mean?
1. you stop somewhere
2. you hit the "step" button
3. then what happens?
a) program continues without stopping at the line you wanted it to?
b) program doesn't seem to advance anywhere, as if step command was ignored?
c) program crashes?
d) debugger crashes?
Please explain in more detail.
--chris -
Debugging a Jato webapp from within Forte 3.0
Does anybody know the steps involved in debugging a Jato app from
within the Forte 3.0 IDE?
I can successfully package my Jato app into a war file and copy it to
an external TomcatServer/webapps directory and run it with no
problems. However, when I set Forte 3.0 to use its internal Tomcat
3.2 server, and from the IDE select 'WEB-INF' then 'Execute', Forte
does launch the Tomcat 3.2 webserver and an external browser, however
it starts at the root directory of 'http://<machinename>:8080/' -
that's it! I don't know how to setup Forte to start with a url
of 'http://<machinename>:8080/module1/login'.
I'm not looking for detailed steps (although that would be nice),
just areas to research. Does this concern Tomcat's Context creation,
Web Module Groups, JSP & Servlet compilation? Forte's documentation
is all over the place with no clear steps or answers.The following is the web page generated by Jdev 3.0 to use my servlet. I did a complete install of Jdev 3.0 with no customization or configuration changes...
============================================
<html>
<head><title>Servlet Launcher</title></head>
<body>
<center>
<h2>Servlet Launcher</h2>
<h3>In order to run a servlet, click on the servlet's icon or hyperlink text</h3>
<table border=1 width="100%">
<tbody>
<tr><tr><th colSpan=2>Registered Servlets</th></tr></tr>
<tr>
<td>package1.DbServlet1</td>
</tr>
</tbody>
</table>
</center>
</body>
</html>
============================================
The following is the reply...
============================================
10060 Connection timed out
The web server specified in your URL could not be contacted. Please check your URL or try your request again.
This error could have been caused by:
Bad / misspelled URL
Following an invalid link
Your network connection and/or transient conditions on the Internet
Load conditions on the web server.
Microsoft Proxy Server v2.0
Proxy Server : s1903161.wei.org
Via :
============================================
I am running Personal Web Manager on this workstation but it makes no difference whether or not this service is running....
Since I've installed right out of the box without making any configuration changes, I thought this should work no problem.? -
Pain on Debugging Orchestration.
Currently I am creating bit complicated orchestration with BizTalk Server 2006 which having more than 50 shapes and more coding.
I felt more pain on debugging the orchestration, getting small issues after deploying like In expression, "Object Not found", UnDefined etc.,
Each and every time expected to deploy the orchestration in BizTalk Administration and test the application completely.
It takes more development time and more pain.
Do we have any tool other than HAT and event source.
Could you please suggest / tips for this issue to handle.
Thanks,
Vijayakumar GBizTalk development is much like regular development and also the guidelines are applicable. Big methods are also split up into smaller ones.
The moment the orchestration design can be broken up into separate parts, you should do that. From your 'main' orchestration you can start/call these sub orchestrations to keep it manageable. The individual orchestrations can also be tested as a unit.
It is hard to do it now, because you already have a complex orchestration. Still I'd advise you do start working in this direction for maintainability.
There is no real way to debug BizTalk applications, that is something developers have been asking for years but it turns out to be very difficult for Microsoft. Most developers stick to writing debug messages from expression shapes to see what happens during
runtime. The CAT instrumentation framework is very suitable for this.
Jean-Paul Smit | Didago IT Consultancy
Blog |
Twitter | LinkedIn
MCTS BizTalk 2006/2010 + Certified SOA Architect
Please indicate "Mark as Answer" if this post has answered the question. -
Hello !!!
I'm trying to start a debug session in Forte 4. I click on the menu option Project/Debug project and I receive the followin message :
File Test.java cannot be converted to servlet. It doesn't implement javax.servlet.Servlet interface.
What's the problem ?
Pascal.In the filesystem explorer, right-click on the file Test.java, choose "Properties", then hgo to the "Execution" tab. Check that Debugging is set to "Default Debugging", not to "J2EE Server Debugging".
Hope this helps,
/fcd
>
Hello !!!
I'm trying to start a debug session in Forte 4. I
click on the menu option Project/Debug project and I
receive the followin message :
File Test.java cannot be converted to servlet. It
doesn't implement javax.servlet.Servlet interface.
What's the problem ?
Pascal. -
I bought this game some time ago but have never been able to register it. I even bought another one when they became cheaper but still can't register. I've tried every whichway and now it won't load either. It wants me to debug then it won't. I've tried trashing then reinstalling but no luck. The Spore creature creator won't play either. What did I do and is there a cleanup software Mac users can recommend? Thanks
Carol,
BTW please update your profile, you aren't using OS X 10.1.x. If you don't know what version you're using click the Apple Symbol in the upper left of this screen and select About this Mac. Once you know the version you can update your profile by clicking Your Stuff on this screen (upper right) and you will see the Profile link. This is useful so we can help you troubleshoot problems.
You can remove apps 3 ways.
Inquire with the developer to see if they have an Uninstall routine. I suspect this game does not.
Drag the app to the Trash
Download and install an app such as AppCleaner. You can find it at www.macupdate.com and search for AppCleaner.
Maybe you are looking for
-
Presently running mac osx 10.5.8. Recent Firefox update says it no longer works with osx 10.5 and it's no longer supported by apple. Any suggestins?
-
Gamer Unlocked not showing in MyBB account
I don't know who to talk to about this problem, but I am hoping someone can help me out. I purchase a PS4 last month during the promotion where if you buy a next gen console you get 2 free years of Gamer Unlocked. At the time of my purchase, I wasn't
-
Report -Error in SQL Statement
Hi to All, Whe I ran the report on ODS its giving the following error. Error Error in SQL Statement:DBIF_RSQL_INVALID-RSQL Error Error When generating the SQL statement Error reading the data of Infoprovider ZABCXX Abort system error in Program SAPLR
-
Itunes 10.5 cannot be installed. error (-23) shown.
im trying to download itunes 10.5, but it is not working . when i sync into itunes, it says unknown error has occured (-23) . anybody can help?
-
I find I have no sound on my ipad . Notably when I double click (and the bottom bar appears) there is no slider on the sound bar at the right hand side. An ideas?