Problems deploying Spring 2.0.8 and Hibernate 3 web application to Weblogic 10.3.6

My application deploys but when it's accessed this (below) exception is thrown. It appears that it has a problem with my weblogic.xml file. This application was previously deployed on OC4J .
Here's my weblogic.xml. I added the xsd to the classpath /WEB-INF/classes dir thinking that maybe the server can access it's http location. There are no reference to this particualr error on the web (WlsScaSpringNamespaceHandler)
Weblogic.xml
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app
    xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-web-app classpath:weblogic-web-app.xsd
        http://java.sun.com/xml/ns/javaee classpath:web-app_2_4.xsd ">
    <weblogic-version>10.3.6</weblogic-version>
    <description>ChargeCodeDeploymentDescriptor
    </description>
    <context-root>chargecode</context-root>
    <container-descriptor>
        <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
</weblogic-web-app>
####<Mar 12, 2015 2:49:09 PM CDT> <Debug> <ServerMigration> <soatest1.cjis.iowa.gov> <WLS_SOA1> <[ACTIVE] ExecuteThread: '2' for q
ueue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0e5d06449b77071c:-70c3a57a:14c0ab4e30e:-8000-0000000000017c8b> <
1426189749780> <BEA-000000> <Query: UPDATE ACTIVE SET TIMEOUT = ( (SYSDATE + (30/86400))) WHERE SERVER IN ('wlsserver.WLS_SOA1') A
ND INSTANCE ='2344369727401629039/WLS_SOA1' AND DOMAINNAME='cjis_test_soa_domain' AND CLUSTERNAME='SOA_Cluster'>
####<Mar 12, 2015 2:49:09 PM CDT> <Debug> <ServerMigration> <soatest1.cjis.iowa.gov> <WLS_SOA1> <[ACTIVE] ExecuteThread: '0' for q
ueue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0e5d06449b77071c:-70c3a57a:14c0ab4e30e:-8000-0000000000017c8d> <
1426189749788> <BEA-000000> <Query: UPDATE ACTIVE SET TIMEOUT = ( (SYSDATE + (30/86400))) WHERE SERVER IN ('wlsserver.WLS_SOA1') A
ND INSTANCE ='2344369727401629039/WLS_SOA1' AND DOMAINNAME='cjis_test_soa_domain' AND CLUSTERNAME='SOA_Cluster'>
####<Mar 12, 2015 2:49:18 PM CDT> <Error> <ServletContext-/chargecode> <soatest1.cjis.iowa.gov> <WLS_SOA1> <[ACTIVE] ExecuteThread
: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <D2gim1K2000000000> <1426189758384> <BEA-000000> <Excep
tion while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract gov.iowa.dhr.cjis.cca.client.domain.User gov.i
owa.dhr.cjis.cca.client.ChargeCodeAdministrationService.authenticateUser(java.lang.String,java.lang.String) throws gov.iowa.dhr.cj
is.cca.client.InvalidLoginException' threw an unexpected exception: org.springframework.beans.factory.BeanDefinitionStoreException
: Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.Illeg
alArgumentException: Class [weblogic.sca.engine.parse.WlsScaSpringNamespaceHandler] does not implement the NamespaceHandler interf
ace
        at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class pa
th resource [applicationContext.xml]; nested exception is java.lang.IllegalArgumentException: Class [weblogic.sca.engine.parse.Wls
ScaSpringNamespaceHandler] does not implement the NamespaceHandler interface

Hi, Graeme.
Seems there is an existing CR on something related from v10.0: CR353213
* WLS 10.0 - EJB 3.0 deployment fails when parsing class for Stateless annotation
According to http://edocs.bea.com/wls/docs103/issues/known_resolved.html, this is not addressed in 10.3
Closely review your classpath, and then (assuming you have access to the source) review the body of your ejb. If it is related to this CR, you may be able to workaround the issue by shortening the body and split large methods into more sub-methods.
I hope this helps,
-Adrian

