J2SDKEE 1.4 Deploytool problem

The problem is as follows. The platform is Windows XP and J2SDKEE 1.4. I'm following the same deployment procedura as in 1.2 version. But there is a problem, i.e. the deploytool is not generating deployment descriptor. I'cant deploy the supplied J2SDK EE example also. Any suggestions?
LVL 3
msterjevAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
moduloConnect With a Mentor Commented:
PAQ'd and points refunded

modulo

Community Support Moderator
Experts Exchange
0
 
antonsigurCommented:
Have you setup the J2EE_HOME right? Are the bin directory in the path? Have you started the database? (cloudscape -start) Are there any errors when starting the J2EE server, try j2ee -verbose...
0
 
msterjevAuthor Commented:
The problem is with the Xerces, i.e. this is an error getted from log file in the moment when the deploytool tries to generate deployment descriptor (or parse in the case of pregenerated ear's):

org.w3c.dom.DOMException: DOM003 Namespace error
      at org.apache.xerces.dom.AttrNSImpl.<init>(AttrNSImpl.java:129)
      at org.apache.xerces.dom.CoreDocumentImpl.createAttributeNS(CoreDocumentImpl.java:1422)
      at org.apache.xerces.dom.ElementImpl.setAttributeNS(ElementImpl.java:596)
      at com.sun.enterprise.deployment.node.DeploymentDescriptorNode.setAttribute(DeploymentDescriptorNode.java:501)
      at com.sun.enterprise.deployment.node.LocalizedNode.writeLocalizedMap(LocalizedNode.java:65)
      at com.sun.enterprise.deployment.node.DisplayableComponentNode.writeDisplayableComponentInfo(DisplayableComponentNode.java:57)
      at com.sun.enterprise.deployment.node.BundleNode.writeDescriptor(BundleNode.java:104)
      at com.sun.enterprise.deployment.node.ejb.EjbBundleNode.writeDescriptor(EjbBundleNode.java:167)
      at com.sun.enterprise.deployment.node.J2EEDocumentBuilder.getDocument(J2EEDocumentBuilder.java:77)
      at com.sun.enterprise.tools.deployment.ui.shared.DescriptorViewer$XMLTextArea.updateXMLText(DescriptorViewer.java:638)
      at com.sun.enterprise.tools.deployment.ui.ejb.NewEjbWizard.goForward(NewEjbWizard.java:929)
      at com.sun.enterprise.tools.deployment.ui.utils.Wizard._goForward(Wizard.java:628)
      at com.sun.enterprise.tools.deployment.ui.utils.Wizard$1.actionPerformed(Wizard.java:157)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
      at java.awt.Component.processMouseEvent(Component.java:5021)
      at java.awt.Component.processEvent(Component.java:4818)
      at java.awt.Container.processEvent(Container.java:1380)
      at java.awt.Component.dispatchEventImpl(Component.java:3526)
      at java.awt.Container.dispatchEventImpl(Container.java:1437)
      at java.awt.Component.dispatchEvent(Component.java:3367)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
      at java.awt.Container.dispatchEventImpl(Container.java:1423)
      at java.awt.Window.dispatchEventImpl(Window.java:1566)
      at java.awt.Component.dispatchEvent(Component.java:3367)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
      at com.sun.enterprise.tools.deployment.ui.utils.UIEventQueue.dispatchEvent(UIEventQueue.java:167)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:134)
      at java.awt.Dialog.show(Dialog.java:524)
      at com.sun.enterprise.tools.deployment.ui.utils.UIDialog._showDialog(UIDialog.java:356)
      at com.sun.enterprise.tools.deployment.ui.utils.UIDialog.show(UIDialog.java:415)
      at com.sun.enterprise.tools.deployment.ui.utils.Wizard.show(Wizard.java:537)
      at com.sun.enterprise.tools.deployment.ui.utils.Wizard.show(Wizard.java:500)
      at com.sun.enterprise.tools.deployment.ui.ejb.NewEjbWizard.show(NewEjbWizard.java:459)
      at com.sun.enterprise.tools.deployment.ui.ejb.NewEjbWizard._showWizard(NewEjbWizard.java:235)
      at com.sun.enterprise.tools.deployment.ui.ejb.NewEjbWizard.newModule(NewEjbWizard.java:218)
      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 com.sun.enterprise.tools.deployment.ui.utils.UIActionDispatcher.invoke(UIActionDispatcher.java:365)
      at com.sun.enterprise.tools.deployment.ui.shared.ModuleManagerImpl.createNewModule(ModuleManagerImpl.java:217)
      at com.sun.enterprise.tools.deployment.ui.DeployToolWindow.createNewModule(DeployToolWindow.java:1507)
      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 com.sun.enterprise.tools.deployment.ui.utils.UIActionDispatcher.invoke(UIActionDispatcher.java:365)
      at com.sun.enterprise.tools.deployment.ui.utils.UIActionDispatcher.invoke(UIActionDispatcher.java:387)
      at com.sun.enterprise.tools.deployment.ui.utils.UIActionDispatcher.actionPerformed(UIActionDispatcher.java:468)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
      at com.sun.enterprise.tools.deployment.ui.utils.UIMenu$UIMenuItem.fireActionPerformed(UIMenu.java:380)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
0
 
msterjevAuthor Commented:
And, the J2EE is not starting because of JMS service:

INFO: Starting JMS service...
WARNING: Couldn't start JMS service...
SEVERE: J2EE server startup error
java.lang.Exception
     at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:244)
     at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:239)
     at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)
     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.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Caused by: javax.jms.JMSException: Cannot start JMSService
     at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.java:92)
     at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:176)
     ... 7 more
SEVERE: J2EE server fatal error
java.lang.RuntimeException
     at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:334)
     at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)
     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.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Caused by: java.lang.Exception
     at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:244)
     at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:239)
     ... 6 more
Caused by: javax.jms.JMSException: Cannot start JMSService
     at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.java:92)
     at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:176)
     ... 7 more


As I sad the operationg system is Windows XP, and locale is MK.
0
All Courses

From novice to tech pro — start learning today.