facebook

Error in jboss.xml file [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #208730 Reply

    vzapponi
    Member

    – System Setup ——————————-
    Operating System and version: w2k & wxp-pro
    Eclipse version:3.08M
    Eclipse build id:
    Fresh Eclipse install (y/n): y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
    MyEclipse version: 3.7.2
    Eclipse JDK version: 1.4.2_4
    Application Server JDK version: 1.4.2_4
    Are there any exceptions in the Eclipse log file? Y

    – Message Body ——————————-
    When I import a Project from a Computer to another (eg. from my home computer to my mobile) all is ok, only the .xml for deploy in JBoss. In this file I have an error point (red cross) on the first tag <jboss> without any message.
    In eclipse workspace log I have this error:
    !MESSAGE /C:/eclipse30M8/eclipse/workspace/.metadata/.plugins/com.genuitec.eclipse.xmen/dtd/http___www.jboss.org_j2ee_dtd_jboss_3_2.dtd
    !ENTRY org.eclipse.osgi giu 17, 2004 23:44:14.645
    !MESSAGE Error while stopping “reference:file:c:/eclipse30M8/eclipse/plugins/org.eclipse.ant.core_3.0.0/ [54]”.
    !STACK 0
    org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.compatibility.PluginActivator.stop()
    at org.eclipse.osgi.framework.internal.core.BundleContext.stop(BundleContext.java:1044)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:482)
    at org.eclipse.osgi.framework.internal.core.Bundle.stop(Bundle.java:447)
    at org.eclipse.core.runtime.adaptor.BundleStopper.stopBundles(BundleStopper.java:54)
    at org.eclipse.core.runtime.adaptor.BundleStopper.stopBundles(BundleStopper.java:47)
    at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:472)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:431)
    at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:181)
    at java.lang.Thread.run(Unknown Source)
    Nested exception:
    java.lang.NullPointerException
    at org.eclipse.debug.internal.core.EnvironmentVariableResolver.resolveValue(EnvironmentVariableResolver.java:27)
    at org.eclipse.core.internal.variables.DynamicVariable.getValue(DynamicVariable.java:49)
    at org.eclipse.ant.core.AntCorePreferences.getToolsJarEntry(AntCorePreferences.java:652)
    at org.eclipse.ant.core.AntCorePreferences.updateAdditionalEntries(AntCorePreferences.java:1294)
    at org.eclipse.ant.core.AntCorePreferences.updatePluginPreferences(AntCorePreferences.java:1218)
    at org.eclipse.ant.core.AntCorePlugin.shutdown(AntCorePlugin.java:161)
    at org.eclipse.core.internal.compatibility.PluginActivator.stop(PluginActivator.java:66)
    at org.eclipse.osgi.framework.internal.core.BundleContext$2.run(BundleContext.java:1028)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContext.stop(BundleContext.java:1024)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:482)
    at org.eclipse.osgi.framework.internal.core.Bundle.stop(Bundle.java:447)
    at org.eclipse.core.runtime.adaptor.BundleStopper.stopBundles(BundleStopper.java:54)
    at org.eclipse.core.runtime.adaptor.BundleStopper.stopBundles(BundleStopper.java:47)
    at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:472)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:431)
    at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:181)
    at java.lang.Thread.run(Unknown Source)
    !SESSION giu 17, 2004 23:45:45.576 ———————————————
    java.version=1.4.2_04
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
    !ENTRY org.eclipse.osgi giu 17, 2004 23:45:45.576
    !MESSAGE Bundle reference:file:c:/eclipse30M8/eclipse/plugins/org.eclipse.jdt.debug_3.0.0/ [29] was not resolved
    !ENTRY org.eclipse.osgi giu 17, 2004 23:45:45.576
    !MESSAGE Bundle reference:file:c:/eclipse30M8/eclipse/plugins/org.eclipse.debug.ui_3.0.0/ [57] was not resolved

    Thank you
    Vittorio

    #208740 Reply

    Riyad Kalla
    Member

    Vittorio,
    Try right clicking in the XML file and select “Validate”. Did that change anything?

    #208768 Reply

    vzapponi
    Member

    No, nothing happens: the red cross remain on the left of XML code and I cannot deploy on Jboss

    Thank you
    Vittorio

    #208769 Reply

    Riyad Kalla
    Member

    Vittorio,
    Is this jboss.xml (I’m not farmiliar with it) a deployment file that is part of your project that JBoss reads/uses? Can you post the top of the file which includes the XML spec and DOCTYPE definition here for us to look at? Also are you behind a HTTP proxy? Can you copy-paste the URI for the DTD you are using into a browser Window and see if it can be loaded?

    If none of this works, go to Window > Preferences > MyEclipse > Editors > XML Editor > Configuration and turn off the “Use cache” setting, then hit OK and close and reopen your file then validate it. Did it help?

    #208791 Reply

    vzapponi
    Member

    Ok, the last instruction has worked. Disabling the cache for XML editor and validating jboss.xml the red cross was canceled, but the red cross remains on the name of project with no other errors detected on packages, META-INF, etc.
    10x very much
    Vittorio

    #208794 Reply

    Riyad Kalla
    Member

    red cross remains on the name of project

    Try and refresh and then rebuild the entire project (must highlight the root node then go to Project > Rebuild Project).

    10x very much

    No problem.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Error in jboss.xml file [Closed]

You must be logged in to post in the forum log in