facebook

[Closed]Difficulties with WebSphere and ejb-jar.xml

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #245312 Reply

    Disgruntled
    Member

    I am trying to deploy an Enterprise Application generated with MyEclipse to WebSphere 5.1. WebSphere complains that my EAR is corrupt. I think it is because the ejb-jar.xml file has not been generated. I tried following this tutorial:

    http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/firstejb/index.html

    but still cannot get XDoclet to generate the ejb-jar.xml file. When I run XDoclet I briefly see a progress indicator in the lower right corner of the screen but nothing ever shows in the Console window and ejb-jar.xml is never generated.

    Am I missing something?

    #245345 Reply

    Riyad Kalla
    Member

    Can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.

    Also check your log file (workspace dir)\.metadata\.log for exceptions that may help us.

    #245395 Reply

    Disgruntled
    Member

    I will post the info requested in the Posting Guidelines at the end of this message. I looked at the log file as you suggested and can see the cause of the problem, though I’m not sure what to do to fix it. Here is the last exception reported in the log file:

    !ENTRY com.genuitec.jboss.ide.eclipse.xdoclet.assist 4 0 2006-01-25 16:53:24.217
    !MESSAGE Error while running XDoclet
    !STACK 1
    org.eclipse.core.runtime.CoreException: The archive: //Bryan/c$/Program Files/eclipse/c$/Program Files/eclipse/plugins/org.eclipse.swt.win32.win32.x86_3.1.1.jar which is referenced by the classpath, does not exist.
    at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1259)
    at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1245)
    at org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspathEntry(JavaRuntime.java:871)
    at org.eclipse.jdt.internal.launching.DefaultEntryResolver.resolveRuntimeClasspathEntry(DefaultEntryResolver.java:38)
    at org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspathEntry(JavaRuntime.java:876)
    at org.eclipse.jdt.launching.StandardClasspathProvider.resolveClasspath(StandardClasspathProvider.java:86)
    at org.eclipse.jdt.internal.launching.RuntimeClasspathProvider.resolveClasspath(RuntimeClasspathProvider.java:60)
    at org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspath(JavaRuntime.java:1149)
    at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getClasspath(AbstractJavaLaunchConfigurationDelegate.java:405)
    at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:71)
    at org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate.runInSeparateVM(AntLaunchDelegate.java:524)
    at org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate.launch(AntLaunchDelegate.java:194)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:590)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:515)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:152)
    at org.jboss.ide.eclipse.xdoclet.run.ui.XDocletRunAction$2.run(XDocletRunAction.java:375)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
    !SUBENTRY 1 org.eclipse.jdt.launching 4 150 2006-01-25 16:53:24.307
    !MESSAGE The archive: //Bryan/c$/Program Files/eclipse/c$/Program Files/eclipse/plugins/org.eclipse.swt.win32.win32.x86_3.1.1.jar which is referenced by the classpath, does not exist.

    I see two problems here. One, is the path it is referencing looks all wrong. It repeats Program Files twice. Second, the package it references is not on my PC anywhere. I don’t see it under the eclipse/plugins folder and I don’t see it under the MyEclipse/plugins folder either. Any idea where I can get this package from and how I can correct the path issue?

    Here is the config info:
    *** Date: Thu Jan 26 09:28:04 EST 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_04

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.200 M2
    Build id: 20051205-4.1-Milestone2

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Platform

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse RCP

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Java Development Tools

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Plug-in Development Environment

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse Project SDK

    Version: 3.1.1
    Build id: M20050929-0840

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    \\Bryan\c$\Program Files\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    744_60
    -vm
    C:\WINDOWS\system32\javaw.exe

    #245400 Reply

    Riyad Kalla
    Member

    Are you running Eclipse off of a remote share? Your path looks screwy… also did you try restarting using -clean command line argument?

    #245408 Reply

    Disgruntled
    Member

    I think the problem was that I was running 4.1 M2. I installed 4.1 GA today and everything seems OK now.

    #245411 Reply

    Disgruntled
    Member

    To answer the question about running off a remote share… no, it’s installed to my local harddrive. I ran the installer off a remote share though, maybe this is why it seems to be using UNC paths?

    Per my previous message though, everything seems OK now that I have upgraded to 4.1 GA.

    Bryan

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: [Closed]Difficulties with WebSphere and ejb-jar.xml

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