New Deployment Error when deploying Jersey-based web app to 11gR1

while deploying my JAX-RS (Jersey) web app to WL 11gR1, I get the following exception:
SEVERE: [failed to localize] no.root.res.in.res.cfg()
<Aug 13, 2009 4:02:10 PM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "JAX-RS REST Servlet" failed to preload on startup in Web application: "NTM_REST".
com.sun.jersey.api.container.ContainerException: [failed to localize] no.root.res.in.res.cfg()
     at com.sun.jersey.server.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:718)
     at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:590)
     at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:383)
     at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:377)
     at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:242)
     Truncated. see log file for complete stacktrace
>
Since all of the Jersey jars are now in WEB-INF/lib, I am assuming this might have something to do with either missing information in the web.xml or the weblogic.xml, but not sure..
Has anyone here ever created and deployed a JAX-RS web app to weblogic? I am not sure what to try next to fix this. Thanks for any assistance.

I was able to fix this part of my deployment problem by including the Jersey jars in the WEB-INF/lib directory.
Although I have gotten further, now I have a second deployment problem that I will attempt to fix before creating a new post!

Similar Messages

  • FireFox keep saying "unexpected error" when trying to print web pages.

    FireFox keep saying "unexpected error" when trying to print web pages. The print preview works OK, but when you try to print that "unexpected error" jumps up.
    Please email me on what to do to get FireFox to work.
    I don't see anything in the FAQ that might help me.

    Hi,
    Please also try this setting: Windows start menu or Control Panel > '''Devices and Printers''', right-click the printer > '''Printer properties''' > '''Advanced''', and select '''Start printing after the last page is spooled'''. In this case you can also close Firefox after spooling is over (usually much faster than direct printing), and printing will continue.
    Also as a general case, if you have security software (antivirus, firewall etc.) installed, you can try deleting all existing instances of Firefox and its related processes/files in all the different configuration modules/areas of the security software like process monitoring, sub/spawned process control, virtualization, HIPS etc., in addition to the security software's main configuration panel. Instead create new fully allowed/trusted rules for Firefox + its related processes in all the different modules/panels - a genuine/original Firefox installer as well as all the installed EXEs (Application) and DLLs (Application extension) are digitally signed by Mozilla Corporation (right-click > Properties > Digital Signatures). Even otherwise, some security software may also ask again when Firefox and/or its sub processes are started, and you may be able to allow/trust at that time. Please see [https://support.mozilla.org/en-US/kb/Firewalls this].
    [http://kb.mozillazine.org/Firewalls AV/Firewalls Configuration]

  • Seeing the X on the padlock and a slash through the https on the address line when I use Outlook Web App

    I run exchange 2013 on windows 2008 R2 with a cert from VeriSign that is about 2 years away from expiration. I have a user who uses our Outlook Web App from home and keeps complaining he is "seeing the red X on the padlock and a slash through the https
    on the address line when he uses Outlook Web App"
    I go to EAC and the cert seems fine - ALTHOUGH I get a cert error on my IE when I login into EAC. So I'm wondering if I have a cert problem.
    Any help would be appreciate.
    RJM

    Hi,
    According to your description, I understand that login OWA and return an certificate warning.
    If I misunderstand you concern, please do not hesitate to let me know.
    I want to double confirm whether all user or some special user experience this issue. If only few of user face this problem, please try to double check the Trusted Root Certification Authorities Certificate Store in IE.
    Otherwise, please run below command to double check the status of Exchange certificate:
    Get-ExchangeCertificate | FL Identity,Subject,Status,RootCAType,NotAfter,NotBefore
    If the certificate expired, please pay attention to below link to renew Exchange Certificate:
    https://social.technet.microsoft.com/Forums/office/en-US/5dc21f0f-5e09-469f-90a8-efcbfd56f884/renewing-exchange-2013-certificate?forum=exchangesvrgeneral
    Thanks
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Allen Wang
    TechNet Community Support

  • I keep getting an error when trying to update an app- cannot connect to store. I logged out from my account and tried to log back in and got the same error. I am doing all this from my phone since I no longer own a personal computer (only work)

    I keep getting an error when trying to update an app- cannot connect to store. I logged out from my account and tried to log back in and got the same error. I am doing all this from my phone since I no longer own a personal computer (only work) since I use iCloud and I tunes match

    YAY!!! Saved it in my Mac's Firefox Bookmarks for easy future access!
    Hope you are having a lovely afternoon today! I'm about ready to go bobo....I have an early meeting, and I don't want to oversleep! The nice part is that I work remotely, so I only have to wake up 15 minutes or so before the meeting.... I don't even use an alarm clock anymore (really, my iPhone alarm, which is much more pleasant), unless I have to get up at 6:30 or something....
    TMI?
    GB

  • Error Message:  I keep getting this error when I try to download apps or songs :  MZCommerce.CreditBalance Mismatch.Mobile_message   Can someone tell me how to get rid of this?  It is very aggravating when trying to use the IPAD.

    I keep getting this error when I try to download apps or songs :  MZCommerce.CreditBalance Mismatch.Mobile_message   Can someone tell me how to get rid of this?  It is very aggravating when trying to use the IPAD.

    Try to go to Settings and then Store. Tap to your Apple ID and select View Apple ID. Now choose to check your payment information and when you're done tap Done. I had to rewrite my three digit code of the credit card and now it works.
    Oh, I also activated Genius for Apps but I don't think it makes any difference.

  • Deployment to Azure Web App from TFS not updating

    Hi all,
    I'm having a problem with deployments to my azure web app. I'm committing my code to Visual Studio Online and then running a build to get VSO to deploy the code to Azure. The deployment seems to work fine (there are no errors that I can see)
    but often the files aren't updating on the website. I'm getting errors for old code and when I view the pages in question online (using the VSO editor), they look fine. Has anyone come across this issue before?

    Hi David,
    The errors I've been getting belong to old versions of files not being refreshed. For example, I changed one of my mvc views to take a different model. After deploying the code, the controller was sending in the new model but because the view didn't update,
    it was expecting the old model to be passed in and hence caused a runtime error. It seems to me like Azure is caching certain files. I think that is the case because when I viewed that view file I changed in the VSO editor, it showed the correct code but the
    front end was still showing the old code.
    The only thing I've been able to do that has worked reliably over the last week is stopping the website, deploying the code and then starting the website. The code gets deployed correctly every time I do that. This is not an ideal scenario and I'm hoping
    there's something that can be done.

  • URGENT: Error while invoking soap-based web service from BPEL process

    I am trying to invoke a soap-based web service deployed in a different OC4J container but on the same iAS middle tier install as the BPEL server. The deployment is successful. I am running 10.1.2 BPEL server.
    But invoking a process throws the following error.
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>when invoking locally the endpoint 'http://stadd53.us.oracle.com:7779/idm/ProvService/cps', ; nested exception is: ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "ProvService" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</summary>
    </part>
    <part name="detail">
    <detail>ORABPEL-02052 Cannot lookup BPEL domain. The BPEL domain "ProvService" cannot be found; the domain may not have initialized properly. Please verify that the BPEL domain loader has a valid set of initialization properties in the application properties file.</detail>
    </part>
    </remoteFault>
    Any ideas on what the problem might be ?

    Sandor,
    Thanks. Your suggestion of turning off optSoapShortcut worked. So does that mean that by default remote web services cannot be invoked from BPEL process by SOAP - unless this configuration change is done ?

  • Deploying 11g Fusion Web App: FacesServlet class not found

    Hi,
    I have made a very simple Fusion Web Application (ADF) having only one .jspx saying "Welcome Weblogic".
    This application I would like to deploy onto my WLS 11g (10.3). I have installed the ADF Framework including the jsf 1.2 jar.
    I have created weblogic.xml...
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
    <library-ref>
    <library-name>jsf</library-name>
    </library-ref>
    </weblogic-web-app>
    ..and weblogic-application.xml like this:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
    <library-ref>
    <library-name>jsf</library-name>
    </library-ref>
    </weblogic-application>
    When I deploy I get this error in the log:
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:55)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    It seems like the weblogic.xml and/or weblogic-application.xml is ignored?
    Or is it the insallation of the ADF Framework that is missing some configuration?
    In the setDomainEnv.cmd file placed on the server the following is included:
    if NOT "%POST_CLASSPATH%"=="" (
    set POST_CLASSPATH=%ORACLE_HOME%\modules\oracle.jrf_11.1.1\jrf.jar;%POST_CLASSPATH%
    ) else (
    set POST_CLASSPATH=%ORACLE_HOME%\modules\oracle.jrf_11.1.1\jrf.jar
    Best regards
    Mads Wermelin

    Problem solved!
    First I added following to the setDomainEnv.cmd
    if NOT "%POST_CLASSPATH%"=="" (
    set POST_CLASSPATH=%ORACLE_HOME%\modules\features\adf.share_11.1.1.jar;%POST_CLASSPATH%
    ) else (
         set POST_CLASSPATH=%ORACLE_HOME%\modules\features\adf.share_11.1.1.jar
    if NOT "%POST_CLASSPATH%"=="" (
    set POST_CLASSPATH=%ORACLE_HOME%\modules\features\adf.model_11.1.1.jar;%POST_CLASSPATH%
    ) else (
         set POST_CLASSPATH=%ORACLE_HOME%\modules\features\adf.model_11.1.1.jar
    Then I came across another post having the same issue. He told me that I had to start up my server (managed server) manually. Therefore I first stopped my server
    stopManagedWebLogic.cmd [servername]
    (eg. stopManagedWebLogic.cmd AppServer)
    and then started it
    startManagedWebLogic.cmd [servername]
    (eg. startManagedWebLogic.cmd AppServer)
    Now the setDomainEnv.cmd also got executed (look in the server log to verify it - eg. java.library.path is set, and a lot more which is not set when you normally start the WebLogic)
    So - I am now able to deploy Fusion Web Applications to my managed server in the WebLogic.
    Best regards
    Mads

  • Error while creating https based web clipping portlet

    Please help me if any one has created https based web clipping portlet. I'm getting the following error when https url is used during clipping :
    An exception has occurred : oracle.portal.wcs.transport.http.HttpTransportException WCS-510 -- HTTP connection failed to URL https://google.com by method get
    Please click "Cancel" or "Back" in the above panel (if present) to retry. Otherwise, please try to click "Back" (from the browser) to go back to the Oracle Portal page to restart.
    both are not working
    Steps performed :
    1) Added proxy settings in provider.xml
    2) Imported certificates from https site into WLS_Portlet key store
    Thanks
    Bikash

    Hi,
    Are you using proxy server? if yes you have to configure it, or it is problem with your provider.xml file. Can you past the code from provider.xml related to proxy setting?
    I have resolved this issue by follow following technique, Look this code from provider.xml
    <proxyInfo class="oracle.portal.provider.v2.ProxyInformation">
    <!-- <httpProxyHost></httpProxyHost>
    <httpProxyPort></httpProxyPort>
    <dontProxyFor>*.mycompany.com</dontProxyFor> -->
    <proxyUseAuth></proxyUseAuth>
    <proxyType></proxyType>
    <proxyRealm></proxyRealm>
    <proxyUseGlobal></proxyUseGlobal>
    <proxyUser></proxyUser>
    </proxyInfo>
    commented first three tags and removed value from remaining tags.
    Just try with that, Hope this will solve your problem
    Muhammad Nasir

  • Error when starting Sun ONE Web Server 6.1SP4 after successful installation

    I have installed Sun ONE Web Server 6.1SP4 on my Solaris computer and I receive the following error when I try to start the Admin server:
    Sun ONE Web Server 6.1SP4 B01/20/2005 17:43
    failure: CORE3170: Configuration initialization failed: Error running init funct
    ion load-modules: dlopen of /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so failed
    (ld.so.1: webservd: fatal: relocation error: file /opt/SUNWwbsvr/bin/https/lib/
    libares3.so: symbol __res_state: referenced symbol not found)
    I am running Solaris 8 and I have installed Patch 108993-22 as stated in chapter 2 of the installation and migration guide. I have also installed patches 116602-01, 115827-01, 113648-03, 112396-02, 111317-05, 111310-01, 111111-04, 111023-03, 110386-03, 108987-15, and 108528-24 since they are necessary for patch 108993-22.
    I have been stumped by this error. I have tried several different ways to install this software but I always get the same error. I believe that I have the latest version of the Sun One Web Server and I received no error notifications when I installed it! Any help would be apeciated!
    Thanks!!!!!

    I think this might occur if you don't have the patch for SunAlert 46042 installed. There's more information on this critical Solaris security vulnerability, which was reported back in 2002, at http://sunsolve.central.sun.com/search/document.do?assetkey=1-26-46042-1
    Can you run the following command to check if you have patch 109326-09 installed and let us know the result?showrev -p | grep 109326If you don't have 109326-09 or higher installed, you should install it as soon as possible. You can follow the link from the SunAlert. Better yet, install the latest Solaris 8 recommended patch cluster from http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access to make sure your system is fully patched and up to date.

  • Unsupported Version error when trying to run Web Services Tutorial example

    Hi there,
    I'm trying to run the first example from the Java Web Services Tutorial and get the following error when I type 'asant build' in my Command Window.
    Buildfile: build.xml
    BUILD FAILED
    java.lang.UnsupportedClassVersionError: com/sun/tools/ws/ant/WsImport (Unsupport
    ed major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
    assLoader2.java:76)
    When I do a java -version I see my version is Java 1.5, and I'm not sure why the build is still trying to use Java 1.4. I do not want to delete the 1.4 from my machine as it is used for something else.
    C:\jwstutorial20\examples\jaxws\helloservice>java -version
    java version "1.5.0_09"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
    Could you please help me with this problem?
    Thanks in advance.
    Azeem.

    Hi Azeem.
    Check out values specified for JAVA_HOME, PATH and CLASSPATH under environment variable. Was facing the same problem. Changed the values to point to jdk1.5 and it is working now.
    BTW.
    You don't have to uninstall jdk1.4.
    Cheers!!!

  • Logical port error when accessing e-recruiting web pages

    Hi,
    We are trying to set up our e-recruiting 3.0 and web dispatcher systems. We were receiving an error in our e-recruiting system in transaction SM20 that states “Logon Failed (Reason=34, Type=H)”.  The user is SAPSYS for client 000.  The system was attempting to log on to our web dispatcher system.  SAP suggested creating an entry in SM30, table VUSREXTID, mapping the External ID to our web dispatcher  system.  This entry helped in that we are not receiving the above error message anymore.  However, when we attempt to access the web pages we are receiving the error “Name of logical port ‘&lp_name&’ is invalid.  Prior to adding this entry we were able to access the logon page by entering the following url using an external alias (ex. https://recruiting.mphi.org/internal).  Recruiting.mphi.org is our web dispatcher system.  We do not want our e-recruiting system to be accessible from the outside.  We want everything to go through our web dispatcher.  Has anyone had a similar issue setting these up?
    Thanks!
    Heather

    Hello Heather,
    I am no specialist in network infrastructure but i remember a customer setting up a web dispüatcher szenario. I also encountered this &lp_name& error from time to time during my work.
    The error points towards damaged urls and the customer also encountered such problems when setting up the web dispatcher landscape. Sometimes the last parameter of the URL was ignored or lost. Sometimes the web dispatcher transformed the URL including the parameters. But as parameters are case sensitive transforming them to upper/lower result in errors as the system no longer recognizes them.
    Perhaps you can check the URL with which the web dispatcher is calling the sap server to find out if it does any funny things w/ the links.
    Best Regards
    Roman Weise

  • Database connection error when running report from web application

    Hi all,
    When I open a report in Reports Builder , and enter the database connection parameters, everything works fine. When I run my web application from JDeveloper (9.0.5.1), and I tried to run a report, I get this error:
    Rep-501 : Unable to connect to the specified database.
    I have ran tnsping, and it works fine. My tnsnames.ora file looks like this :
    GPGWL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = GPGWL)
    )

    Please ask this question in Jdeveloper forum.

  • Unauthorized Error when using XI exposed Web-Services

    I have configured a XI exposed Web-Services, when I fired the web service, there is an Unauthorized Error.
    when I go to message monitoring, I notice that the exception happened for the end point "http://XI Server:8000/sap/xi/engine?type=entry" for connection AFW

    Hi ST,
    When you are firing the webservice after sending the SOAP request through XML SPY for checking,you need to enter the PI Server ID and Password then only request will be posted to PI server.
    You can directly posting the Request to Integration engine without going through the Adapter engine.
    Still u are facing problem please let me know.
    All the best,
    Azeez.

  • EVDRE encountered an error when retrieving data from web server

    Hi
    When I am trying to open Data Input=>Build a schedule using a dynamic template in BPC version for SAP netweaver, I am getting the below error "EVDRE encountered an error retrieving data from the Web Server". 
    I am not able to open any template, every time I am getting the same message. I have tried again after reprocessing all the dimension.
    Even I have tried in appset APSHELL also, there also I am getting the same error
    Request you to help me to resolve the above error which will allow me to proceed further.
    Thanks in Advance.
    Venkat

    Hi,
    Beside Nilanjan's solution, this error could also occur when the expansion is running more rows than the Excel limit allows (65'000 rows and 256 cols for Excel 2003)...
    Even when you're using suppress field to reduce the number of rows, the first sequence is to retrieve the complete dataset before performing any suppression. And this could of course exceed the limit sometimes.
    Hope this helps.
    Kind Regards,
    Patrick

Maybe you are looking for

  • MARS - Customize e-mail alerts?

    In version 4.2 there was not a way to customize email alerts. Does anyone know of a way to add only the fields you are interested in to the alert that are sent via email within 5.2? Thanks in advance!

  • Optimum sampling freq. in PCI-6220 DAQ

    The NI PCI-6220 DAQ has a fixed anti-aliasing filter (called "small signal bandwidth" in the documentation) of 700 KHz. The DAQ itself has a maximum sampling rate of 250 KHz. Currently, I sample a given signal (which may have lots of interferences) a

  • Is Photoshop CC 32 bit, or 64??  From what i can tell, it looks like there's versions of both.  So h

    Is Photoshop CC 32 bit, or 64??  From what i can tell, it looks like there's versions of both.  So how do i know which version i have downloaded in the $9.99 year trial?

  • How to set up music so they remain on the phone when no signal?

    my songs are greyed out on my phone. cannot play now. Yesterday was in a basement with no wifi or signal could not play songs had the cloud icon beside each song

  • CRM WebUI: Display mode

    Dear experts we have a requirement to design display mode as edit mode in the CRM WebUI.This means for instance that field frames should be displayed in the display mode not just field values to have a better orientation if only few fields are mainta