Application Migration from JBOSS to Weblogic Server

Hi,
I am facing lots of issues while deploying an .ear file on Weblogic server. In the JBOSS server the application is working properly but whenever I am trying to deploy it on Weblogic server its throwing me an error stating :
"ERROR: No j2ee modules detected in EAR archive. Deployment aborted. "
I tried to convert the things to .war file and tried to deploy the application, the application got deployed but its throwing 'exception'.
Please revert me back with some solution.
Thanks
Trishul

Is this forum about Jboss?
Is it about Weblogic?
If so, why do you put a question about a non-Oracle non-database product in a forum on Oracle Database?
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Error in deploying entity beans - migration from JBoss to Weblogic 10.3.4

    Hi,
    I am migrating EJB2.x code from JBoss to Weblogic 10.3.4. As a first step, I am tyring to deploy just Entity beans. I get following error when deploying to server.
    'weblogic.application.ModuleException: Exception preparing module: EJBModule(myEJB.jar)
    Unable to deploy EJB: CollMetaData from myEJB.jar:
    [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
    There are 1 nested errors:
    java.lang.NullPointerException
         at weblogic.ejb.container.cmp.rdbms.finders.EjbqlFinder.setMethods(EjbqlFinder.java:288)
         at weblogic.ejb.container.cmp.rdbms.Deployer.processFinders(Deployer.java:744)
         at weblogic.ejb.container.cmp.rdbms.Deployer.readTypeSpecificData(Deployer.java:446)
         at weblogic.ejb.container.persistence.PersistenceType.setTypeSpecificFile(PersistenceType.java:506)
         at weblogic.ejb.container.persistence.PersistenceType.setupDeployer(PersistenceType.java:455)
         at weblogic.ejb.container.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:118)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1214)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Can someone help me fixing the issue?
    I changed schema locations of descriptor files as suggested at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13706/overview.htm#i1074199 (see the third category for '*Enterprise Bean 2.1*' in the listing Table 1-1). Alternatively, you may see the schema locations for EJB2.0 directly at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13719/dd_reference.htm#EJBPG481

    JRE version in JBoss is 1.6.0_16. JVM in web logic is pointing to jrockit_160_22_D1.1.1-3 which is come in the package. It doesn't seem to be related to JVM version mismatch.
    I think it is an issue with definitions in weblogic-cmp-rdbms-jar.xml file. How should be the definition of entity-descriptor appear for entity bean which has finder methods in ejb-jar.xml?
    Please see the snippets from corresponding descriptor files below.
    ejb-jar.xml
    =========
    <entity>
    <display-name>EmpBean</display-name>
    <ejb-name>EmpBean</ejb-name>
    <local-home>LocalEmpBeanHome</local-home>
    <local>LocalEmpBean</local>
    <ejb-class>EmpBeanBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>EmpBean</abstract-schema-name>
    <cmp-field>
    <field-name>firstName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>lastName</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>phone</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>address</field-name>
    </cmp-field>
    <primkey-field>lastName</primkey-field>
    <query>
    <query-method>
              <method-name>findByPrimaryKey</method-name>
                   <method-params>
                   <method-param>java.lang.String</method-param>
                   </method-params>
              </query-method>
              <ejb-ql>SELECT Object(o) FROM EmpBean o WHERE o.lastName= ?1</ejb-ql>
         </query>
    </entity>
    weblogic-jar.xml
    ============
    <weblogic-enterprise-bean>
    <ejb-name>EmpBean</ejb-name>
    <entity-descriptor>
         <pool>
              <max-beans-in-free-pool>20</max-beans-in-free-pool>
              <initial-beans-in-free-pool>5</initial-beans-in-free-pool>
         </pool>
    <persistence>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>meta-inf/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-use>
    <finders-load-bean>true</finders-load-bean>
    </persistence>
    </entity-descriptor>
    <local-jndi-name>ejb/EmpBean</local-jndi-name>
    </weblogic-enterprise-bean>
    weblogic-cmp-rdbms-jar.xml
    ====================
    <weblogic-rdbms-bean>
    <ejb-name>EmpBean</ejb-name>
    <data-source-jndi-name>mysqlDS</data-source-jndi-name>
    <table-map>
    <table-name>emp</table-name>
    <field-map>
    <cmp-field>firstName</cmp-field>
    <dbms-column>first_namel</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>lastName</cmp-field>
    <dbms-column>last_name</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>phone</cmp-field>
    <dbms-column>phone</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>address</cmp-field>
    <dbms-column>address</dbms-column>
    </field-map>
    </table-map>
    <weblogic-rdbms-bean>
    Please ignore any typos that you may notice in above sample descriptions (because I just typed it here changing original names).
    When I try to deploy the application, I get error message as posted in my first post above in this thread. Please correct me if I am making any erros in descriptor files.
    Edited by: 839281 on Feb 25, 2011 10:55 AM
    Edited by: venkatp on Mar 1, 2011 9:31 AM

  • Deploying ear application - migrating from OC4j to Weblogic

    I am trying to migrate application from OC4J to weblogic server. Apart from usual differences in descriptors, structure of EAR etc. I came across unusual error:
    "both the remote home and remote component interface must be specified. Currently, only one of them is specified"
    It is about deploying session bean. Usual EJB3 stateless session bean with local and remote interface, deployed without any problem on OC4J and JBoss. Of course, I know home interfaces are something to do with EJB 2.1, but this is EJB3 application and, I guess, Weblogic has full support for it. Does it? :)
    Anyway, is there workaround? Or am I missing something? I don't have to tell you what problems we will be facing if I have to restructure whole application with dozens and hundreds of session beans.
    Thanks a lot!

    OK. I just want to make sure that there are no problems with the deployment descriptors.
    To pin point the problem do the following in JDeveloper:
    1. Create a simple EJB 3.0 session bean
    2. On that session bean create a Sample Java Client.
    3. Run the Session Bean
    4. Run the Client
    5. If both are running fine, compare the deployment descriptors from the sample and your real application.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Migrate EJB 3.0 from JBoss to Weblogic 10.3.5

    Hi all,
    I need help in deploying my ear file from Jboss to Weblogic, got this error relates to EJB module:
    ####<Dec 26, 2012 10:45:03 PM PST> <Warning> <Deployer> <localhost.localdomain> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1356590703830> <BEA-149004> <Failures were detected while initiating deploy task for application 'MyScheduler'.>
    ####<Dec 26, 2012 10:45:03 PM PST> <Error> <Console> <localhost.localdomain> <AdminServer> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <tungpl> <> <> <1356590703869> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: Could not setup environment
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1495)
         at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:438)
         at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
         at weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:194)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:541)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:175)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:167)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.naming.NameNotFoundException: While trying to look up ejb-info in /app/ejb/myEjb.jar#myEjb.; remaining name 'ejb-info'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:144)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
         at weblogic.deployment.BaseEnvironmentBuilder.autowireEJBRef(BaseEnvironmentBuilder.java:408)
         at weblogic.deployment.EnvironmentBuilder.addEJBReferences(EnvironmentBuilder.java:513)
         at weblogic.servlet.internal.CompEnv.activate(CompEnv.java:157)
         at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:3144)
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1493)
    >
    I have tried some solution in this thread https://kr.forums.oracle.com/forums/thread.jspa?threadID=2174802 but it doesn't help at all.
    Could sb give me any idea?
    Pretty thanks!
    Edited by: user12925202 on Jan 20, 2013 11:33 PM

    Frank,
    Thanks. The @LOB annotations are missing.
    Create table with:
    CREATE TABLE TestBlob (id number PRIMARY KEY, xmlCol BLOB);
    INSERT INTO TestBlob VALUES(1, EMPTY_BLOB());
    The following is the complete listing for the EJB 3 class generated from table TestBlob.
    package ejb3;
    import java.io.Serializable;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    @Entity
    @NamedQueries({
    @NamedQuery(name = "Testblob.findAll", query = "select o from Testblob o")
    public class Testblob implements Serializable {
    @Id
    @Column(nullable = false)
    private Long id;
    private byte[] xmlCol;
    public Testblob() {
    public Testblob(Long id) {
    this.id = id;
    public Long getId() {
    return id;
    public void setId(Long id) {
    this.id = id;
    public byte[] getXmlCol() {
    return xmlCol;
    public void setXmlCol(byte[] xmlCol) {
    this.xmlCol = xmlCol;
    }

  • Migration from JBoss

    Hi,
    We have an application developed on Jboss 2.4.6 application server and Tomcat 4 web server and servlet engine. We are tring to migrate it to iPlanet Application server 6.5 enterprise edtion.
    So is there any support or tools availbale for that?
    Thanks and regards,
    Nadika.

    Nadika,
    The next version of the migration tool (v3.0) will support migration from JBoss 3.0 & Tomcat 4.1 to Sun ONE App Server 7, not iPlanet App Server 6.5 though. It will be available early March 2003.
    -Robert

  • Application Migration from HP-UNIX to SUN Solaris

    Hi Gurus,
    Need help on the application migration from HP-UNIX to Sun Solaris . Copied the filesystems APPL_TOP, OA_HTML, OA_JAVA, COMMON_TOP/util and COMMON_TOP/_pages from SOURCE( HP) to TARGET SUN-solaris as per 238276.1
    Now trying to clone Autoconfig XML context file on the TARGET System
    perl adclonectx.pl migrate java=\opt\java1.4 \
    contextfile=\ul01\app\applmgr\lasrx\admin\LASRX_fiapd4.xml
    Error: source context file ul01appapplmgrlasrxadminLASRX_fiapd4.xml does not exist.
    Questions:
    ======
    1. we still need to install jdk in the TARGET or copy the file system from source(HP) to target( Solaris) bring the JDK and how to check jdk on Solaris?
    2. In clone autoconfig XML, contextfile=? Is the location of SOURCE or TARGER?
    3. I think running above with root permission.
    Please help somebody on this issue.
    Thank You.

    Hi Hussein,
    I need your help on the Application migration from HP-UNIX to SUN Solaris. As per the note 238276.1 we dont copy $806_ORACLE_HOME for cross platform migration, Copied all the filesystem from SOURCE to TARGET but rename it because it suppose to create while installing Middle tier.
    Issue:1
    =====
    When i start to set environment like below, i get the error and
    . /ul01/app/applmgr/lasrx/APPSORA.env
    ksh: /ul02/app/oracle/lasrx/8.0.6_new/LASRX_fiapd4.env: not found
    I am trying to install Middle Tier Technology Stack on SUN server ( Migrating from HP-UNIX to SUN solaris)
    Issue 2: ( Display error) while install Tech Stack
    =====
    ./rapidwiz -techstack
    Rapid Install Wizard is validating your file system......
    >> Wizard requires the DISPLAY variable to be set.
    >> Please set your DISPLAY variable and restart Rapid Install Wizard.
    even i can not see
    echo $DISPLAY because not set the environment.
    Need your help and suggetions on this.
    Thank You.

  • How can i build application using Jdeveloper 10g for Weblogic server 10.3

    Hi,
    We have a requirement where in we want to build an SOA application using Jdeveloper 10g for Weblogic Server 10.3.
    Is there any way to make a connection to Weblogic Server 10.3 from JDeveloper 10g? If there is any way please share it with me.
    Thanks,
    Amit Kumar

    Amit,
    SOA Suite is not yet certified for WLS 10.3. You have to wait for the certification of it.
    At the moment you can't install the SOA Suite on WLS 10.3 nor connect from JDev 10.1.3 to it.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to upload and download any file from plsql through weblogic server

    hi all,
    how to upload and download any file from plsql through weblogic server? i am using oracle 10g express edition and jboss.
    Thanks and Regards,
    MSORA

    hi bala ,
    for a windown server u can use VNC (virtual network connection) which opens a session on u r desktop later u can drag and drop form there vice versa and for a linux box you can use Win SCP which helps to open a session with interface to u r desktop in both cases you can upload and down load files very easiy just as we drag and drop items in a simple pc .. we use the same technique...
    bye
    vamshi

  • Pagelets not rendering in Fusion ADF application pages deployed on standalone weblogic server

    HI All,
    I am creating a Pagelet Producer connection, and dragging a pagelet on the page as iframe, with height auto. When I run the application in the integrated weblogic server, I am able to see the pagelet. However when I deploy the application on the standalone weblogic server, then the pagelet isn't rendered.
    I am using fusion ADF application 11.1.1.7  and standalone weblogic server v 10.3.6.
    Thanks in advance for yours assistance. Please I need a solution for this uregently. DO let me know, if you need any additonal information.
    Regards,
    Nikhil Mahto

    Sorry for the wrong infromation. The correct scenario is:
    I have an ADF application, in which I have a Pagelet producer connection, pages and taskflows. This ADF application is inlcuded in a Webcenter Portal Framework application, as a shared library. When the WCF application is deployed on the Weblogic server, the pagelets don't appear on the pages.
    I tried the FRAMEBUSTING context parameter to never but it didn't help.
    Regards,
    Nikhil Mahto

  • Can I migrate from mavericks to mavericks server. Have tried using a hard drive but the but the sever does not find the migration backup when it's searches. Any help out there?

    Can I migrate from mavericks to mavericks server. Have tried using a hard drive but the but the sever does not find the migration backup when it's searches. Any help out there?

    Is the HDD in the 2009 15" MBP dead?  (The original source of your data)  If not, you might want ot take it out and put it in an enclosure.
    You might try spotlight on know files to see if that gives you any clues where your data is located.
    You might down load from the Internet OmniDiskSweeper (free) and open it.  It should show you all of the files you have on your MBP and enable to locate them.
    Ciao.

  • Migrating from JBOSS to WAS V6.1

    We are trying to migrate JBOSS apps to WAS V6.1,so plz can someone guide me what all do i need to do in order to start migration,any particular tool i can use for complete migration of JBOSS apps to WAS, and how do i create .WAR file for deployment on WAS since JBOSS apps just have a .war folder instead of .WAR file..help will be highly appreciated thanks in advance..

    JBoss has war directories instead of files, yes. But it would also work with a war file. JBoss can also deploy jar and ear directories. Other application servers do not work that way. The SJSAS, for instance, must deploy war, jar and ear compressed files. And it is only after deployment that you can overwrite the files contained in the exploded directories that correspond to your war (or jar or ear) files.
    You should try to import your project into the WebSphere IDE and then export a war file from it. I make emphasis on using the WS IDE because of the deployment descriptors you could need for deployment. Each application server needs a certain kind of deployment descriptor that is typically only CORRECTLY generated by a corresponding IDE (Use Eclipse for WebLogic, Sun ONE Studio for the SJSAS, and so on )
    The topic on the Deployment Descriptors for each app server is still somewhat obscure to me and I cannot tell you any more about it.
    You probably should try to post this question on a WebSphere specialized forum or an IBM one. I was surprised to find this here.
    Regards and the best of lucks to you.
    Miguel�ngel Fer�ndez M.
    Sigmenta B.T.

  • Problem with servlet after migrating from OC4J to WebLogic 10.3

    I come across a problem when I was migrating from jDev 11g TP4 to production version in that step also server got changed from OC4J to webLogic.
    I am running java http servlet along other jspx pages. When everything was on OC4J there was no problem whit security on this servlet ( servlet was under same authorization automatically, and I was able to create new application module on this servlet by createRootApplicationModule
    ) but when I changed to WebLogic 10.3 I come across a numerous problems. First one is solved i managed to put the servlet under same authorization as jspx pages by
    *&lt;servlet&gt;*
    *&lt;servlet-name&gt;report&lt;/servlet-name&gt;*
    *&lt;servlet-class&gt;path.to.class&lt;/servlet-class&gt;*
    *&lt;security-role-ref&gt;*
    *&lt;role-name&gt;name&lt;/role-name&gt;*
    *&lt;role-link&gt;valid-users&lt;/role-link&gt;*
    *&lt;/security-role-ref&gt;*
    *&lt;/servlet&gt;*
    but when I trying to create new application module I get JBO-30003 error which is Caused by:
    oracle.adf.share.security.ADFSecurityAuthenticationException: JAAS login error.
    Invalid null input: name
    Has anybody any idea what I am doing wrong?
    Thank you for your help, Rok Kogov&scaron;ek

    for example:
    web.xml
    <security-role>
    <role-name>yourrole</role-name>
    </security-role>
    weblogic.xml
    <security-role-assignment>
    <role-name>yourrole</role-name>
    <principal-name>wlsuser</principal-name > <!-- wlsuser is define at wls console-->
    </security-role-assignment>

  • Call one session EJB3 from jboss to weblogic 10

    Hi everyone.
    I have a big problem. I have a session ejb3 in a weblogic server. I need start this session from jboss server.The code I used is as follows:
    Environment env = new Environment();
         env.setInitialContextFactory(weblogic.jndi.Environment.DEFAULT_INITIAL_CONTEXT_FACTORY);
         env.setProviderURL("t3://ip:7001");
         env.setSecurityPrincipal("weblogic");
         env.setSecurityCredentials("cajamar1");
         Hashtable props = env.getProperties();
    I copied all the libraries that I have been asking in the JBOSS server. In the end I managed to work but when I do the lookup on my session I get this error message.
    ++14:51:46,939 ERROR [STDERR] 09-sep-2010 14:51:46 weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport preProcess++
    ++ADVERTENCIA: Error pre-processing class com.gh.conn.GHBackEndConnectorInterface with weblogic.ejb.container.deployer.RemoteBizIntfClas++
    ++sPreProcessor@b1c3bc3'++
    ++java.lang.NoSuchMethodError: <init>++
    ++at weblogic.ejb.container.deployer.RemoteBizIntfClassPreProcessor.preProcess(RemoteBizIntfClassPreProcessor.java:52)++
    ++at weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport.preProcess(ClassPreProcessor.java:102)++
    ++at weblogic.utils.classloaders.GenericClassLoader.doPreProcess(GenericClassLoader.java:341)++
    ++at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.enhanceClass(RemoteBizIntfClassLoader.java:143)++
    ++at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.loadClass(RemoteBizIntfClassLoader.java:129)++
    ++at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:67)++
    ++at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.readObject(RemoteBusinessIntfProxy.java:234)++
    ++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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)++
    ++at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809)++
    ++at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)++
    ++at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)++
    ++at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)++
    ++at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)++
    ++at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)++
    ++at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)++
    ++at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)++
    ++at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)++
    Any help on the issue. Thanks for all.

    Hi,
    Please make sure that you have generated the Client Side Artifacts of your EJB3.0 App and Placed then at the JBoss side (Client side). Please refert to ": *http://weblogic-wonders.com/weblogic/2010/04/02/generating-ejb3-clientjar/*
    Also make sure that you have "weblogic.jar" file at Cleint Application Side.
    Thanks
    Jay SenSharma

  • Porting from JBoss to WebLogic

    There's a migration tool on the WebLogic site (wltool.zip) that purports to convert JBoss 4.x deployment descriptors to WebLogic 9.x format. When I run the tool I get the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/ejb20/dd/xml/DDUtils
    at weblogic.tools.EJBHandler.<init>(EJBHandler.java:25)
    at weblogic.tools.WLHandlerFactory.getHandler(WLHandlerFactory.java:11)
    at weblogic.tools.jb2wl.convertToWL(jb2wl.java:45)
    at weblogic.tools.jb2wl.<init>(jb2wl.java:28)
    at weblogic.tools.jb2wl.main(jb2wl.java:62)
    I've got every jar in the 9.2 server/lib in the classpath, but from what I can tell the package weblogic.ejb20.dd.xml doesn't exist.
    Is there an update for the migration tool, or am I missing something?

    It appears that tool is based on WLS 8.1 and hasn't been ported to 9.x. It is using internal classes so it won't just work on multiple WLS versions unchanged.
    Unfortunately I don't have any better suggestion than downloading 8.1 and running the tool there to generate the weblogic descriptors.
    You could than run the weblogic.DDConverter tool in 9.x to convert the 8.1 descriptors to the 9.x/JEE 5 versions if you wanted. 8.1 descriptors will work fine in 9.x unchanged though.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Migration to a new weblogic server

    Hi Iam trying to migration my application from the development to test environment,
    For this i have to deploy to the test weblogic environment
    for this i am doing the following
    1. add the application server connection .
    2. add the database details of the test db connection in the AM : business components > Database
    3. change the AM : Configuration > manage configuration > change the jdbc soucename to the source name defined on the test env weblogic server.
    And then iam deploying the application.
    The deployment is going on fine.
    But the page is not rendering....
    the page structure is
    panel header > title
    querypanel > VC
    table > searcjh results
    Only the title of the page is displayed....
    i suspect some where i have to missed the db connection setting and its not able to connect to the test db
    Could you please suggest.. where all i need to change the db connection details so that it works.
    thanks

    Hello,
    at first you have to verify, whether your DB connection have been set up correctly. You can do this in your administration console by clicking on Services/Data Source on your domain structure tree. First click the Monitoring tab to see whether the connection has tha running state. Then select your data source and switch to the Testing subtab of Monitoring tab. There you should select the radio button and click the "Test Data Soruce" button.
    If the connection is verified and working, and the application still not rendering correctly, then take a look into your log file, and post here the error message

