Spring + weblogic. NamedQuery not found

I've posted this at the [Spring forum|http://forum.springframework.org/showthread.php?t=67389] as well(, just wanted to try here too...
We're new to about all of the technology we're working with, and we're having a hard time to get it all right. Please bear with us...
We are developing a web application in JDeveloper 11g, using the integrated WebLogic Server and trying to configure Spring correctly. We don't have any experience with Spring, so we're just looking at examples and trying to figure it out. When running the application on the server, it seems that we get a connection to the database, but there are no Spring instances visible in the console...and when loading a jsf page, we get this error:
12.feb.2009 10:51:16 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
WARNING: ADFc: Det oppstod et uventet unntak: javax.ejb.EJBException, mld=EJB Exception: : java.lang.IllegalArgumentException: NamedQuery of name: CseAnalysis.findAll not found.
     at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getDatabaseQuery(EJBQueryImpl.java:454)
     at org.eclipse.persistence.internal.jpa.EJBQueryImpl.setAsSQLReadQuery(EJBQueryImpl.java:117)
     at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:503)
     at no.csam.plexus.configmanager.lab.dao.LabDAOImpl.queryCseAnalysisFindAll(LabDAOImpl.java:166)
     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:597)
     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
     at $Proxy110.queryCseAnalysisFindAll(Unknown Source)
     at no.csam.plexus.configmanager.lab.service.LabEJBBean.queryCseAnalysisFindAll(LabEJBBean.java:111)
     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:597)
