JBoss and Eclipse Problem

Hi @ all,
i'm trying to learn J2EE technology with jboss and eclipse dev.kit.
I use the Jboss/eclipse tutorial (http://prdownloads.sourceforge.net/jboss/Tutorial-1.3.0.pdf)
but there are several problems with the ear-file.
This error will be processed if I try to deploy the package to the jboss
server:
14:20:12,765 WARN [ServiceController] Ignoring request to stop nonexistent service: jboss.j2ee:service=EARDeployment,url='FiboApp.ear'
14:20:12,765 WARN [ServiceController] Ignoring request to stop nonexistent service: null
14:20:12,765 INFO [EJBDeployer] Undeploying: file:/C:/jboss-4.0.0/server/default/tmp/deploy/tmp3781FiboApp.ear-contents/FiboEJB.jar
14:20:12,765 WARN [ServiceController] Ignoring request to stop nonexistent service: null
14:20:12,765 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/C:/jboss-4.0.0/server/default/deploy/FiboApp.ear
14:20:12,781 WARN [ServiceController] Ignoring request to destroy nonexistent service: jboss.j2ee:service=EARDeployment,url='FiboApp.ear'
14:20:12,781 WARN [ServiceController] Ignoring request to remove nonexistent service: jboss.j2ee:service=EARDeployment,url='FiboApp.ear'
14:20:12,843 WARN [ServiceController] Ignoring request to destroy nonexistent service: null
14:20:12,843 WARN [ServiceController] Ignoring request to remove nonexistent service: null
14:20:12,843 WARN [DeploymentInfo] Could not delete file:/C:/jboss-4.0.0/server/default/tmp/deploy/tmp3781FiboApp.ear restart will delete it
14:20:37,906 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.0/server/default/deploy/FiboApp.ear
14:20:37,984 INFO [EARDeployment] Registration is not done -> stop
14:20:37,984 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.0.0/server/default/deploy/FiboApp.ear
org.jboss.deployment.DeploymentException: Error in accessing application metadata: ; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EARDeployment,url='FiboApp.ear' already registered.)
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:270)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:799)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:736)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
Caused by: javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EARDeployment,url='FiboApp.ear' already registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:755)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1397)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1392)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:359)
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:262)
... 21 more
Can anybody help.
Thx in advance.
Greets from Germany
Ben

Hi, I ran into Sam problem. I have the Eclipse 3.1.0, JBOSS 4.0.1sp1, JBoss-IDE 1.3.0 running under JDK 1.5.0.02. It appers for sum resion that the jboss-web.xml is not getting the name of the �<ejb-ref-name></ejb-ref-name>�. if I manually add the name so it looks like this: �<ejb-ref-name>ejb/Fibo</ejb-ref-name>� the project deploys. I am new to this as well and am not shore what needs to be changed to fix this in the build. I am thinking it�s a problem in the way XDoclet parses the source for the META DATA.