Similar Messages

  • Exception occured while deploying  web application in weblogic

    Hello,
    I am trying to deploy one web application on weblogic server but i got one exception , if anybody knows how to resolve this problem please help me out.
    Thank you.
    Exception is as follows :
    java.lang.IllegalArgumentException: Renderer for type 'Time' already exists.

    Thanx
    javax.faces.FacesException: java.lang.IllegalArgumentException: Renderer for type 'Time' already exists.
         at com.sun.faces.config.ConfigBase.updateRenderKits(ConfigBase.java:398)
         at com.sun.faces.config.ConfigBase.updateRuntimeComponents(ConfigBase.java:286)
         at com.sun.faces.config.ConfigListener.contextInitialized(ConfigListener.java:202)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:374)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1581)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2678)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:874)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:326)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:114)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:25)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:567)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:131)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:101)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:126)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:329)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:845)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1246)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:432)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)

  • How to restore a filestream enabled and rbs configured web application

    HI
    in sharepoint farm I taken  backup of a filestream enabled and rbs configured web application  from central admin
    and how to restore it in a new sharepoint farm in different server
    adil

    hi i seen this error message in sprestore file in restore foloder,
    i am trying to restore the backup  in sql srver 2008 R2
    and
    backup taken  by sharepoint form which has back end sql server 2010 database datacenter
    IF EXISTS ( SELECT * FROM master..sysdatabases WHERE has_dbaccess(name)=1 AND
    name=@db_name )
    BEGIN
    SELECT 1 as ErrorCode
    END
    ELSE
    BEGIN RESTORE DATABASE [WSS_Content_Prod] FROM
    DISK=@db_location WITH STATS=5, FILE=1, MOVE @db_OldName TO @db_NewFile, MOVE @db_OldLogName TO @db_NewLogFile, MOVE @fsfg_old0 TO @fsfg_new0, NOREWIND, NOUNLOAD, RESTART, RECOVERY
    END
    @db_location=C:\BackUpandRestore from 117\ALPROD\spbr0000\0000016A.bak, @fsfg_old0=RBSFilestreamFile, @fsfg_new0=c:/rbs, @db_OldName=WSS_Content_Prod, @db_NewFile=C:\Program Files\Microsoft
    SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\WSS_Content_Prod.mdf, @db_OldLogName=WSS_Content_Prod_log, @db_NewLogFile=c:/Prodlogs\WSS_Content_Prod_log.ldf, @db_name=WSS_Content_Prod
    [3/24/2014 9:44:08 PM] Verbose: [WSS_Content_Prod] SQL command timeout is set to 1.00 hours.
    [3/24/2014 9:44:08 PM] FatalError: Object WSS_Content_Prod failed in event OnRestore. For more information, see the spbackup.log or sprestore.log file located in the backup directory.
    SqlException: The operation did not proceed far enough to allow RESTART. Reissue the statement without the RESTART qualifier.
    RESTORE DATABASE is terminating abnormally.
    [3/24/2014 9:44:08 PM] Debug: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
    at Microsoft.SharePoint.Administration.Backup.SPSqlBackupRestoreHelper.RunCommand(SqlCommand sqlCommand, SPBackupRestoreInformation args, Boolean throwOnRestart, Boolean& restart, SPSqlBackupRestoreConnection connection)
    at Microsoft.SharePoint.Administration.Backup.SPSqlBackupRestoreHelper.Run(SPBackupRestoreInformation args)
    at Microsoft.SharePoint.Administration.Backup.SPSqlRestoreHelper.Run(SPBackupRestoreInformation args)
    at Microsoft.SharePoint.Administration.SPDatabase.OnRestore(Object sender, SPRestoreInformation info)
    at Microsoft.SharePoint.Administration.SPContentDatabase.OnRestore(Object sender, SPRestoreInformation info)
    [3/24/2014 9:44:08 PM] Verbose: Starting OnPostRestore event.
    [3/24/2014 9:44:08 PM] Verbose: Starting object: SharePoint - 85.
    [3/24/2014 9:44:08 PM] Progress: [SharePoint - 85] 100 percent complete.
    [3/24/2014 9:44:08 PM] Verbose: [SharePoint - 85] Restoring features and its activation properties.
    adil

  • There is an inconsistency between the authentication mode of target web application and the source web application after migrating to claims

    I've had my farm upgraded from SP2010 to SP2013 for over 6 months now and all is well, however, I was refreshing my staging environment from production and I noticed that one of the databases still shows these errors when I run test-spcontentdatabase:
    Category             : Configuration
    Error             : False
    UpgradeBlocking : False
    Message           : The [SharePoint Web App] web application is configured with claims authentication mode however the content database you are trying to attach is intended to be used against
    a windows classic authentication mode.
    Remedy              : There is an inconsistency between the authentication mode of target web application and the source web application. Ensure that the authentication mode setting in upgraded web application is the
    same as what you had in previous SharePoint 2010 web application. Refer to the link "http://go.microsoft.com/fwlink/?LinkId=236865" for more information.
    This doesn't make sense considering I converted the production web application to claims during the upgrade and then verified all sites were working with claims logins. I also verified that existing AD user identities were converted to claims by checking out
    the database tables. Yet test-spcontentdatabase still thinks there is a mismatch here.
    My farm is SP1 and no further CUs. The point of this particular refresh is so I can update to the November CUs in my test farm. Anyone else see this? Seems like it's a bug/safe to ignore because my stuff is working.
    Thanks,
    Aaron

    See:
    http://thesharepointfarm.com/2014/11/test-spcontentdatabase-classic-to-claims-conversion/
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Common headers and footers in web applications

    I want to include common headers and footers in all web applications. I do not want to include the header/footer in each application WAR file. I've tried to follow Orion's tutorial for building a response filter, and I get it working to the point that the header and footer show up on the page, but no other content shows up.
    Has anyone used filters to include static headers and footers in web applications?
    And is there an easier way to do this, that I'm not seeing??

    Hi Anu,
    I have already gone through the document. In that i dint find anything related to headers and footers.Only thing that is available is sorting the dimension headers.
    Please let me know if you have any other info regarding this.
    Thanks & Regards
    Ambica Atluri

  • Must I use spring Framework with JSF2 and Hibernate?

    Hi all,
    I'm starting to develop a web portal and I would use JSF2 and Hibernate.
    Now I don't know JSF2 so I searched some tutorial.
    I found a tutorial on JSF2 that seems very complete but in this tutorial I found a section where the author use Hibernate for the "model section", JSF2 for the "view section" and Spring for the "controller section"!
    Now I have a doubt, can I develop a web portal without Spring MVC or I can't develop any controller's component with JSF2?
    Thank you for your replies!

    For Ram, do you mean that JSF2 isn't a MVC framework with your reply?
    For Kayaman, the author did some examples how implements some frameworks with JSF2 and he do 3 examples:
    1) JSF2 and JDBC;
    2) JSF2 and Spring;
    3) JSF2, Spring and Hibernate!
    However, after this thread, I found a forum in linked to the tutorial and I asked why they use JSF2 and Spring together! Now Im waiting the answer!
    For Gimbla2: well, I'm novice on JSF2 but I develop for some years with ADF and JBO framework!
    You are right to tell me "On the official sites you can find all informations" but I would know some things from some one that used both frameworks!
    Thanks again to all.
    Edited by: Filippo Tenaglia on 20-giu-2011 14.16

  • Problem: deploy war generated by netbeans 5.5(visual web pack)

    I develop web application with netbeans 5.5,
    deploy to sun app server 9.0 and work correct.
    i deploy jsf1.2 libarary to server, and add weblogic.xml to
    application that consist librery-ref='jsf1.2'.
    i deploy this war file to weblogic 10.
    when i request a page from this application that consist
    netbeans jsf component, throw exception not found setId(valueExpression) in for example: PageTag.class.
    if jsf page only consist standard component, or netbeans component do not include id attribute then page render correct.
    please help me.
    thanks.

    These forums support the Java language, not NetBeans (or any other IDE). If you can't find a matching addon, change to the 5.5 version - or ask this question at the NB site.

  • WEB.XML gives me an error while deploying a Web Application in Weblogic 5.1

    I have a Web.xml which I copied the one from their documentation and edited for my servlet specific data. When I try to deploy it I am getting the following error.
              Wed Nov 15 17:10:37 EST 2000:<E> <HTTP> Error reading Web application 'C:/tomcat
              /webapps/La/'
              java.net.UnknownHostException: java.sun.com
              Can you throw some light on this? I have included the first three lines from the WEB,XML file where weblogic is choking.
              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN'
              'http://java.sun.com/j2ee/dtds/webapp_2_2.dtd'>
              Thank You
              Trisula P. Siripurapu
              

              Hi Jacek,
              Thank you for your suggestion. I changed the Web App version to 1.2 instead of 2.2. It worked. Thanks once again for the timely response. I really do appreciate it.
              Trisula Pani Siripurapu.
              Jacek Laskowski <[email protected]> wrote:
              >"Trisula P. Siripurapu" wrote:
              >>
              >> I have a Web.xml which I copied the one from their documentation and edited for my servlet specific data. When I try to deploy it I am getting the following error.
              >> Wed Nov 15 17:10:37 EST 2000:<E> <HTTP> Error reading Web application 'C:/tomcat
              >> /webapps/La/'
              >> java.net.UnknownHostException: java.sun.com
              >
              >I remember having the same problem before I added the latest service
              >pack (SP 6). If you don't want to download it, just change DOCTYPE to
              >
              ><!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application
              >1.2//EN' 'http://java.sun.com/j2ee/dtds/webapp_2_2.dtd'>
              >
              >and it should work. Notice the change of Web Application version - 1.2
              >rather then 2.2. I'm (almost) sure, I saw one example - examples/webapp
              >(?) - with this header. Take a look at the accompanying examples.
              >
              >When you apply SP6, things should work as they suppose to.
              >
              >> Trisula P. Siripurapu
              >
              >Jacek Laskowski
              

  • Deploying third party EJB 3.0 jar in web application

    I have a web application which calls services provided by EJB 3.0 beans packaged in third party jar. How do a configure the web application project to deploy the beans to the embedded OC4J container when I run the application? The jar file is reference by the project, and I have a META-INF/application.xml referencing those jar files as EJB modules. I've set the EJB Version property to 3.0, but the Annotated EJB 3.0 Bean Classes list remains empty, presumably because I have no beans defined in the sources of the application. When running the project, the oc4j container warns that the EJB module contains no beans. I'd like to deploy the beans in the jar file, but can't figure out how.
    Thanks,
    Steve
    JDeveloper 10.1.3.4
    Windows Vista
    Edited by: user10375549 on Oct 29, 2009 6:38 AM - Fixed typo.

    I don't think this technique will work. I added a META-INF/ejb-jar.xml file to the application, and added a <session> section for one of the EJB 3.0 beans from my third party jar. I specified values for <ejb-name>, <ejb-class>, and <session-type> hoping the rest of the configuration would be determined from the annotations in the class. When the server starts, this warning message is displayed:
    Oct 30, 2009 12:06:41 PM com.evermind.server.ejb.logging.EJBDeploymentMessages warningSessionBizInterfaceNotDefined
    WARNING: \[current-workspace-app: ... \] - The session bean does not has at least one business interface defined for client access. The bean is not accessiable and usable at runtime.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 11042 ms.
    \[sic\]
    EJB 3.0 beans are not required to define business interfaces, as they are supposed to be generated by the container.
    Good idea, but still cannot deploy beans from the third party EJB 3.0 jar referenced by my project to the embedded OC4J container. Still investigating.
    Thanks,
    Steve
    By the way, I have been able to use your technique to deploy EJB 2.1 beans from third party jars in other projects, just not EJB 3.0 beans that do not provide ejb-jar.xml deployment descriptors, nor business interfaces.
    Edited by: user10375549 on Oct 30, 2009 9:51 AM - Added relevant comment regarding technique described for solving problem. It works for EJB 2.1 beans but not EJB 3.0 beans.

  • Probloms deploying web application in weblogic 8.1

    Hi,
    I've been using weblogic8.1 to host my web applications.
    The problem that i'm facing is that when i try to upload/deploy the (.war) file through weblogic console it shows the status as success but when i try to access a web resource, it gives me an error saying " The resource did not process correctly" on the browser, where as when i place the (.war) file directly in the applications folder of the user domain i'm able to access the web resource successfully on my browser.
    Can anyone help me in resolving this issue. I require it urgently.
    Thanks

    WLS 9.2 includes pretty advanced features in this area. Both deployment plans and application libraries could be used. There's also a domain/lib directory where jar files can be placed and are visible throughout the server instance.
              Unfortunately 8.1 has none of these features. In 8.1, your choices are to either add these into the $CLASSPATH, or package them in the application.
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Deploying web application in weblogic

    hi everybody
    i hava created one web application and i deployed it in weblogic server
    it was showing first page tat was index page
    the problem was
    when i was trying to access the servlet it was showing some error
    the error was
    error 500 internal server error
    javax.servlet.ServletException: [HTTP:101249][ServletContext(id=12188848,name=myWebApp,context-path=/myWebApp-1)]: Servlet class login for servlet login could not be loaded because the requested class was not found in the classpath C:\bea\user_projects\project\applications\myWebApp;C:\bea\user_projects\project\applications\myWebApp\WEB-INF\classes;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\msbase15983.jar;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\mssqlserver15984.jar;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\msutil15985.jar;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\multipartrequest15986.jar;C:\bea\user_projects\project\myserver\.wlnotdelete\extract\myserver_proj_myWebApp.
    java.lang.UnsupportedClassVersionError: login (Unsupported major.minor version 49.0).
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:794)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:504)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:349)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    and one more thing when i tried to deploy small program tat was executing nicely tat was invoking servlet from jsp output of this servlet was displaying the welcome msg
    in my proj when i m trying to invoke servlet from jsp it was showing the above mentioned error i don know y
    pls help me

    FYI
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=40&t=002818

  • Can I use the search engine and run a web application under the same iPlanet 6.0 virtual server?

    I've got an iPlanet 6.0 SP2 virtual server with the search engine enabled, which was tested and working. I then deployed a web application to it (mapped to "/"), and the web application works fine but now the search functionality is completely broken. Browsing to /search results in a directory index being displayed. Is there some trick to getting the two working together? I tried shuffling NameTrans directives around, but can only get either the search or the web app working, not both.

    Ok, I'm going to answer my own question now...
    The issue has been resolved after some additional experimentation on my part. There were two causes for my problem:
    1. The NameTrans directives in obj.conf are in the wrong order when Java and Search are enabled from the administration interface.
    Here's the admin server generated obj.conf I started with initially, when the web application was working, but requests to the URI "/search" returning a 404 error:
    <Object name="default">
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/search-ui" dir="/usr/local/iWS-6.0/plugins/search/ui" name="es-internal"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/usr/local/iWS-6.0/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/manual" dir="/usr/local/iWS-6.0/manual/https" name="es-internal"
    NameTrans fn="es-search-nametrans" from="/search"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    Here's my obj.conf now, which works perfectly:
    <Object name="default">
    NameTrans fn="pfx2dir" from="/search-ui" dir="/usr/local/iWS-6.0/plugins/search/ui" name="es-internal"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/usr/local/iWS-6.0/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/manual" dir="/usr/local/iWS-6.0/manual/https" name="es-internal"
    NameTrans fn="es-search-nametrans" from="/search"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    The "servlet" NameTrans directive needs to go below all others which map a URI to a function or directory (but before "document-root"), or they break. This is consistent with the iPlanet documentation on NameTrans, but the admin server doesn't get it right!
    2. The developer who wrote the web application uploaded a directory named "search" in the root of his application, which caused the server to display a directory index of "/search", instead of executing the search function. I believe this issue is covered in an iPlanet knowledge base article.

  • Deploying properties files outside of the web application in WebLogic 8.1

    Hi
              I am wondering if it is possible to deploy a web application and place configuration files (properties files, log4j xml files etc...) in a folder somewhere within WebLogic that is on the Server instance classpath. This would allow me to edit the config files and restart the server without having to hack into the web application .war file and then redeploy.
              I am really looking for an equivalent of the /applib folder in Oracle 10gAS (each OC4J server instance has an /applib folder which is on the classpath of the server).
              Is there an equivalent for a weblogic server instance?? (i.e. not just for the entire weblogic server but for individual sever instances).
              thanks
              Will

    WLS 9.2 includes pretty advanced features in this area. Both deployment plans and application libraries could be used. There's also a domain/lib directory where jar files can be placed and are visible throughout the server instance.
              Unfortunately 8.1 has none of these features. In 8.1, your choices are to either add these into the $CLASSPATH, or package them in the application.
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Problem - over lie of data series in Line chart (Web Application Designer)

    Dear Experts,
    I have created a chart with below requiments from my user by using web application designer.
    1) Key Figure 1 (Chart type -> column )
    2) Key Figure 2 (Chart type -> column )
    3) Key Figure 3 (Chart type -> Line; color assigned -> BLACK;    Visibility: Visible)
    4) Key Figure 4 (Chart type -> Line; color assigned -> YELLOW; Visibility: Visible/Hidden)
    5) Key Figure 5 (Chart type -> Line; color assigned -> RED;         Visibility: Visible/Hidden)
    The line chart of Key Figure 3 must always appear in Front then others Key Figures.
    Then following by, Key Figure 4. Last is Key Figure 5.
    As I know the order of display line chart is infflucing by the order of Key Figure in structure by descending, likes below
    1) Key Figure 3 (Rank of front -> 3rd; Chart type -> Line; color assigned -> BLACK;    Visibility: Visible)
    2) Key Figure 4 (Rank of front -> 2nd; Chart type -> Line; color assigned -> YELLOW; Visibility: Visible/Hidden)
    3) Key Figure 5 (Rank of front -> 1st; Chart type -> Line; color assigned -> RED;         Visibility: Visible/Hidden)
    So, I have conflict on fulfilling these 2 request on assigning the color and control their visibility and lines over lie.
    Please advice me if you have any suggestion on controlling the lines order.
    Thanks!
    ~ GP
    Edited by: GP Poh on Jun 9, 2010 12:32 PM

    Hi Priya, thanks for input.
    I think I should further elaborate the problems. Thanks for your highlight.
    I have a lines chart with five key figures. So my chart will have five lines.
    Some lines from chart will overlap if the data are same.
    When overlapping of lines happens, I want to control the order of which series should be appear first.
    Likes below example,
    1) Key Figure 1 (Chart type -> column )
    2) Key Figure 2 (Chart type -> column )
    3) Key Figure 3 (Chart type -> Line; color assigned -> BLACK; Visibility: Visible)
    4) Key Figure 4 (Chart type -> Line; color assigned -> YELLOW; Visibility: Visible/Hidden)
    5) Key Figure 5 (Chart type -> Line; color assigned -> RED; Visibility: Visible/Hidden)
               KF1  KF2  KF3  KF4  KF5
    CW 1    30     30    80    80    50
    CW 2    40     50    90    60    90
    CW 3    70     50    90    90    90
    CW 4    80     70    70    90    70
    As you can see, there is overlap in these value.
    CW 1 KF3, KF4  -->80
    CW 2 KF3, KF5 --> 90
    CW 3 KF3, KF4, KF5 --> 90
    The order which i want the series should appear first when overlapping.
    - KF3 must appear on top.
    - Then, follow by KF5
    - Last is KF4.
    So now, i have no idea to control the overlap orders except adjusting the sequence of keyfigure from query.
    Feel free to give me any input!

  • Deploy web application on weblogic

    i am a newbie to weblogic
    and i want to deploy my existing web application which was developed on tomcat
    onto weblogic
    what changes should i make
    and how to deploy it on weblogic
    i am using weblogic7
    thanks in advance

    If it has the proper directory structure and the web.xml is OK, you need not change anything. Copy the WAR or the directory into the $BEA_HOME/user_projects/<<server-name>>/applications
    and start WebLogic. It will get auto-deployed.
    $ Carol.

Maybe you are looking for