Here are some snippets of code:
EntityBean:
@Entity
@NamedQueries({
@NamedQuery(name = "CseAnalysis.findAll", query = "select o from CseAnalysis o")
@Table(name = "CSE_ANALYSIS")
@IdClass(CseAnalysisPK.class)
public class CseAnalysis implements Serializable {
DAO:
@Transactional
@Repository
public class LabDAOImpl implements LabDAO{
@PersistenceContext
private EntityManager em;
/** <code>select o from CseLabAnalysis o</code> */
public List<CseLabAnalysis> queryCseLabAnalysisFindAll() {
return em.createNamedQuery("CseLabAnalysis.findAll").getResultList();
SessionBean:
@Stateless(name = "LabEJB", mappedName = "LabEJBBean")
@PersistenceContext(name="CM_Service/EntityManager",unitName="CM_Service")
@Remote
@Local
public class LabEJBBean extends AbstractStatelessSessionBean implements LabEJB, LabEJBLocal {
private LabDAO labDAO;
public LabEJBBean(){}
protected void onEjbCreate() {
labDAO = (LabDAO)getBeanFactory().getBean("labDAO");
public List<CseLabAnalysis> queryCseLabAnalysisFindAll() {
return labDAO.queryCseLabAnalysisFindAll();
Spring config:
<jee:jndi-lookup id="entityManagerFactory"
jndi-name="java:comp/env/persistenceUnit"/>
<bean id="transactionManager"
class="org.springframework.transaction.jta.WebLogicJtaTransactionManager"/>
<bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor"/>
<bean id="LabEJB" class="no.csam.plexus.configmanager.lab.service.LabEJBBean">
<property name="labDAO" ref="labDAO"/>
</bean>
<bean id="labDAO" class="no.csam.plexus.configmanager.lab.dao.LabDAOImpl"></bean>
<tx:annotation-driven/>
persistence.xml:
<persistence-unit name="CM_Service" transaction-type="JTA">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<jta-data-source>jdbc/ODSDS</jta-data-source>
<properties>
<property name="eclipselink.logging.level" value="FINE"/>
<property name="javax.persistence.jtaDataSource"
value="jdbc/ODSDS"/>
<property name="eclipselink.target-server" value="WebLogic_10"/>
</properties>
</persistence-unit>
Any hints or guidance will be appriciated.
Thanks in advance

Hi,
if you have no experience with Spring, how did you get your application developed ? Anyway, I suggest you try the WLS forum here on OTN since the server configuration is not in the domain of JDeveloper
WebLogic Server - General
Frank

Similar Messages

  • WEBLOGIC was not found in Xellerate

    Experts,
    I have refreshed Database of one OIM (version 9.x) setup with other.
    I am able to start the managed server in Weblogic now. I am able to logging in ‘admin & user console’ & Design console. Much of the OIM application looks fine now.
    However I see following error in xel.log file.
    Error
    Class/Method: Authenticate/closeConnection left.
    Class/Method: Authenticate/connect User with ID: WEBLOGIC was not found in Xellerate.
    Class/Method: XellerateLoginModuleImpl/login encounters some problems:
    com.thortech.xl.security.tcLoginException:
    Error
    Please suggest for any idea.
    Thanks,
    MS

    WEBLOGIC user is in OIM 11G OIM Database... Here the issue is regarding 9.x..
    Oracle® Identity Manager Installation and Configuration Guide for Oracle WebLogic Server
    Release 9.1.0.1
    *11.6 Troubleshooting the JNDI Namespace Configuration*
    If you create a user and that is the only user who can perform lookups, you might see the following exception when attempting to start Oracle Identity Manager where user_name represents the user you created to perform lookups:
    [XELLERATE.ACCOUNTMANAGEMENT],Class/Method: Authenticate/connect User with ID: user_name was not found in Xellerate.
    [XELLERATE.ACCOUNTMANAGEMENT],Class/Method: Authenticate/connect User with ID: user_name was not found in Xellerate.
    [XELLERATE.ACCOUNTMANAGEMENT],Class/Method: XellerateLoginModuleImpl/login encounter some problems:
    com.thortech.xl.security.tcLoginException:
    at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
    at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
    at com.thortech.xl.security.Authenticate.connect(Unknown Source)
    at com.thortech.xl.security.wl.XellerateLoginModuleImpl.login(Unknown Source)
    at weblogic.security.service.DelegateLoginModuleImpl.login(DelegateLoginModuleImpl.java:71)
    To resolve this issue, refresh the embedded LDAP directory in the Managed Server with the LDAP directory in the Administrative Server after starting Oracle Identity Manager as follows:
    Log on to the WebLogic Server Administration Console.
    Click the domain name under Domain Structure on the left pane.
    Click the Security and Embedded LDAP tab.
    Select the Refresh replica at startup option, and then click Save.
    For details refer
    http://docs.oracle.com/cd/E14049_01/doc.9101/e14047/troubleshoot.htm#insertedID6

  • Weblogic 6 Post Installation Problem - weblogic.Server not found

    I reinstalled my recent downloads of the evaluation
    copy of Weblogic 6.0 server three times on my NT 4.0 Service
    pack 6 notebook computer. Installation works. However, I can't
    start the server using the "startWebLogic.cmd". I get an error
    that says that the class "weblogic.Server" is not
    found -
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    javap command cannot locate the class either.
    My suspicion: weblogic .jar is corrupt.
    Question: How do I get a new jar file? I have already
    downloded the install files twice with no luck.
    I have enclosed the command prompt messages.
    [d:\bea\wlserver6.0\config\myadmindomain]setEnv
    set WL_HOME=d:\bea\wlserver6.0
    set JAVA_HOME=d:\bea\jdk130
    set CLASSPATH=d:\bea\jdk130\lib\tools.jar;d:\bea\wlserver6.0\lib\weblogic_sp.jar
    ;d:\bea\wlserver6.0\lib\weblogic.jar;
    set PATH=d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM32;C:\W
    INNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\Microsoft Visual Stud
    io\Common\MSDev98\Bin;D:\Microsoft Visual Studio\Common\IDE\IDE98;D:\Microsoft V
    isual Studio\VB98;D:\Microsoft Visual Studio\VIntDev98\bin;D:\Microsoft Visual S
    tudio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    Your environment has been set.
    [d:\bea\wlserver6.0\config\myadmindomain]startWebLogic.cmd
    set PATH=.\bin;d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM3
    2;C:\WINNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\Microsoft Visua
    l Studio\Common\MSDev98\Bin;D:\Microsoft Visual Studio\Common\IDE\IDE98;D:\Micro
    soft Visual Studio\VB98;D:\Microsoft Visual Studio\VIntDev98\bin;D:\Microsoft Vi
    sual Studio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    "d:\bea\jdk130\bin\java" -hotspot -ms64m -mx64m -classpath .;.\lib\weblogic_sp.j
    ar;.\lib\weblogic.jar -Dweblogic.Domain=myAdminDomain -Dweblogic.Name=myserver "
    -Dbea.home=d:\bea" "-Djava.security.policy==d:\bea\wlserver6.0/lib/weblogic.poli
    cy" -Dweblogic.management.password= weblogic.Server
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    goto finish
    cd config\myAdminDomain
    ENDLOCAL
    [d:\bea\wlserver6.0\config\myadmindomain]javap weblogic.Server
    Class 'weblogic.Server' not found

    It looks like your startWebLogic.cmd script has problems with the class
    path. You should doublecheck that.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Bindu Rao" <[email protected]> wrote in message
    news:[email protected]...
    >
    I reinstalled my recent downloads of the evaluation
    copy of Weblogic 6.0 server three times on my NT 4.0 Service
    pack 6 notebook computer. Installation works. However, I can't
    start the server using the "startWebLogic.cmd". I get an error
    that says that the class "weblogic.Server" is not
    found -
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    javap command cannot locate the class either.
    My suspicion: weblogic .jar is corrupt.
    Question: How do I get a new jar file? I have already
    downloded the install files twice with no luck.
    I have enclosed the command prompt messages.
    [d:\bea\wlserver6.0\config\myadmindomain]setEnv
    set WL_HOME=d:\bea\wlserver6.0
    set JAVA_HOME=d:\bea\jdk130
    setCLASSPATH=d:\bea\jdk130\lib\tools.jar;d:\bea\wlserver6.0\lib\weblogic_sp.jar
    ;d:\bea\wlserver6.0\lib\weblogic.jar;
    setPATH=d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM32;C:\W
    INNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\MicrosoftVisual Stud
    io\Common\MSDev98\Bin;D:\Microsoft VisualStudio\Common\IDE\IDE98;D:\Microsoft V
    isual Studio\VB98;D:\Microsoft Visual Studio\VIntDev98\bin;D:\MicrosoftVisual S
    tudio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    Your environment has been set.
    [d:\bea\wlserver6.0\config\myadmindomain]startWebLogic.cmd
    setPATH=.\bin;d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM3
    2;C:\WINNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\MicrosoftVisua
    l Studio\Common\MSDev98\Bin;D:\Microsoft VisualStudio\Common\IDE\IDE98;D:\Micro
    soft Visual Studio\VB98;D:\Microsoft VisualStudio\VIntDev98\bin;D:\Microsoft Vi
    sual Studio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    "d:\bea\jdk130\bin\java" -hotspot -ms64m -mx64m -classpath.;.\lib\weblogic_sp.j
    >
    ar;.\lib\weblogic.jar -Dweblogic.Domain=myAdminDomain -Dweblogic.Name=myserv
    er "
    -Dbea.home=d:\bea""-Djava.security.policy==d:\bea\wlserver6.0/lib/weblogic.poli
    cy" -Dweblogic.management.password= weblogic.Server
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    goto finish
    cd config\myAdminDomain
    ENDLOCAL
    [d:\bea\wlserver6.0\config\myadmindomain]javap weblogic.Server
    Class 'weblogic.Server' not found

  • IllegalArgumentException NamedQuery not found

    Hello,
    I define my metadata natively in TopLink i.e. using the TopLink Workbench I define the following files:
    - session.xml
    http://perfectjpattern.svn.sourceforge.net/viewvc/perfectjpattern/trunk/perfectjpattern-eclipselink/src/test/resources/sessions.xml?view=markup
    - PersonProject.xml
    http://perfectjpattern.svn.sourceforge.net/viewvc/perfectjpattern/trunk/perfectjpattern-eclipselink/src/test/resources/ExampleProject.xml?view=markup
    PersonProject.xml includes couple of named queries depicted in the link above "Person.findByName" and "Person.findByAge" that I use to test both Named query with positional and named argument matching respectively.
    I load the project using TopLink native interfaces and immediately switch to JPA interfaces, I do that using the following code:
    http://perfectjpattern.svn.sourceforge.net/viewvc/perfectjpattern/trunk/perfectjpattern-eclipselink/src/main/java/org/perfectjpattern/jee/integration/dao/EclipseLinkSessionStrategy.java?view=markup
    My problem is that I continuously get the "IllegalArgumentException NamedQuery not found" exception. It happens only when trying to set the value of a parameter.
    The exception happens in the following file in line 159 and not in 153 so the query seems to be found but when assigning the argument values it throws the IllegalArgumentException:
    http://perfectjpattern.svn.sourceforge.net/viewvc/perfectjpattern/trunk/perfectjpattern-jee/src/main/java/org/perfectjpattern/jee/integration/dao/JpaBaseDao.java?view=markup#l_138
    The project provides Base and Generic Dao implementations. This issue of named queries is the last bit left to have an EclipseLink implementation of the Generic Dao.
    Thanks in advance,
    Best regards,
    Giovanni
    Edited by: bravegag on 28.05.2009 04:05

    Hello,
    Some progress report. I have not been able to make this work using pure JPA so far but overriding the findByNamedQuery and using native TopLink interface Session executeQuery I got the one with positional arguments working, see:
    http://perfectjpattern.svn.sourceforge.net/viewvc/perfectjpattern/trunk/perfectjpattern-eclipselink/src/main/java/org/perfectjpattern/jee/integration/dao/EclipseLinkGenericDao.java?view=markup#l_53
    I got this findByNamedQuery passing all test cases.
    Missing only to get the named parameters alternative to work. I created a separate thread with that question alone "how to execute named queries with named parameters using TopLink native Session interface"
    Thanks in advance,
    Best regards,
    Giovanni

  • New weblogs file not found

    Hello. I just set up weblogs for the first time. I enabled weblogs in server admin and chose a theme. I left the default folder for storing files as it was, but I can't access weblogs from the web. I have several sites on my server. I have tried all of them in each of these ways - http://domainname.com/weblog, http://www.domainname.com/weblog and I have even tried using my ip address instead of my domain names. Every time, I get error 404 file not found. Does anyone know what might be going on here? Thanks in advance.

    Ok i may have a fix for the vanishing entries broken server and such ..
    What 10.4.6 messes a LOAD with is actually our good ole posix files ..
    Most of my files inside /Library/Tomcat/blojsom_root/webapps/ROOT/WEB-INF/<USERNAME>/ were set back to root:admin ...
    Charming isnt it ? Of course there are NO Ways (POSIX) the process can access these .. so you have to modify a few things .
    First : Stop application server and webservices.
    Second : make sure permissions inside /Library/Tomcat/blojsom_root/webapps/ROOT/WEB-INF/<USERNAME>/ will list as follow :
    1626760 drwxr-xr-x 12 appserve appserve 408 Jun 18 04:14 .
    631548 drwxrwx--- 17 appserve appserve 578 Jun 18 04:02 ..
    1626761 -rw-r--r-- 1 appserve appserve 65 Jun 18 04:02 authorization.properties
    1626762 -rw-r--r-- 1 appserve appserve 1029 Jun 18 04:00 blacklist.filters
    1626763 -rw-r--r-- 1 appserve appserve 1611 Jun 18 04:02 blog.properties
    1626764 -rw-r--r-- 1 appserve appserve 138 Jun 18 04:00 contextloader.properties
    1626765 -rw-r--r-- 1 appserve appserve 543 Jun 18 04:01 emoticons.properties
    1626766 -rw-r--r-- 1 appserve appserve 593 Jun 18 04:00 flavor.properties
    1626767 -rw-r--r-- 1 appserve appserve 97 Jun 18 04:01 macros.properties
    1626768 -rw-r--r-- 1 appserve appserve 709 Jun 18 04:00 plugin.properties
    1626769 -rw-r--r-- 1 appserve appserve 192 Jun 18 04:00 referer.properties
    1626770 -rw-r--r-- 1 appserve appserve 117 Jun 18 04:00 showmemore.properties
    if they dont run the following sudo ed commands .
    chown appserver:appserveradm /Library/Tomcat/blojsom_root/webapps/ROOT/WEB-INF/<Username>
    Thrid : look up in your /Library/Application Support/Weblogs/ your entries may have been modified as well ..
    run the following sudoed :
    su
    <password>
    cd /Library/Application Support/Weblogs
    ls -Cauil
    if you get root somewhere your entries will be unusable . hence you have again to change the owners .
    chown -R appserver:appserveradm /Library/Application\ Support/Weblogs/
    ls -Cauil shall now give you the following ...
    631548 drwxrwx--- 17 appserve appserve 578B Jun 18 04:21 ./
    631542 drwxrwx--- 10 appserve appserve 340B Jun 18 04:21 ../
    1626605 -rw-rw---- 1 bertrand appserve 6K Jun 18 03:54 .DS_Store
    1626760 drwxr-xr-x 12 appserve appserve 408B Jun 18 04:14 <USERS>/
    631613 -rw-rw---- 1 appserve appserve 363B Jun 18 04:00 blojsom.properties
    631549 drwxrwx--- 12 appserve appserve 408B Jun 18 04:00 bootstrap/
    631594 drwxrwx--- 4 appserve appserve 136B Jun 18 02:06 classes/
    631597 drwxrwx--- 13 appserve appserve 442B Jun 18 04:02 default/
    631615 -rw-rw---- 1 appserve appserve 228B Jun 18 04:00 dispatcher.properties
    631575 drwxrwx--- 20 appserve appserve 680B Jun 18 04:00 lib/
    1626559 -rw-rw---- 1 root appserve 116B Jun 18 04:00 plugin-admin-edit-users.properties
    631617 -rw-rw---- 1 appserve appserve 270B Jun 18 04:00 plugin-admin-upload.properties
    631618 -rw-rw---- 1 appserve appserve 2K Jun 18 04:00 plugin.properties
    631560 drwxrwx--- 16 appserve appserve 544B Jun 18 02:06 templates/
    631611 -rw-rw---- 1 appserve appserve 1K Jun 18 04:00 velocity.properties
    631612 -rw-rw---- 1 appserve appserve 5K Jun 18 04:00 web.xml
    631614 -rw-rw---- 1 appserve appserve 185B Jun 18 01:14 xmlrpc.properties
    Fourth restart the application server service and web service ..
    Enjoy the fix .
    Mac os X server 10.4.6   Mac OS X (10.4.6)  

  • WebLogic Class not found Exception while calling XA-APIs

              Hi,
              Any oone have any information about the following exception I get while calling xa-apis while using Oracle 8.1.7 thin jdbc driver.
              Thanks - Sanjay
              ** 2001-01-25 18:13:08.989
              *** SESSION ID:(24.98) 2001-01-25 18:13:08.977
              java.lang.ClassNotFoundException: weblogic.transaction.internal.XidImpl
              at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
              at
              oracle.jdbc.xa.server.OracleWrapXAResource.deserializeObject(OracleWrapX
              AResource.java)
              at
              oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.ja
              va)
              java.lang.NullPointerException
              at
              oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.ja
              va)
              

              Hi Sanjay and Vel,
              We have been running internal test suites using the Oracle 8.1.7 thin driver,
              and did not run into this problem. I suspect this may be related to the database
              setup or environment. We would also like to understand why it happens. I would
              suggest either of you to report this problem to Oracle support and see whether
              they could shed some light on this.
              -- Priscilla Fung, BEA Systems, Inc.
              "Vel" <[email protected]> wrote:
              >
              >Hello Sanjay.
              >I'm having the same problem.
              >Did u find why that happened? If yes, pls let me know.
              >Thanks in advance.
              >Vel
              >"Sanjay" <[email protected]> wrote:
              >>
              >>Hi,
              >>Any oone have any information about the following exception I get while
              >>calling xa-apis while using Oracle 8.1.7 thin jdbc driver.
              >>Thanks - Sanjay
              >>
              >>** 2001-01-25 18:13:08.989
              >>*** SESSION ID:(24.98) 2001-01-25 18:13:08.977
              >>java.lang.ClassNotFoundException: weblogic.transaction.internal.XidImpl
              >> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
              >> at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
              >> at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
              >> at
              >>oracle.jdbc.xa.server.OracleWrapXAResource.deserializeObject(OracleWrapX
              >>AResource.java)
              >> at
              >>oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.ja
              >>va)
              >>java.lang.NullPointerException
              >> at
              >>oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.ja
              >>va)
              >>
              >
              

  • Weblogic.jar not found

    Hi,
    Going throu' a strange problem. I am calling an applet method from javascript. This applet method in turn access certain ejb methods which needs the class files of weblogic.jar. I have this weblogic.jar in the classpath, applet archive and both application and applet.jar reside in the same server. Obviously weblogic.jar is also in the server classpath. But when I call the applet method from javascript it is not able to find the classes in weblogic.jar. I am not sure what the problem is. Could somebody help. Thank You.
    - Vik

    did you resolve the issue ? If so, let me know.

  • Error 404--Not Found while accessing web app through Weblogic 6.1

    Hi everybody,
              I am new to Weblogic and recently installed Weblogic6.1
              on my machine and I am trying to access my application using weblogic
              and it gives
              Error 404--Not Found
              From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
              10.4.5 404 Not Found
              I have uploaded the WAR file of my application using the Admin
              console. The WAR file is place under
              \bea\wlserver6.1\config\mydomain\applications\screen.war.
              What am I doing wrong ?
              Thanks is advance.
              PS: I am also including my web.xml file
              <?xml version="1.0" encoding="ISO-8859-1"?>
              <!DOCTYPE web-app
              PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
              "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <web-app>
              <session-config>
              <session-timeout>-1</session-timeout>
              </session-config>
              <!-- Action Servlet Configuration -->
              <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              <init-param>
              <param-name>application</param-name>
              <param-value>resources.nmr.ApplicationResources</param-value>
              </init-param>
              <init-param>
              <param-name>config</param-name>
              <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <init-param>
              <param-name>debug</param-name>
              <param-value>2</param-value>
              </init-param>
              <init-param>
              <param-name>detail</param-name>
              <param-value>2</param-value>
              </init-param>
              <init-param>
              <param-name>validate</param-name>
              <param-value>true</param-value>
              </init-param>
              <load-on-startup>2</load-on-startup>
              </servlet>
              <!-- Action Servlet Mapping -->
              <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>
              </servlet-mapping>
              <!-- PDF servlet configuration -->
              <servlet>
              <servlet-name>pdf</servlet-name>
              <servlet-class>com.abbott.gprd.servlets.PdfServlet</servlet-class>
              </servlet>
              <!-- PDF servlet Mapping -->
              <servlet-mapping>
              <servlet-name>pdf</servlet-name>
              <url-pattern>/pdf</url-pattern>
              </servlet-mapping>
              <!-- MIME Mapping -->
              <mime-mapping>
              <extension>mol</extension>
              <mime-type>chemical/x-mdl-molfile</mime-type>
              </mime-mapping>
              <!-- The Welcome File List -->
              <welcome-file-list>
              <welcome-file>index.jsp</welcome-file>
              </welcome-file-list>
              <!-- Application Tag Library Descriptor -->
              <taglib>
              <taglib-uri>/WEB-INF/app.tld</taglib-uri>
              <taglib-location>/WEB-INF/app.tld</taglib-location>
              </taglib>
              <!-- Struts Tag Library Descriptors -->
              <taglib>
              <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
              </taglib>
              <taglib>
              <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
              </taglib>
              <taglib>
              <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
              </taglib>
              <taglib>
              <taglib-uri>/WEB-INF/nmr.tld</taglib-uri>
              <taglib-location>/WEB-INF/nmr.tld</taglib-location>
              </taglib>
              </web-app>
              

    hmm
              it all looks ok to me
              what happens if you try to access an image or something in your war (ie
              something not java related)
              also - i have seen on some machines that localhost doesnt work but 127.0.0.1
              does work
              your app should be trying to access index.jsp which should be in the root
              directory of your war
              does index.jsp exist and is it in the root directory of your war?
              lastly - i noticed you have a startup servlet. Put a system.out in the init
              method of the servlet. If the servlet is being deployed OK then you should
              see some output in the console
              "Ravi" <[email protected]> wrote in message
              news:[email protected]...
              > I am specifying the same http://localhost:7001/screen and it still
              > gives the same error.
              >
              > Following is part of my cofig.xml where myapp is specified.
              >
              > <CustomRealm
              >
              ConfigurationData="user.filter=(&(cn=%u)(objectclass=person));user.dn=ou
              =people,
              > o=example.com;server.principal=cn=admin,
              >
              o=example.com;membership.filter=(&(member=%M)(objectclass=groupofuniquen
              ames));group.filter=(&(cn=%g)(objectclass=groupofuniquenames));server.ho
              st=ldapserver.example.com;server.ssl=true;group.dn=ou=groups,
              > o=example.com"
              > Name="defaultLDAPRealmForNovellDirectoryServices"
              > Notes="This is provided as an example. Before enabling this
              > Realm, you must edit the configuration parameters as appropriate for
              > your environment."
              > Password="{3DES}/4XkW5rmVvBHzFtI9SRK/g=="
              > RealmClassName="weblogic.security.ldaprealmv2.LDAPRealm"/>
              > <Server ListenPort="7001" Name="myserver" NativeIOEnabled="true"
              > TransactionLogFilePrefix="config/mydomain/logs/">
              > <Log FileName="config/mydomain/logs/weblogic.log"
              > Name="myserver"/>
              > <SSL Enabled="true" ListenPort="7002" Name="myserver"
              > ServerCertificateChainFileName="config/mydomain/ca.pem"
              > ServerCertificateFileName="config/mydomain/democert.pem"
              > ServerKeyFileName="config/mydomain/demokey.pem"/>
              > <WebServer DefaultWebApp="DefaultWebApp"
              > LogFileName="./config/mydomain/logs/access.log"
              > LoggingEnabled="true" Name="myserver"/>
              > <ServerDebug Name="myserver"/>
              > <ExecuteQueue Name="default"/>
              > <KernelDebug Name="myserver"/>
              > <ServerStart Name="myserver"/>
              > </Server>
              > <Application Deployed="true" Name="screen"
              > Path=".\config\mydomain\applications">
              > <WebAppComponent Name="screen" Targets="myserver"
              > URI="screen.war"/>
              > </Application>
              > <SNMPAgent Name="mydomain"/>
              > <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
              > <ApplicationManager Name="mydomain"/>
              > <JTA Name="mydomain"/>
              >
              > Thanks in advance.
              > Ravi.
              >
              >
              > "Matt Krevs" <[email protected]> wrote in message
              news:<[email protected]>...
              > > what url are you specifying?
              > >
              > > i would guess that http://localhost/screen-web would work. Hard to say
              > > without also seeing your config.xml
              > >
              > > The critical item in config.xml is the value of URI in the
              webappcomponent
              > > element for your application
              > >
              > > eg if it was
              > >
              > > <WebAppComponent Name="myapp-web" Targets="myerver" URI="myapp-web"/>
              > >
              > > then the url you would call is http://localhost/myapp-web
              > >
              > > "Ravi" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > Hi everybody,
              > > > I am new to Weblogic and recently installed Weblogic6.1
              > > > on my machine and I am trying to access my application using weblogic
              > > > and it gives
              > > >
              > > > Error 404--Not Found
              > > > From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
              > > > 10.4.5 404 Not Found
              > > >
              > > > I have uploaded the WAR file of my application using the Admin
              > > > console. The WAR file is place under
              > > > \bea\wlserver6.1\config\mydomain\applications\screen.war.
              > > >
              > > > What am I doing wrong ?
              > > >
              > > > Thanks is advance.
              > > >
              > > > PS: I am also including my web.xml file
              > > >
              > > > <?xml version="1.0" encoding="ISO-8859-1"?>
              > > >
              > > > <!DOCTYPE web-app
              > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
              > > > "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              > > >
              > > > <web-app>
              > > >
              > > > <session-config>
              > > > <session-timeout>-1</session-timeout>
              > > > </session-config>
              > > >
              > > > <!-- Action Servlet Configuration -->
              > > > <servlet>
              > > > <servlet-name>action</servlet-name>
              > > >
              <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              > > > <init-param>
              > > > <param-name>application</param-name>
              > > > <param-value>resources.nmr.ApplicationResources</param-value>
              > > > </init-param>
              > > > <init-param>
              > > > <param-name>config</param-name>
              > > > <param-value>/WEB-INF/struts-config.xml</param-value>
              > > > </init-param>
              > > > <init-param>
              > > > <param-name>debug</param-name>
              > > > <param-value>2</param-value>
              > > > </init-param>
              > > > <init-param>
              > > > <param-name>detail</param-name>
              > > > <param-value>2</param-value>
              > > > </init-param>
              > > > <init-param>
              > > > <param-name>validate</param-name>
              > > > <param-value>true</param-value>
              > > > </init-param>
              > > > <load-on-startup>2</load-on-startup>
              > > >
              > > > </servlet>
              > > >
              > > > <!-- Action Servlet Mapping -->
              > > > <servlet-mapping>
              > > > <servlet-name>action</servlet-name>
              > > > <url-pattern>*.do</url-pattern>
              > > > </servlet-mapping>
              > > >
              > > > <!-- PDF servlet configuration -->
              > > > <servlet>
              > > > <servlet-name>pdf</servlet-name>
              > > >
              <servlet-class>com.abbott.gprd.servlets.PdfServlet</servlet-class>
              > > > </servlet>
              > > >
              > > >
              > > > <!-- PDF servlet Mapping -->
              > > > <servlet-mapping>
              > > > <servlet-name>pdf</servlet-name>
              > > > <url-pattern>/pdf</url-pattern>
              > > > </servlet-mapping>
              > > >
              > > > <!-- MIME Mapping -->
              > > > <mime-mapping>
              > > > <extension>mol</extension>
              > > > <mime-type>chemical/x-mdl-molfile</mime-type>
              > > > </mime-mapping>
              > > >
              > > >
              > > > <!-- The Welcome File List -->
              > > > <welcome-file-list>
              > > > <welcome-file>index.jsp</welcome-file>
              > > > </welcome-file-list>
              > > >
              > > > <!-- Application Tag Library Descriptor -->
              > > > <taglib>
              > > > <taglib-uri>/WEB-INF/app.tld</taglib-uri>
              > > > <taglib-location>/WEB-INF/app.tld</taglib-location>
              > > > </taglib>
              > > >
              > > > <!-- Struts Tag Library Descriptors -->
              > > > <taglib>
              > > > <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
              > > > <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
              > > > </taglib>
              > > >
              > > > <taglib>
              > > > <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
              > > > <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
              > > > </taglib>
              > > >
              > > > <taglib>
              > > > <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
              > > > <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
              > > > </taglib>
              > > >
              > > > <taglib>
              > > > <taglib-uri>/WEB-INF/nmr.tld</taglib-uri>
              > > > <taglib-location>/WEB-INF/nmr.tld</taglib-location>
              > > > </taglib>
              > > >
              > > > </web-app>
              

  • Weblogic 10.0 Page not found  error

    Hi, I'm just trying Weblogic 10.0 but when I try to add a datasource or press next it gives:
    Page not found
    The server has not found anything matching the Request-URI.
    The URI is:
    http://localhost:7001/console/7001/console/console.portal?CreateGlobalJDBCDataSourcePortlet_actionOverride=/com/bea/console/actions/jdbc/datasources/createjdbcdatasource/start
    Anybody knows how to solve this problem?
    Thanks,
    Johann

    Hi,
    I am also facing the same problem but only in a particular machine.
    Do we have to make any configuration to solve this problem ?
    If any one knows please help to solve this
    Thanks,
    Suresh

  • Apache plug-in prob : when trying to access '/weblogic/' URL , "404 : file not found" error is shown

    On : Apache 2.0 , Weblogic 7.0, Win 2000
    I installed the Apache plug-in for as described in WL docs, but when I try to
    access a URL /weblogic/ ( supposed to be configured automatically ) on apache,
    I get '404 : file not found' error.
    As per the docs, I did following config in Apache:
    1. Copied the 'mod_wl_20.so' file found in WLHOME\server\bin directory to the
    APACHE_HOME\modules directory
    2. Added to httpd.conf :
    LoadModule weblogic_module modules/mod_wl_20.so
    3. Apache httpd.conf syntax correct : checked by running ' APACHE_HOME\bin\Apache
    -t '
    4. Restarted WL & Apache.
    Now, the weblogic documentation says,
    "Test the Apache plug-in by opening a browser and setting the URL to the Apache
    Server + "/weblogic/", which should bring up the default WebLogic Server HTML
    page, welcome file, or default servlet, as defined for the default Web Application
    on WebLogic Server. For example:
    http://myApacheserver.com/weblogic/".
    For my server, 'http://localhost/weblogic/' - I get a "404 : file not found" error.
    What other configuration is needed ? Do I have to specify '/weblogic/' name anywhere
    else in Apache configuration file ?
    Any pointers will be appreciated.
    Thanks,
    S

    Forgot to mention , I've also added following configuration in httpd.conf :
    LoadModule weblogic_module modules\mod_wl_20.so
    <IfModule mod_weblogic.c>
    WebLogicHost localhost
    WebLogicPort 7501
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    PathTrim /weblogic
    </Location>
    "S" <[email protected]> wrote:
    >
    On : Apache 2.0 , Weblogic 7.0, Win 2000
    I installed the Apache plug-in for as described in WL docs, but when
    I try to
    access a URL /weblogic/ ( supposed to be configured automatically ) on
    apache,
    I get '404 : file not found' error.
    As per the docs, I did following config in Apache:
    1. Copied the 'mod_wl_20.so' file found in WLHOME\server\bin directory
    to the
    APACHE_HOME\modules directory
    2. Added to httpd.conf :
    LoadModule weblogic_module modules/mod_wl_20.so
    3. Apache httpd.conf syntax correct : checked by running ' APACHE_HOME\bin\Apache
    -t '
    4. Restarted WL & Apache.
    Now, the weblogic documentation says,
    "Test the Apache plug-in by opening a browser and setting the URL to
    the Apache
    Server + "/weblogic/", which should bring up the default WebLogic Server
    HTML
    page, welcome file, or default servlet, as defined for the default Web
    Application
    on WebLogic Server. For example:
    http://myApacheserver.com/weblogic/".
    For my server, 'http://localhost/weblogic/' - I get a "404 : file not
    found" error.
    What other configuration is needed ? Do I have to specify '/weblogic/'
    name anywhere
    else in Apache configuration file ?
    Any pointers will be appreciated.
    Thanks,
    S

  • Error 404 -- Not Found while accessing weblogic console

    Hi
    I get Error 404 Not Found while accessing the console or any other application
    which is deployed on the server
    while the server is running even i have restarted my server
    it shows server running in the log files as well as on the command console .
    but when i try to access console or any other application it gives me error page
    404 Not Found
    I am using weblogic 7 with SP2 on solaris
    So please help me in debugging the problem
    Thanks in advance....
    Pratap

    Hi
    I get Error 404 Not Found while accessing the console or any other application
    which is deployed on the server
    while the server is running even i have restarted my server
    it shows server running in the log files as well as on the command console .
    but when i try to access console or any other application it gives me error page
    404 Not Found
    I am using weblogic 7 with SP2 on solaris
    So please help me in debugging the problem
    Thanks in advance....
    Pratap

  • CIM.bat giving error that weblogic lib path not found

    I am using atg 9.1 and weblogic 10.3.2. Installed both s/w and started weblogic server. I am using cim.bat to configure and I am stuck at a point where it asks for the app server I am using and I selected 'Weblogic' and when it asked for the path..I gave the correct path where weblogic is installed...but it says Weblogic lib path not found...even though I can see the server/lib directory...could you please help ?

    Yes, I did that...my weblogic is installed in c:\Oracle\Middleware\wlserver_10.3.2 and CIM gives a message that [c:/Oracle/Middleware/wlserver_10.3.2/server/lib] weblogic lib path not found
    Also I see c:\Oracle\Middleware\wlserver_10.3.2\server\lib directory and all the required weblogic files available in that directory.

  • Servlet Class dependency is not found at weblogic startup.

    I have the following ear file which includes:
    web-inf\lib (contains all the needed utilities jar)
    *ejb.jar
    *webapp.war (The WEB-INF\lib dir inside war file contains all the needed utilities
    jars.
    I get the following BEA-101250 error saying that a servlet could not be loaded
    because a class that it depends on is not in the classpath. But I think I place
    all the needed jars in the startWebLogic.cmd file as well as in the WEB-INF\lib
    of the ear and war files. However, if a classs that a servlet depends on is not
    found, why doesn't weblogic simply tells us what that class is (instead of guessing
    to death)? How can I find which class that the servlet depends on is not found?
    Thanks.
    BEA-101250
    Error: [context]: Servlet class className for servlet svltName could not be loaded
    because a class on which it depends was not found in the classpath classPath.\nt.
    Description
    [context]: Servlet class className for servlet svltName could not be loaded because
    a class on which it depends was not found in the classpath classPath.\nt.
    Cause
    One of the classes the servlet class uses was not recognized by the Web application
    classloader.
    Action
    Make sure the class is available either in WEB-INF/classes or WEB-INF/lib or
    system classpath.

    Hmm, do you perhaps have the prefer web-inf-classes set in weblogic.xml?
    -- Rob
    rock wrote:
    I place all the utilties class in the top level APP-INF/lib. Same error. I installed
    this application on JBoss and everything runs fine. I really don't know what
    classes or jar that weblogic says that a servlet depends on.
    There are only a finite number of places where you can put all the needed jars
    in which that servlet depends:
    1. myapp.ear/APP-INF/lib
    2. myapp.ear/WEB-INF/lib
    3. or put it to a directory in the ear and refer to each jars in the CLASS-PATH
    line of the MANIFEST.MF file.
    4. myweb.war/WEB-INF/lib
    5. EJBs are in myapp.ear top directory
    6. Refer to all the jars in startWebLogic.cmd script as it starts.
    I still don't know what jars I am missing.
    Thanks.
    Rob Woollen <[email protected]> wrote:
    rock wrote:
    Rob,
    I remove all the classpath, but when I deploy the ejb complains thatit missed
    all the needed utilities class. Ok, stop there. If the utilities classes need to be seen by both the
    EJBs and webapp, then placing them in WEB-INF/lib is not enough. That
    makes them available only to the webapp.
    If you're using 8.1, then the solution is pretty simple. Move your
    utility classes into a top-level directory named APP-INF/lib
    ie
    ear/APP-INF/lib/utils.jar
    ear/fooejb.jar
    ear/fooweb.war
    If you're using < 8.1, then you can still move the jars to APP-INF/lib,
    but you'll need to add manifest class-path entries to the EJB and webapp.
    -- Rob
    I again place it on - the ear deploys fine (ejbs
    and war). But the starting servlet could not loaded because it cannotfinds a
    class that it depends on. I think I reference all the classes or jarsthat it
    needs - so I need it to tell me which one. I don't know why weblogicmakes it
    so difficult. It took me a month already and all I need to do is findthe class
    that it complains about.
    Rob Woollen <[email protected]> wrote:
    Yes, it would be nicer if that exception had more information.
    You told the web container the servlet-class in your web.xml. THe
    web
    container tried to load it and got a NoClassDefFoundError.
    Unfortuantely that exception doesn't include much information.
    NoClassDefFoundErrors are caused by something in a parent loader
    depending on something in a child classloader.
    Step #1 is for you to remove everything you've added to the $CLASSPATH.
    If that doesn't solve your problem, post again.
    -- Rob
    rock wrote:
    I have the following ear file which includes:
    web-inf\lib (contains all the needed utilities jar)
    *ejb.jar
    *webapp.war (The WEB-INF\lib dir inside war file contains all the
    needed
    utilities
    jars.
    I get the following BEA-101250 error saying that a servlet could notbe loaded
    because a class that it depends on is not in the classpath. But Ithink I place
    all the needed jars in the startWebLogic.cmd file as well as in theWEB-INF\lib
    of the ear and war files. However, if a classs that a servlet dependson is not
    found, why doesn't weblogic simply tells us what that class is (insteadof guessing
    to death)? How can I find which class that the servlet depends onis not found?
    Thanks.
    BEA-101250
    Error: [context]: Servlet class className for servlet svltName couldnot be loaded
    because a class on which it depends was not found in the classpathclassPath.\nt.
    Description
    [context]: Servlet class className for servlet svltName could notbe loaded because
    a class on which it depends was not found in the classpath classPath.\nt.
    Cause
    One of the classes the servlet class uses was not recognized by theWeb application
    classloader.
    Action
    Make sure the class is available either in WEB-INF/classes or WEB-INF/libor
    system classpath.

  • Weblogic 8.1: Remote/Foreign Server JMS - Destination not found error

    Hi
    This is our current setup: Weblogic Server 8.1 with JMS module running on the same instance as the application. We would like to move JMS out into its own box. I am currently setting up my development environment to test the new setup. These are the steps I followed:
    * Setup the server instance running the application on one box (Box1). Removed the existing JMS Connection Factory and Destination JNDI setup
    * Setup a server instance on another box (Box2) without the application. Created the necessary JMS Connection Factories and Destinations. Started the server instance on Box2
    * Added a Foreign Server configuration on Box1. Created the connection factory and destinations under this foreign server pointing to Box2
    * The Foreign JNDI names are being bound correctly (I verified the JNDI tree on Box1). Restarted the server instance of Box1
    Message-Driven Beans deployed on Box1 are unable to retrieve messages from Box2. The exception thrown is given below. Any help in troubleshooting and resolving this issue is appreciated.
    <Warning> <EJB> <myserver> <main> <<WLS Kernel>> <> <BEA-010061> <The Message-Driven EJB: MyBean is unable to connect to the JMS destination: jms/my.application.firstQueue. The Error was:
    weblogic.jms.common.JMSException: Destination not found
    weblogic.jms.common.JMSException: Destination not found
    at weblogic.jms.dispatcher.InvocableManager.invocableFind(InvocableManager.java:136)
    at weblogic.jms.backend.BESession.createConsumer(BESession.java:153)
    at weblogic.jms.backend.BESession.invoke(BESession.java:1457)
    at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:643)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:179)
    at weblogic.jms.frontend.FEConsumer.<init>(FEConsumer.java:232)
    at weblogic.jms.frontend.FESession$3.run(FESession.java:1058)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.jms.frontend.FESession.consumerCreate(FESession.java:1054)
    at weblogic.jms.frontend.FESession.invoke(FESession.java:2552)
    at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:643)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:179)
    at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:1860)
    at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:1691)
    at weblogic.jms.client.JMSSession.createReceiver(JMSSession.java:1530)
    at weblogic.ejb20.internal.JMSConnectionPoller.setUpQueueSessions(JMSConnectionPoller.java:1720)
    at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:2019)
    at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectionPoller.java:1180)
    at weblogic.ejb20.internal.JMSConnectionPoller.startJMSConnectionPolling(JMSConnectionPoller.java:846)
    at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start(MessageDrivenBeanPoolInfoImpl.java:234)
    at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1660)
    at weblogic.ejb20.deployer.EJBDeployer.startMessageDrivenBeans(EJBDeployer.java:1555)
    at weblogic.t3.srvr.T3Srvr.startMDBs(T3Srvr.java:948)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:1024)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
    at weblogic.Server.main(Server.java:32)
    Edited by: user8773992 on Sep 2, 2009 11:31 AM

    1 - Ensure that the MDB is configured to reference the remote connection factory AND remote destination.
    2 - If using the foreign JMS server facility, ensure that it defines the URL of the remote cluster/server, a connection factory mapping, and a destination mapping. Also ensure that the MDB connection factory and destination descriptor fields reference the local JNDI names for the mappings.
    3 - If not using the foreign JMS server facility, ensure that the MDB descriptor has the URL of the remote cluster, and a destination JNDI name that's in the remote cluster. (The connection factory JNDI name is not needed in this case, as the MDB will automatically look for a default connection factory that MDB's use.)
    I think the MDB chapter of the EJB programmer's guide will likely be helpful here. The latest documentation for the latest release may be more up-to-date than 8.1 -- the concepts are the same with the newer releases.
    Tom

  • Weblogic/transaction/internal/TransactionHelperImpl class not found error

    Hi All,
    I am getting the follwing excepition while running the application.
    which jar i need to add in the class path. I am using weblogic 10.0 sever.
    pls help as soon as possible.
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/transaction/internal/TransactionHelperImpl
    at weblogic.jndi.spi.EnvironmentManager$DefaultFactoryMaker.<clinit>(EnvironmentManager.java:26)
    at weblogic.jndi.spi.EnvironmentManager.getInstance(EnvironmentManager.java:48)
    at weblogic.jndi.Environment.getContext(Environment.java:307)
    at weblogic.jndi.Environment.getContext(Environment.java:277)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at com.deceval.security.businessobjects.ServiceLocator.getContext(ServiceLocator.java:66)
    at com.deceval.security.businessobjects.ServiceLocator.getSecurityServerMgrSO(ServiceLocator.java:138)
    at com.deceval.security.securityinterface.SecuritySubSystemWin.<init>(SecuritySubSystemWin.java:121)
    at com.deceval.security.securitywindow.StartClass.<init>(StartClass.java:29)
    at com.deceval.security.securitywindow.StartClass.main(StartClass.java:47)
    Press any key to continue . . .
    thanks in advance
    krishna

    This error line does hint that you do have the required JARs in the classpath but there may be version different. If jar is missing you would have NoClassDefFound Error. But it say method signature not found. May be the jar that you are using do not have this method. Try using other version of the jar. Incase if you have like any java decompiler, you can always open this .class file and see if this method signature exists in that class.
    Caused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
    I do not know anything about asm, but just incase if this class happens to exist in any other package also but with different APIs (older versions) and you are referring them first. Usually this happens if we have same class with diff versions in diff jars and the order in which this class gets loaded. So if you have this same class but latest version put those JARs in the first before asm jars. You gave list of some packages, put the asm package in the end and see if that helps. Its just a hint as we do run into these kind of issues specially with diff version os Struts jars that we use everyday with weblogic.
    HTH
    Ravi Jegga

Maybe you are looking for