Deedy Dee

Greenhorn
+ Follow
since Mar 20, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Deedy Dee

hi,all
I am develop a webservice by Jbuliderx.
but when I deploy the webservice on Jboss.
Jboss show me the Exception:
14:57:07,167 ERROR [WSDDDeployableItem] Unable to deploy typemapping: {http://messaging.mglue.antpower.org}SendMsgFailureException
java.lang.ClassNotFoundException: SendMsgFailureException
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:421)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.java:260)
at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:120)
at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:281)
at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.java:165)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:171)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:112)
at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(WSDDTypeMapping.java:221)
at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:549)
at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:267)
at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:247)
at org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:243)
at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:104)
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:209)
at org.apache.axis.AxisEngine.init(AxisEngine.java:187)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:172)
at org.apache.axis.server.AxisServer.<init>(AxisServer.java:126)
at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:148)
at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:112)
at org.apache.axis.server.AxisServer.getServer(AxisServer.java:111)
at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:221)
at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:187)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:224)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:228)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:536)
----------------------
I don't know how to config and deploy the webservcie
the following xml fragment is the part of the webservice's wsdl file
<schema targetNamespace="http://messaging.mglue.antpower.org" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="ReceiveMsgFailureException">
<complexContent>
<extension base="tns3:MGlueException">
<sequence/>
</extension>
</complexContent>
</complexType>
<complexType name="SendMsgFailureException">
<complexContent>
<extension base="tns3:MGlueException">
<sequence/>
</extension>
</complexContent>
</complexType>
</schema>
please give me some advice
Thanks in advance.
[ April 07, 2004: Message edited by: Deedy Dee ]
19 years ago
Problem Description:
Two Package need deployed on JBoss: agent.war and msc.jar。
agent.war is a jaxm application. The main part of it is a Servlet class which extends JAXMServlet and implements ReqRespListener. Called HttpAdapter。
msc.jar is our EJBs including stateless sessionBean and CMP。
(1) Start JBoss3.6,pre-Deploy: jaxm-provider.war, jaxm-provideradmin.war (from JAXM1.1.2);
(2) Deploy agent.war,done。then deploy msc.jar, ok。Then, We use a client to invoke HttpAdapter, also OK。Unfortunately,
(3) after we modified agent, redeploy new agent.war on JBoss。Deploy ok. But when client invokes HttpAdapter again. An error occurs: java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException。
(4) We restart JBoss, the problem is still there. 

Methods we taked:
(1) undeploy agent.war and msc.jar,restart JBoss。Change the deploy order of agent.war and msc.jar. deployment is ok. But We got the same error report.
(2) we combined agent.war and msc.jar into msc.ear. undeploy and Restart jboss. Deployment is success. But when client invokes ,still Error, but another:
10:59:38,856 ERROR [Engine] StandardWrapperValve[HttpAdapter]: Allocate exception for servlet HttpAdapter
javax.servlet.ServletException: Error allocating a servlet instance
... ...
10:59:38,863 ERROR [Engine] ----- Root Cause -----
java.lang.NoClassDefFoundError: javax/xml/messaging/JAXMServlet
Your Help needed:
We think the most possible cause is the confliction in deployment file or configurations. We greatly appreciate your kindness help. Thanks a lot.

Appendix:
(1) runtime Environment:
JBoss3.6 & Tomcat4 on Solaris8
(2) msc.ear�s application.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
<application>
<display-name>MscPlatform</display-name>
<module>
<ejb>msc.jar</ejb>
</module>
<module>
<web>
<web-uri>agent.war</web-uri>
<context-root>HttpAdapter</context-root>
</web>
</module>
</application>
(3) developing Environment:
JBuilder8, Windows2000& WindowsXP,
JBoss�s JBuilder8 Plugin :JBossOpenTool.jar
20 years ago
I finished my assignment of SCJD. I sent email to SunCert. He/she give right of upload to me.
but The browser show a "page not found " page to me When I upload. why, what should I do?
any help appreciated.
thanks.
Peter:
I think the Data class is not mine. It is writtern by others. I think I should not modify the Data. just like A software update. we should add a software patch instead of modify the software. This is the reason I choose extension instead of modification. I don't think about responsibility from OOP.
I find someone said that RMI Factory is suitable for this assignment. how to apply it?
peter:
If I don't want to modify Data Class. reference to what you said. I do some change on it somewhat
How do you think ?
interface DataInterface
interface LocalDataInterface extends DataInterface
interface RemoteDataInterface extends DataInterface Remote
DataExtension implements LocalDataInterface,extends Data
Add the lock(), unlock() and criteriafind() operation to DataExtension.
Is it ok? thanks.
-deedy
I am ready for SCJD now. I have some thought on implenting a network db by rmi.
There are four key components on implenting the network db. They are,Data,DataClient,RemoteData,DBClient.
Data has opertions to db.
DataClient hava the same methods as the Data Class.And DataClient has a refence to Data.
The RemoteDataFactory class extends UnicastRemoteObject.It returns a remote reference to a DataClient.
it is looks like a ConnectionFactory.
DBClient intend to ensure it is transparent for client to access db regardless of local or remote
Thoughts/comments/critism welcome.thanks.
How to manage the clientId in the server side, If apply the RMI Factory DP?

deedy
thanks for Don Liu and Mark.
when must I submit since I have downloaded the assignment?
Congratulation!
21 years ago
a.static class need no instance to access methods or variables
b.static class need an instance to access methods or variables
c.it is not possible to first level class as static
what are member variable ?
what are instance variable?
Is "contructor initialize all the variable" correct?