facebook

Problems when starting JBoss

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

    pradeepgunda
    Member

    I have installed myEclipse and jboss 3.2.3 on my system and I have configured myEclipse to point to jboss 3.2.3 using Windows–>Preferences–>MyEclipse–>ApplicationServers–>JBoss3 by providing the jboss 3.2.3 location and also I have used the correct JBoss JDK Name to point to jre 1.4.2 location. When I try to start the server I am getting the following problem:

    “A configuration error occurred during startup. Please Verify the preference field with the prompt:JBoss JDK Name”. Could you help me in fixing this problem? I have configured both JRE and the correct JBoss location but I am still getting the problem..

    @support-michael wrote:

    This problem is most likely that your JBoss connector is not configured to launch JBoss using a JDK. A JRE will not work due to requirements for dynamic compilation of JSP and EJB proxy generation. You configure the JDK for JBoss under the JBoss JDK preference page, i.e., Windows->Preferences->MyEclipse->Application Servers->JBoss->JDK. If you don’t explicitly initialize the JVM, MyEclipse will try to use the default JVM environment for which Eclipse is configured. Many times this will be j2rexxx, which is not a JDK. When you visit this page and set or verify the JDK value correctly make sure that you select the “Apply” button followed by “OK” to ensure the preference values are properly persisted.

    Michael
    MyEclipse Support

    #230080 Reply

    Scott Anderson
    Participant

    Pradeep,

    This exact configuration error and its remedy are covered in the Using Application Servers quickstart here:
    http://www.myeclipseide.com/images/tutorials/quickstarts/appservers/

    #245883 Reply

    yerabbit
    Member

    Dear Expert Support Team:

    I have installed eclipse on the local machine and JBoss4 in the remote machine. I have configured myEclipse to point to jboss 4 using Windows–>Preferences–>MyEclipse–>ApplicationServers–>JBoss4 , I have set “\\203.80.2.68\jboss-4.0.3SP1” for the JBoss Home Directory. I have also used java sdk instead of jre already for my java setting in eclipse. When I click Debug, the following output appears, I have verified that the file jboss-service.xml is accessible and the path “file://203.80.2.68/jboss-4.0.3SP1/server/default/conf/”is exist, please help, thanks a lot: 🙂 JBOSS 4.0.3SP1 is used.

    14:47:53,688 INFO [Server] Starting JBoss (MX MicroKernel)…
    14:47:53,704 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)
    14:47:53,735 INFO [Server] Home Dir: \\203.80.2.68\jboss-4.0.3SP1
    14:47:53,735 INFO [Server] Home URL: file://203.80.2.68/jboss-4.0.3SP1/
    14:47:53,751 INFO [Server] Patch URL: null
    14:47:53,751 INFO [Server] Server Name: default
    14:47:53,751 INFO [Server] Server Home Dir: \\203.80.2.68\jboss-4.0.3SP1\server\default
    14:47:53,751 INFO [Server] Server Home URL: file://203.80.2.68/jboss-4.0.3SP1/server/default/
    14:47:53,751 INFO [Server] Server Temp Dir: \\203.80.2.68\jboss-4.0.3SP1\server\default\tmp
    14:47:53,766 INFO [Server] Root Deployment Filename: jboss-service.xml
    14:47:57,923 INFO [ServerInfo] Java version: 1.5.0_05,Sun Microsystems Inc.
    14:47:57,923 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_05-b05,Sun Microsystems Inc.
    14:47:57,923 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
    14:49:30,751 INFO [Server] Core system initialized
    Failed to boot JBoss:
    org.jboss.deployment.DeploymentException: url file://203.80.2.68/jboss-4.0.3SP1/server/default/conf/jboss-service.xml could not be opened, does it exist?
    at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:191)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:752)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
    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:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    at $Proxy5.deploy(Unknown Source)
    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
    at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
    at org.jboss.Main.boot(Main.java:187)
    at org.jboss.Main$1.run(Main.java:438)
    at java.lang.Thread.run(Thread.java:595)
    14:49:30,798 INFO [Server] Runtime shutdown hook called, forceHalt: true
    14:49:30,813 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
    Shutting down
    14:51:00,235 INFO [Server] Shutdown complete
    Shutdown complete
    Halting VM

Viewing 3 posts - 16 through 18 (of 18 total)
Reply To: Problems when starting JBoss

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