Maybe you are looking for

  • When I try to open a new window in Firefox, I get an error message

    When I try to open a new window in Firefox, I get the following error message: "Not Found The requested URL /en-US/firefox was not found on this server." ...but other websites, such as Google or CNN.com, work just fine. I'm running Firefox 3.6.28 on

  • Why is my iPod Touch 4G switching the charging symbol?

    My iPod touch 4g is about a year and 4 months old on the fourteenth of June. My original apple charger was breaking and it couldn't change the iPod normally because it kept flashing back and forth on the charging symbol. One minute it would saying ch

  • I have Trouble Connecting To WiFi Network with My Mac, while the rest of the technology connects to it perfectly...

    I have used my Mac for almost a year now, and I've always had no problem connecting to WiFi, but today - suddenly I've lost the connection and now I can't see the WiFi Network in the list... I have 2 WiFi's connected together at home - TP Link and Ne

  • Exporting to Flash Question.

    My client created individual Captivate demos. I would like to import them into flash and place them on a custom background with logo as well as build a flash menu to jump from Captivate section to section. I'm wondering if when exporting a file to fl

  • How to identify bom ?

    hello experts,   i have a requirement where i have to identify BOM using these two fields   1) MKAL-STLAL   2) MKAL-STLAN I have no idea about how to identify BOM using these fields. please, give me the correct solution. Points will be rewarded for u