Similar Messages

  • Jboss and eclipse, problems with JNDI

    Hi, i have managed to deploy my j2ee application (according to jboss), its a simple HelloWorld app, problem is when i try to look it up.
    In the client:
    System.out.println("starter");
    Context context = new InitialContext();
    System.out.println("etter context");
    Object objref = context.lookup("HelloWorld");
    // Stops here and a javax.naming.NoInitialContextException is thrown...
    // What is wrong?
    The jboss.xml file looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss_2_4.dtd">
    <jboss>
    <enterprise-beans>
    <session>
    <ejb-name>HelloWorld</ejb-name>
    <jndi-name>ejb/HelloWorld</jndi-name>
    </session>
    </enterprise-beans>
    <resource-managers>
    </resource-managers>
    </jboss>

    I have managed to run the file now but i had to do it from command prompt and include every jar file from jboss + the files in my project. My problem now is an eclipse problem i think.
    I have created a client wich looks up the ejb, but the thing is that i have to manually import a bunch of jboss jar-files to get it to work. isn't there a way i can make eclipse / jboss import those jar's automatically? perhaps create a client automatically or something?
    Hope someone can help..

  • Building J2EE Applications using JBOSS and ECLIPSE 3.0

    Hi all
    i am trying to deploy a J2EE application using JBOSS3.2.5 and Eclipse 3.0.
    I have written the EJB bean, home, remote and a test JSP page. Can someone tell me the exact procedure...step by step ways to deploy the JBOSS server and run my application.
    My package structure is
    MyProject
    ejb
    client
    Servlet.java
    server
    Bean.java
    shared
    home.java
    remote.java
    please tell the various jar files that i must include. Kindly give information about the directory structure, the xml file details and the WAR file generation
    Thankz in advance
    Arun :)

    That is a lot of stuff! At a basic level, you can create an EAR file and put it in the JBoss auto-deployment directory. In the EAR file you should have a WAR file for the web component and a JAR file for the EJB component. And inside each archive there should be a valid deployment descriptor that contains configuration data for the component. When you start up JBoss, the application will be deployed and accessible via web browser, or there will be error messages written to the server log.

  • JBoss and Handler problem !

    Hi,
    I am deploying a simple service on JBoss4.0.3SP1. Service itself (wothout handlers) work excellent. However, when I add simple handler:
    package handlers;
    public class LogHandler extends GenericHandler{
      HandlerInfo hi;
      public void init(HandlerInfo info){
        this.hi=info;
      public boolean handleRequest(MessageContext mc){
        logMessage(mc,System.out);
        return true;
      public boolean handleResponse(MessageContext mc){
        logMessage(mc,System.out);
        return true;
      public void logMessage(MessageContext mc, OutputStream out){
        SOAPMessageContext smc=(SOAPMessageContext)mc;
        SOAPMessage sm=smc.getMessage();
        try{
          sm.writeTo(out);
          out.write(System.getProperty("line.separator").getBytes());
        }catch(IOException e){
          e.printStackTrace(System.out);
        }catch(SOAPException e){
          e.printStackTrace(System.out);
      public QName[] getHeaders() {
        return hi.getHeaders();
    }in my webservice.xml file
    <?xml version="1.0" encoding="utf-8"?>
    <webservices xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd" version="1.1">
         <webservice-description>
           <webservice-description-name>Math</webservice-description-name>
           <wsdl-file>WEB-INF/wsdl/Math.wsdl</wsdl-file>
           <jaxrpc-mapping-file>WEB-INF/mapping.xml</jaxrpc-mapping-file>
           <port-component>
             <port-component-name>MathService</port-component-name>
             <wsdl-port>MathServicePort</wsdl-port>
             <service-endpoint-interface>service.MathService</service-endpoint-interface>
             <service-impl-bean>
               <servlet-link>MathServletService</servlet-link>
             </service-impl-bean>
             <handler>
               <handler-name>handlers.LogHandler</handler-name>
               <handler-class>handlers.LogHandler</handler-class>
             </handler>
           </port-component> 
         </webservice-description>
    </webservices>I get this error.
    06:32:13,234 INFO  [AxisServlet] org.jboss.axis.ConfigurationException: org.jbos
    s.webservice.server.ServiceException: Cannot initialize webservice; nested excep
    tion is:
            javax.xml.rpc.JAXRPCException: Cannot initialize handler chain
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode:
    faultString: Cannot initialize webservice; nested exception is:
            javax.xml.rpc.JAXRPCException: Cannot initialize handler chain
    faultActor:
    faultNode:
    faultDetail:Any idea how I can sort it out ?
    Many thanks for you help
    Michal

    Hi, I ran into Sam problem. I have the Eclipse 3.1.0, JBOSS 4.0.1sp1, JBoss-IDE 1.3.0 running under JDK 1.5.0.02. It appers for sum resion that the jboss-web.xml is not getting the name of the �<ejb-ref-name></ejb-ref-name>�. if I manually add the name so it looks like this: �<ejb-ref-name>ejb/Fibo</ejb-ref-name>� the project deploys. I am new to this as well and am not shore what needs to be changed to fix this in the build. I am thinking it�s a problem in the way XDoclet parses the source for the META DATA.

  • Jboss Server starting problem with eclipse

    {color:#000080}+i am using eclipse 3.4.2 and jboss.When i start jboss serve the following error is getting!!!!+{color}
    {color:#993300}DEPLOYMENTS IN ERROR:
    Deployment "TransactionManager" is in error due to the following reason(s): **ERROR**, java.lang.ExceptionInInitializerError: java.net.MalformedURLException: unknown protocol: e
    Deployment "jboss.jca:service=WorkManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **
    Deployment "jboss:service=invoker,type=unified" is in error due to the following reason(s): Configured
    Deployment "<UNKNOWN DefaultUserTransactionprovider>" is in error due to the following reason(s): ** UNRESOLVED Demands 'TransactionManager' **
    Deployment "jboss:service=TransactionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss:service=TransactionManager' **
    Deployment "jboss.jca:service=CachedConnectionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **
    Deployment "jboss.web:service=WebServer" is in error due to the following reason(s): Configured{color}
    Its URGENT
    Thanks in advance_+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Problems like this don't cease to amaze me.
    We are in the year of 2009 and this problem is most probably caused because jboss is started from a path which contains one or more space.
    Try move your jboss installation or eclipse installation (i am not familiar how jboss in installed inside eclipse) to a folder with no spaces and the problem should go away.
    It is sad that nice software like jboss has stupid bugs like this. Oh and it migh not be jboss but the JVM. It is silly in any case...

  • Jdk 1.5.0_04 and Eclipse with SuSE Linux - startup problems with Eclipse

    Hi,
    I have SuSE Linux 9.3 and just downloaded Jdk 1.5.0_04 and Eclipse IDE 3.1 for Linux.
    I have sucessfully installed Java in the following directory under Linux:
    '/usr/java/jdk1.5.0_04'
    And I also have downloaded Eclipse IDE 3.1 for Linux. I have unzipped it into the following directory:
    '/home/juergenkemeter/bin/eclipse/eclipse
    I have chosen the upper Java JRE in the Eclipse preferences.
    Now to my problem:
    Sometimes it happens that when I startup Eclipse or try to runa java program, Eclipse is shut down with a) no comment at all, or b) with an error message "JVM terminated. Exit code = 1 (...)". I can send the picture of the whole screenshot of the error message if it helps.
    Now I think that this is due to wrong installation paths of the Jdk and Eclipse?! Perhaps there are some conflicts regarding user rights (admin and the normal user 'juergenkemeter'.
    If anyone has suggestions, that would be helpful. Its nasty when Eclipse shuts down while programming...
    cheers,
    J�rgen

    I only used the getSystemResource because it is slightly more convenient. The
    getResource version requires a "/" in front of the filename, as in:
    java.net.URL imageURL = getClass().getResource("/" + imageName);
    System.out.println("Loading icon: " + imageName);
    for (int i = 0; i < 32000; i++)
    System.out.println(i);
    icon = new ImageIcon(imageURL);
    Unfortunately, this still deadlocks after a few thousand hits.
    Of course, I don't need thousands of icons in my application, but the real-world issue is that the program locks up every few times it is started, which is a real drag for the customers!
    I suppose the InputStream way would work, though it is not very elegant compared to loading the resource in the usual manner. I'll try it if there are no other suggestions.
    Thanks,
    Dan

  • OS:win7 x64, both JRE 32bit and 64bit problem for eclipse?[jre-6u18]

    I can launch both eclipse_x32 and eclipse_x64 after installed jre-6u18-windows-i586 and jre-6u18-windows-x64 at the same time
    and set the system environment (PATH:C:\Program Files (x86)\Java\jre6\bin;C:\Program Files\Java\jre6\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerS).
    Now i update the jre which are jre-6u18-windows-i586 and jre-6u18-windows-x64 , but i can not run the eclipse_32 and eclipse_64 at the same time.
    If i set set the system environment (PATH:C:\Program Files (x86)\Java\jre6\bin;C:\Program Files\Java\jre6\bin;) , i can just run the eclipse x32.
    If i set set the system environment (PATH:C:\Program Files\Java\jre6\bin;C:\Program Files (x86)\Java\jre6\bin;) , i can just run the eclipse x64.
    i use eclipse-SDK-3.5.1-win32-x64.zip and eclipse-jee-galileo-win32.zip from www.eclipse.org.
    Please professors help me .
    THANKS.
    Edited by: fjjiaboming on Feb 25, 2010 8:56 AM
    Edited by: fjjiaboming on Feb 25, 2010 9:27 AM

    any professors help ???
    SORRY, i write the wrong version.
    I could launch both eclipse_x32 and eclipse_x64 after installed jre-6u17-windows-i586.exe and jre-6u17-windows-x64.exe at the same time
    and set the system environment variables(PATH:C:\Program Files (x86)\Java\jre6\bin;C:\Program Files\Java\jre6\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerS).
    Now i update the jre which are jre-6u18-windows-i586.exe and jre-6u18-windows-x64.exe and jdk which is jdk-6u18-windows-x64.exe , but i can not launchthe eclipse_32 and eclipse_64 at the same time.
    If i set set the system environment variables(PATH:C:\Program Files (x86)\Java\jre6\bin;C:\Program Files\Java\jre6\bin;) , i can launch run the eclipse x32.
    If i set set the system environment variables(PATH:C:\Program Files\Java\jre6\bin;C:\Program Files (x86)\Java\jre6\bin;) , i can launch run the eclipse x64.
    i use eclipse-SDK-3.5.1-win32-x64.zip and eclipse-jee-galileo-win32.zip from www.eclipse.org.
    Please professors help me .
    THANKS.
    Edited by: fjjiaboming on Feb 25, 2010 8:11 PM

  • Getting started with ATG and Eclipse

    Hi,
    I am newbie in ATG web commerce. I am doing some R&D how to integrate ATG with eclipse JBoss and oracle. I searched on Google, there is one very interesting topic about getting started with atg, jboss, oracle :
    http://atgdeveloper.wordpress.com/2009/04/19/getting-started-with-atg-jboss-and-oracle
    It is very helpful to me but there is one problem what are the requirements of eclipse to integrate it with ATG. Is there any ATG plugin, which I can download all the plugin for eclipse and please can anyone help me if there is any ATG configuration documentation available, please share link or document(if there is complete step-by-step documentation available).
    I will greatly thankful to you. Very very thanks in advance.
    Thanks,
    Manveer
    Edited by: msingh on Nov 9, 2011 3:37 AM
    Edited by: msingh on Nov 9, 2011 3:38 AM

    Hi GarethR,
    I have a looked on ATGInstallationGuide.pdf, which url it shows is not working http://www.atg.com/eclipse. I think the url for ATG plugin has been changed now but I didn't found that url on google. Can you please help me to get correct url.
    When I try to use this url using eclipse update manager. It shows me no features available for this site.
    Thanks,
    Manveer

  • Really impossible to create a web service for JBoss using eclipse's WTP?

    I'm starting to get nuts!!!
    I'm an experienced J2SE and J2ME Java developer... but I have huge problems creating a web service using eclipse WTP!
    The tutorials I found are for tomcat... But I want to code for JBoss and not for tomcat...!!!
    There must be somebody out there with the same issues...
    This tutorial works fine for Tomcat...
    http://www.eclipse.org/webtools/community/tutorials/BottomUpWebService/BottomUpWebService.html
    But if I do the same with JBoss... it's not possible to incoke my web service method... ok, I thought... just need to check google... BUT I didn't find any solution in the whole WWW. Found a lot of questions of people with the same problems... but no solution! :(
    Still getting that:
    ERROR [EngineConfigurationFactoryServlet] Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd
    I know a little bit what a wsdd does... but isn't it the job of the WTP to create that file???
    I really hope you have some places for me to start, 'cause I don't know anymore places to ask for...
    Maybe this is a JBoss issue... I don't know...
    Or is there a tutorial on how to create a web Service using JBoss IDE?
    Sascha

    Hi Massimo,
    Quiet a few points here.
    1. Oracle Type objects do not map to XML Complex type
    2. Oracle Type objects do not map to Apex Page Item Types
    3. Apex Page Item types are substituted into the WS Request XML by a process which is part of the Web Service Reference creation through the Wizard in Apex.
    >
    After created the web service (without any errors), I click on test.
    - I can select the Operation --> CREATE_LINGUA
    - I can input data for Basic Authentication
    - I can't view Input Parameters --> Report returned no rows.
    I've tried with normal type like Varchar2 and all was ok.
    Is possible in Apex to use web services based on complex type, tipically an Array?
    >
    As you have guessed the Wizard driven Web Service Reference definition process cannot handle complex types of input parameters required by a Request. By definition the number of complex types possible are infinite, so they are not likely to come built in.
    Passing an array is no solution because finally the values passed have to be plugged into the right SimpleTypes inside a ComplexType in the Request.
    Based on your WSDL your Request will be
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cre="http://xmlns.oracle.com/orawsv/GRIMALDI/PKG_WEBSERVICES/CREATE_LINGUA">
       <soapenv:Header/>
       <soapenv:Body>
          <cre:SNUMBER-CREATE_LINGUAInput>
             <cre:PLINGUA-LINGUAT-CIN>
                <cre:LINGUAT>
                   <cre:CODICE>?</cre:CODICE>
                   <cre:DESCRIZIONE>?</cre:DESCRIZIONE>
                </cre:LINGUAT>
             </cre:PLINGUA-LINGUAT-CIN>
          </cre:SNUMBER-CREATE_LINGUAInput>
       </soapenv:Body>
    </soapenv:Envelope>However, all is not lost. You can always use the UTL_HTTP package API to construct your Request.
    Regards,

  • How to deploy a .war file in jboss  using eclipse

    Hi,
    iam new to using eclipse as my ide. i have installed the jboss ide in it. i have a servlet and i would like to deploy the servlet in jboss through eclipse, can some one help me with this

    Hi,
    This forum is exclusively for Sun Java Studio Creator.
    Please post the question in the appropriate forum.
    Thanks,
    Creator Team

  • JBoss and local interfaces (JNDI)

    I'm trying to do simple example involving local interfaces on JBoss.
    There is Bar remote interface, which uses Foo, local interface. And the problem is - i cant locate Foo within Bar:
    ejb-jar.xml:
    <session>
    <ejb-name>BarEjb</ejb-name>
    </session>
    <entity>
    <ejb-name>FooEjb</ejb-name>
    </entity>To make FooEjb accessible for Bar via local interface, as manual says, i have to put additional reference in ejb-jar.xml for Bar:
    <ejb-local-ref>
         <ejb-ref-name>LocalFooEjb</ejb-ref-name>
         <ejb-ref-type>Entity</ejb-ref-type>
         <local-home>beans.FooHome</local-home>
         <local>beans.Foo</local>
         <ejb-link>FooEjb</ejb-link>
    </ejb-local-ref>But it doesnt change anything, JBoss maps Foo like this: "Bound EJB LocalHome 'FooEjb' to jndi 'local/FooEjb@13595063'", and
    public class  Bar ... {
    Object ref = context.lookup("LocalFooEjb");
    }resuluts in exception:
    "java.lang.RuntimeException: LocalFooEjb not bound ..."
    Question: how do i map local interfaces within JBoss to some human-readable and predictable name?
    Thanks for help.
    update:
    specifying JNDI names in jboss.xml does the trick, but i still dont understand why JBoss ignores local-ref element. So anyone who can explain is welcome.
    jboss.xml
    ...xml declaration..
    <jboss>
         <enterprise-beans>
              <session>
                   <ejb-name>StockListEjb</ejb-name>
                   <jndi-name>remote/StockListEjb</jndi-name>
              </session>
              <entity>
                   <ejb-name>StockEjb</ejb-name>
                   <local-jndi-name>local/StockEjb</local-jndi-name>
              </entity>
         </enterprise-beans>
    </jboss>Edited by: anykeyN on Jun 29, 2008 7:06 AM

    [skipped]

  • WindowsLookAndFeel on Linux : BIG  and complete PROBLEM

    Hello,
    I have implemented a GUI application with the windows look and feel. I work under Linux with the jdk 1.3 and eclipse.
    To run my application with the windows lf, I add the following lines in my code :
    System.setProperty("os.name","Not Windows");
    try {
         UIManager.setLookAndFeel(new WindowsLookAndFeel());
    } catch (Exception e) {
              e.printStackTrace();
              SwingUtilities.updateComponentTreeUI(getRootPane());
    In Eclipse, it works well, but an execution from the line command in a Xterm generate the following exception :
    java.lang.NumberFormatException: multiple points
         at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1073)
         at java.lang.Float.valueOf(Float.java:186)
         at com.sun.java.swing.plaf.windows.WindowsLookAndFeel.initialize(WindowsLookAndFeel.java:108)
    It seems that the problem is caused by the following line :
    System.getProperty("os.name","Not Window");
    the system property os.name is parsed as a float.
    what can I do to run my application with the windows lf and under linux ?
    any help will be helpful
    Regards,
    Anne

    In Eclipse, it works well, but an execution from the
    line command in a Xterm generate the following
    exception :
    java.lang.NumberFormatException: multiple points
    at
    java.lang.FloatingDecimal.readJavaFormatString(Floatin
    Decimal.java:1073)
         at java.lang.Float.valueOf(Float.java:186)
    at
    com.sun.java.swing.plaf.windows.WindowsLookAndFeel.ini
    ialize(WindowsLookAndFeel.java:108)Make sure that Eclipse is using the JDK matching the JRE you use to run the program (Windows/Preferences/Java/installed JREs or somesuch)
    It seems that the problem is caused by the following
    line :
    System.getProperty("os.name","Not Window");
    the system property os.name is parsed as a float.Using an official System property is shooting yourself in the foot. You can't tell what else on in the Java runtime has a depency on it. You can set your own property
    for this (System.setProperty("MyFalseOpsSys","Not Windows")). I wonder what use you have for it since you force the Windows L&F anyway?
    >
    what can I do to run my application with the windows
    lf and under linux ?
    any help will be helpful Maybe find a JRE which supports it natively. Or, if you are very lucky, extract the relevant classes and resources from the JAR of a Windows JRE (in Sun's rt.jar, com/sun/java/swing/plaf/windows/) and put them into some independent JAR you add to your Linux classpath. For better luck, use the very same version for both JRE. Pray that there are no native methods involved.

  • Incompletely deployed packages Errors While Starting JBoss and Errors while Accessing LiveCycle Services

    After Configuring JBoss 4.2 for LiveCycle 8.2 using preinstallsingle.pdf  documentation on Linux platform . Deployed the following Jars to Jboss deploy/
    adobe-livecycle-jboss.ear
    adobe-livecycle-native-jboss-x86_linux.ear
    Statred the JBoss and successfully initialized  the adobe database schema using browser. That made me sure that my .ear are deployed successfully. After configuring the DataBase Schema  I am able to log in to the admin ui using u:administrator and p:password  . However I am not able to see any services under the services tab in admin ui . When I look back at the Server Logs I see the following Error
    2009-05-28 04:40:43,883 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
    --- Packages waiting for a deployer ---
    org.jboss.deployment.DeploymentInfo@ae49da0f { url=file:/mnt/sw/jboss-4.2.0.GA/server/all/deploy/hs_err_pid2824.log }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/mnt/sw/jboss-4.2.0.GA/server/all/deploy/hs_err_pid2824.log
      altDD: null
      lastDeployed: 1243500043882
      lastModified: 1243500043000
      mbeans:
    --- Incompletely deployed packages ---
    org.jboss.deployment.DeploymentInfo@ae49da0f { url=file:/mnt/sw/jboss-4.2.0.GA/server/all/deploy/hs_err_pid2824.log }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/mnt/sw/jboss-4.2.0.GA/server/all/deploy/hs_err_pid2824.log
      altDD: null
      lastDeployed: 1243500043882
      lastModified: 1243500043000
    and when I try to access the Rights Management ES webapplication , I am able to see the login ui but not able to log in with any user and on the server logs I get the following error
    2009-05-28 05:26:31,509 ERROR [STDERR] | [com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClient] errorCode:16385 errorCodeHEX:0x4001 message:Exception wrapped in DSCException is Null or NOT An Instance of UMException chainedException:ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: DirectoryManagerService not found.chainedExceptionMessage:Service: DirectoryManagerService not found. chainedException trace:ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: DirectoryManagerService not found.
            at com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl.getService(ServiceRegistryImp l.java:1084)
            at com.adobe.idp.dsc.registry.service.impl.ServiceRegistryImpl.getHeadActiveConfiguration(Se rviceRegistryImpl.java:935)
            at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.resolveConfiguration(ServiceEngineImpl.ja va:148)
            at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:73)
            at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:91)
            at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 5)
            at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
            at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
            at com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClient.findPrincipal(Direct oryManagerServiceClient.java:616)
            at com.adobe.edc.server.platform.UMHelper.getAnonymousPrincipal(UMHelper.java:447)
            at com.adobe.edc.ui.console.auth.RMSecurityFilter.isEndUser(RMSecurityFilter.java:43)
            at com.adobe.edc.ui.console.auth.RMSecurityFilter.allowUser(RMSecurityFilter.java:23)
            at com.adobe.idp.um.auth.filter.SecurityFilter.createNewSession(SecurityFilter.java:180)
            at com.adobe.idp.um.auth.filter.SecurityFilter.doFilter(SecurityFilter.java:126)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    I am not sure why jboss is not able to deploy my packages properly which I guess is accountable for missing services. Any help on this issue will be highly appriciated.
    Thanks and Regards,
    Shakra

    Hi,
    I am having exactly the same problem. Did you ever come to a resolution on this problem???
    Thanks,
    Darren

  • [svn] 2773: Update excludes list for JBoss and WebSphere.

    Revision: 2773
    Author: [email protected]
    Date: 2008-08-07 04:35:10 -0700 (Thu, 07 Aug 2008)
    Log Message:
    Update excludes list for JBoss and WebSphere.
    Modified Paths:
    blazeds/trunk/qa/features/excludes.properties

    JGroups is an open source project that allows processes to send messages to one another. LiveCycle data services uses it for its messaging implementation (basically it configures the server to multicast messages to all the listening clients...even in a clustered environment across different LAN/WAN).
    In most cases the default configuration will work fine, the problem is that if you are running a firewall on the server (or your local machine...i.e. windows firewall) the ports that JGroups uses for its communications can be blocked. In a local environment its easy enough to disable windows firewall and bounce your server to get things working.
    In a production environment you need to open the ports that JGroups is using. These settings are in the Global Administration settings (as mentioned by WorkspaceUser above). If you export it and look at the JChannelConnectionProperties you'll see the ports its using and you can set your firewall to allow communication to those ports.
    Bryan

  • Kodo 3.1.12 and Eclipse

    Hi,
    I have added Kodo plugin to Eclipse (version 3) . I have added Kodo
    enhancer to Build sequence for the project. However when I run build I get
    an error and eclipse log file has following exception:
    ava.lang.NoClassDefFoundError: org/apache/log4j/Category
         at
    com.solarmetric.log.Log4JLogFactory.newLogAdapter(Log4JLogFactory.java:19)
         at com.solarmetric.log.LogFactoryAdapter.getLog(LogFactoryAdapter.java:25)
         at
    com.solarmetric.conf.ConfigurationImpl.getLog(ConfigurationImpl.java:115)
         at kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2168)
         at
    kodo.jdbc.integration.eclipse.EnhancerBuilder.build(EnhancerBuilder.java:40)
         at
    org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:564)
         at
    org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
         at org.eclipse.core.runtime.Platform.run(Platform.java:747)
         at
    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:157)
         at
    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
         at
    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
         at
    org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:229)
         at
    org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
         at org.eclipse.core.runtime.Platform.run(Platform.java:747)
         at
    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:232)
         at
    org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:268)
         at
    org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:297)
         at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:198)
         at
    org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:182)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
    I have copied the log4j jar to kodo plugin directory and added libarary
    tag to plugin.xml as following:
         <library name="log4j-1.2.8.jar"/>
    What am I doing wrong?

    Mark,
    Here is my plugin.xml. classes12.jar is in the same directory as the
    plugin.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <plugin id="kodo"
         name="%name"
         version="1.0.1"
         provider-name="%provider-name"
         class="kodo.jdbc.integration.eclipse.KodoPlugin">
         <runtime>
         <!--
         Put your jdbc driver in this directory and enter the filename
         here (and configure in Preferences the changes you make) -->
              <library name="classes12.jar"/>
    <!-- ########### do not modify below ######### -->
    <!-- ########### do not modify below ######### -->
    <!-- ########### do not modify below ######### -->
    <!-- ########### do not modify below ######### -->
    <!-- ########### do not modify below ######### -->
              <library name="kodo-jdo.jar"/>
              <library name="jakarta-commons-collections-2.1.jar"/>
              <library name="jakarta-commons-lang-1.0.1.jar"/>
              <library name="jakarta-commons-pool-1.0.1.jar"/>
              <library name="jakarta-regexp-1.1.jar"/>
              <library name="jca1.0.jar"/>
              <library name="jdbc2_0-stdext.jar"/>
              <library name="jdo-1.0.1.jar"/>
              <library name="jta-spec1_0_1.jar"/>
              <library name="xalan.jar"/>
              <library name="xercesImpl.jar"/>
              <library name="xml-apis.jar"/>
              <library name="jfreechart-0.9.16.jar"/>
              <library name="jcommon-0.9.1.jar"/>
              <library name="mx4j-admb.jar"/>
              <library name="mx4j-jmx.jar"/>
              <library name="mx4j-tools.jar"/>
              <library name="jline.jar"/>
              <library name="sqlline.jar"/>
         </runtime>
         <requires>
              <import plugin="org.eclipse.ui"/>
              <import plugin="org.eclipse.core.resources"/>
              <import plugin="org.eclipse.jdt.core"/>
              <import plugin="org.eclipse.jdt.launching"/>
         </requires>
         <extension point="org.eclipse.ui.actionSets">
              <actionSet id="kodo.jdbc.integration.eclipse.actionSet"
                   label="%action-set-name"
                   visible="true">
                   <menu id="kodo.menu"
                        label="%group-label">
                        <separator name="baseGroup"/>
                   </menu>
                   <action id="kodo.removeBuilder"
                        label="%remove-builder-label"
              class="kodo.jdbc.integration.eclipse.RemoveBuilderAction"
                        tooltip="%remove-builder-tooltip"
                        menubarPath="kodo.menu/baseGroup"
                        enablesFor="1">
                   </action>
                   <action id="kodo.addbuilder"
                        label="%add-builder-label"
                   class="kodo.jdbc.integration.eclipse.AddBuilderAction"
                        tooltip="%add-builder-tooltip"
                        menubarPath="kodo.menu/baseGroup"
                        enablesFor="1">
                   </action>
                   <action id="kodo.mapping.build"
                        label="%mapping-build-label"
                        tooltip="%mapping-build-tooltip"
                   class="kodo.jdbc.integration.eclipse.MappingToolAction$BuildSchema"
                        icon="icons/BuildSchemaMappingTool.gif"
                        menubarPath="kodo.menu/baseGroup"
                        toolbarPath="Normal/Kodo"
                        enablesFor="+">
                        <selection class="org.eclipse.core.resources.IFile"
                             name="*.jdo">
                        </selection>
                   </action>
                   <action id="kodo.mapping.drop"
                        label="%mapping-drop-label"
                        tooltip="%mapping-drop-tooltip"
                        class="kodo.jdbc.integration.eclipse.MappingToolAction$Drop"
                        icon="icons/DropMappingTool.gif"
                        menubarPath="kodo.menu/baseGroup"
                        toolbarPath="Normal/Kodo"
                        enablesFor="+">
                        <selection class="org.eclipse.core.resources.IFile"
                             name="*.jdo">
                        </selection>
                   </action>
                   <action id="kodo.mapping.refresh"
                        label="%mapping-refresh-label"
                        tooltip="%mapping-refresh-tooltip"
              class="kodo.jdbc.integration.eclipse.MappingToolAction$Refresh"
                        icon="icons/RefreshMappingTool.gif"
                        menubarPath="kodo.menu/baseGroup"
                        toolbarPath="Normal/Kodo"
                        enablesFor="+">
                        <selection class="org.eclipse.core.resources.IFile"
                             name="*.jdo">
                        </selection>
                   </action>
                   <action id="kodo.enhance"
                        label="%enhance-label"
                        icon="icons/EnhancerAction.gif"
                   class="kodo.jdbc.integration.eclipse.EnhancerAction"
                        tooltip="%enhance-tooltip"
                        menubarPath="kodo.menu/baseGroup"
                        toolbarPath="Normal/Kodo"
                        enablesFor="+">
                        <selection class="org.eclipse.core.resources.IFile"
                             name="*.jdo">
                        </selection>
                   </action>
              </actionSet>
         </extension>
         <!-- lock our actions into the base perspective -->
         <extension point="org.eclipse.ui.perspectiveExtensions">
              <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective">
                   <actionSet
                        id="kodo.jdbc.integration.eclipse.actionSet">
                   </actionSet>
              </perspectiveExtension>
         </extension>
         <!-- put our extensions in -->
         <extension point="org.eclipse.ui.preferencePages">
              <page name="%preference-name"
                   class="kodo.jdbc.integration.eclipse.KodoPreferencePage"
                   id="kodo.jdbc.integration.eclipse.preferences.KodoPreferencePage">
              </page>
         </extension>
         <!-- lock in our eclipse-generated xml editor -->
         <extension point="org.eclipse.ui.editors">
              <editor name="%mappingeditor-name" extensions="mapping"
                   icon="icons/mapping.gif"
                   contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
                   class="kodo.jdbc.integration.eclipse.editor.XMLEditor"
                   id="kodo.jdbc.integration.eclipse.editor.XMLEditorMapping">
              </editor>
              <editor name="%editor-name" extensions="jdo,schema"
                   icon="icons/metadata.gif"
                   contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
                   class="kodo.jdbc.integration.eclipse.editor.XMLEditor"
                   id="kodo.jdbc.integration.eclipse.editor.XMLEditor">
              </editor>
         </extension>
         <!-- lock in our "view" -->
         <extension point="org.eclipse.ui.views">
              <view id="kodo.jdbc.integration.eclipse.KodoView"
                   name="%view-name"
                   category="org.eclipse.jdt.ui.java"
                   icon="icons/kodosmall.gif"
                   class="kodo.jdbc.integration.eclipse.KodoView">
              </view>
         </extension>
         <!-- lock in our builder -->
         <extension point="org.eclipse.core.resources.builders"
              id="kodo.jdbc.integration.eclipse.EnhancerBuilder"
              name="%builder-name">
              <builder>
                   <run
                   class="kodo.jdbc.integration.eclipse.EnhancerBuilder">
                   </run>
              </builder>
         </extension>
         <!-- put our view onto the bottom bar -->
         <extension point="org.eclipse.ui.perspectiveExtensions">
              <perspectiveExtension
                   targetID="org.eclipse.debug.ui.DebugPerspective">
                   <view id="kodo.jdbc.integration.eclipse.KodoView"
                        relative="org.eclipse.debug.ui.ExpressionView"
                        relationship="stack"/>
                   <viewShortcut id="org.eclipse.jdt.debug.ui.DisplayView"/>
              </perspectiveExtension>
         </extension>
    </plugin>
    Marc Prud'hommeaux wrote:
    Genna-
    Can you post your plugin.xml file? The majority of the time, this
    problem is because of an error in the configuration file.
    In article <[email protected]>, Genna Reingold wrote:
    Ok,
    I have found where log4j was coming from - I have selected my runtime
    Kodo property file in Kodo preferences. Removing reference to property
    file fixed the problem. However I have another issue now. When I run
    refresh mapping I get following error:
    <error>-An error occurred running MappingTool
         kodo.util.FatalDataStoreException: oracle.jdbc.OracleDriver
    NestedThrowables:
    java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
    I have upgraded to Kodo 3.1.15, I'm using latest Eclipse 3.0. I have
    copied classes12.jar to plugin directory and modified plugin.xml as
    prescribed in the manual.
    Stephen Kim wrote:
    Genna,
    Also note that the Eclipse plugin uses its own logging mechanism.
    Setting a kodo.Log property for the plugin's property file will not
    change the way in which the plugin logs messages (you may want to have
    an Eclipse specific property file with the Log property removed).
    Marc Prud'hommeaux wrote:
    Genna-
    It sounds like Eclipse might have an older version of the log4j jar
    file. Can you check to see if there are any other "log4j" jars in
    Eclipse's environment?
    Also, what version of Kodo are you using? Can you try with the latest
    release (3.1.5)?
    Finally, can you ensure that you are using the final 3.0 release of
    Eclipse, and not one of the betas? There are some known problems with
    some of the 3.0 betas.
    In article <[email protected]>, Genna Reingold wrote:
    Hi,
    I have added Kodo plugin to Eclipse (version 3) . I have added Kodo
    enhancer to Build sequence for the project. However when I run build I
    get
    an error and eclipse log file has following exception:
    ava.lang.NoClassDefFoundError: org/apache/log4j/Category
         atcom.solarmetric.log.Log4JLogFactory.newLogAdapter(Log4JLogFactory.java:19)
         at
    com.solarmetric.log.LogFactoryAdapter.getLog(LogFactoryAdapter.java:25)
         atcom.solarmetric.conf.ConfigurationImpl.getLog(ConfigurationImpl.java:115)
         at kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2168)
         at
    kodo.jdbc.integration.eclipse.EnhancerBuilder.build(EnhancerBuilder.java:40)
         at
    org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:564)
         at
    org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
         at org.eclipse.core.runtime.Platform.run(Platform.java:747)
         at
    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:157)
         at
    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
         at
    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
         at
    org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:229)
         at
    org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
         at org.eclipse.core.runtime.Platform.run(Platform.java:747)
         at
    org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:232)
         at
    org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:268)
         at
    org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:297)
         at
    org.eclipse.core.internal.resources.Workspace.build(Workspace.java:198)
         atorg.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:182)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
    I have copied the log4j jar to kodo plugin directory and added libarary
    tag to plugin.xml as following:
         <library name="log4j-1.2.8.jar"/>
    What am I doing wrong?
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com
    Marc Prud'hommeaux
    SolarMetric Inc.

Maybe you are looking for