How to migrate weblogic 8.1 to weblogic 10.3

Hi All,
Could you please let me know the process for migrating weblogic 8.1 to 10.

The following doc lists out the steps involved in upgrading from 8.1 to 10.3
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/upgrade/roadmap.html

Similar Messages

  • How to migrate .war archived webservice to WebLogic 10.0.3

    Hi everyone.
    I have been requested to deploy a War file as Webservice on Weblogic Server 10.0.3 (installed on Redhat EL 5.0, I used Sun jdk 1.0.6 distributed along with installer bin file). This file
    was run well on TOMCAT 5.0.28 server.When hacking into this WAR file I know it use Xfire(1.2.2) as a base to construct Webservice, hibernate(3.0) to mapping with database (it use only a
    services.xml putting on META_INF to describe service as far as I know). Firstly, I use Adminstration Console, go to deployment link and deploy as this tool say, the result in Adminstration
    Console tell me I had deployed succedfully but when I digged into exploded directory of WAR file, I can not see any .class file under WEB_INF directory and my client actually can not access provided services. I thought there is problem when use Application Console to deploy so I switch to use other tool like wlst or ant task but result is the same. Finally, I had to upload WAR file, use jar to extract WAR file to a directory and use Adminstration Console to deploy the whole directory as a Web Application. All class file are under WEB_INF directory. But when I use a client to access services I got exception as below on WebBrowser
    Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Fault: java.lang.NullPointerException
    and no more detail (or I do not known where to get log file). Because I am just a system maintainer and do not know much a bout J2EE Webservice specification, I just read some materials
    and know that WebLogic support Web Services 2.1 (JAX-WS) and XML-Based RPC 1.1 (JAX-RPC). So I desire to know some thing below:
    1) What kind of Webservice in WAR file do I have (Web Services 2.1 (JAX-WS) and XML-Based RPC 1.1 (JAX-RPC) or something WebLogic do not support?
    2) How to migrate my WAR file to Weblogic by a very common way?
    3) How to get log to make more detail about exception above on WebLogic (does log4j archive this work?) ?
    Thank you so much
    Edited by: user10407314 on Oct 30, 2008 1:41 AM

    Hi all,
    May be I found the problem. The compatibility between Weblogic and hibernate 3.0 relating to antlr-2.7.5H3.jar library. Although I include all application's jar file in CLASSPATH when start server
    but Weblogic seem not to see my antlr-2.7.5H3.jar and use its default antlr library instead. So I set my antlr-2.7.5H3.jar directly into PRE_CLASSPATH variable on $DOMAIN_HOME/lib/setDomainEnv.sh
    file like below:
    PRE_CLASSPATH="$DOMAIN_HOME/lib/antlr-2.7.5H3.jar"
    export PRE_CLASSPATH
    By now my application use the desired lib and Webservice work fine.
    But I wonder if this is a good solution, is there any other good practice to set CLASSPATH for this situation? setting PRE_CLASSPATH is correct point and having no affection to the whole domain
    in the case there are more application reside in the domain?
    Thank all.
    Edited by: user10407314 on Oct 30, 2008 9:56 PM
    Edited by: user10407314 on Oct 30, 2008 9:57 PM

  • Information on how to migrate JBoss to WebLogic

    Hello all,
    I just wanted to know whether there is a link you could provide me with a link or guidelines in which I could find how to migrate my application in JBoss to WebLogic. I have been reading in the forum but I haven't found it.
    If not a tutorial like this exists, which should be changed?
    Thanks a lot

    I'm sorry you feel like the forums have not been helpful. One thing to keep in mind is that forums are all volunteer-only. There are no SLA's or people that have a dedicated job to respond to forum posts like you will find with Oracle Support Service Requests. Therefore the best way to benefit from the forums is to ask succinct clear questions with an appropriate subject line that shows you have done some research, but still need a little help. In addition to the forums, I put together a blog post that tried to assemble many of the WebLogic Server resources available:
    http://blogs.oracle.com/jamesbayer/2008/12/weblogic_server_resources_my_c.html
    One of the resources I also did not mention is your local Oracle account team. My day-job is to work with local customers as a sales consultant, so I am often asked by the customers I work with to help research questions or help guide them to the right process. I suggest that you contact your local Oracle account team that might be able to help you navigate the many resources available.
    One last point, since the forums are community driven, they will only benefit when people give back and contribute back to the forums. So since you were able to find information about the JBoss migration, please respond with where you found the information and what you found helpful about it and help improve the forums for others.
    Cheers,
    James

  • Migration weblogic portal 4.0 to weblogic portal 8.1

    I am trying to migrate weblogic portal 4.0 to weblogic portal 8.1. I need help
    how to do this ?
    thanks

    I am trying to migrate weblogic portal 4.0 to weblogic portal 8.1. I need help
    how to do this ?
    thanks

  • Migrate Weblogic Query into Oracle Application server

    how can i migrate weblogic.ejb.Query into oracle10g?

    This document is for 9iAS but it could help give you an idea of what to do
    http://www.oracle.com/technology/products/ias/pdf/weblogic_migration.pdf

  • How to update weblogic.properties in order to support English & Chinese

    <URGENT PROBLEM>
    hi,
    how to update weblogic.properties in order to support English & Chinese
    version in a sing weblogic server?
    Thanks in advance
    <URGENT PROBLEM>

    If you are using JSP as your mechanism for content display, you should use
    the contentType parameter to specify the character and coding of the JSP
    page any character encoding of the resulting stream. So far, we have not
    done a good job of documenting how to produce localized content in JSP. I
    have filed an issue for the documentation folks to work on it. For now,
    take a look at section 2.7.4 of the JSP specification version 1.1.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    fxy <[email protected]> wrote in message
    news:8ffr11$59d$[email protected]..
    <URGENT PROBLEM>
    hi,
    how to update weblogic.properties in order to support English & Chinese
    version in a sing weblogic server?
    Thanks in advance
    <URGENT PROBLEM>

  • How to start weblogic in debug mode ? and how to set the eclipse in the deb

    how to start weblogic in debug mode ? and how to set the eclipse in the debug

    Put this in JAVA_OPTIONS :
    Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=3999,suspend=y,server=y
    After restarted weblogic, in eclipse set your breakpoint , open debug perspective then choose Remote Java Appliction and configure Connection Properties (host=localhost and port=3999)

  • How to edit weblogic.xml in Jdeveloper web project

    Hi, All,
    I created a web application in Jdeveloper11.1.1.1 and deployed to weblogic server 10.3, I found there is weblogic.xml under WEB-INF folder in war file.
    I try to add something in weblogic.xml, but the problem is I cannot find weblogic.xml in Jdeveloper.
    How to edit weblogic.xml in Jdeveloper? Thanks in advanced.
    Best Regards,
    Bill

    The weblogic.xml file is generated at deploy time if it doesn't exist in your application. To create it specifically in your application at design time for editing, select the appropriate project then the New option, from the New Gallery select General -> Deployment Descriptors -> Weblogic Deployment Descriptor, and in the resulting dialog select the weblogic.xml file. It will be added to the project -> Web Content -> WEB-INF directory.
    Cheers,
    CM.

  • How to start WebLogic in Linux?

    Could you tell me how to start WebLogic 5.1 in KDE?
    Best Regards,

    You need to open up a terminal session (Try xterm).
    Change the directory to wherever you installed Weblogic (/home/Weblogic/) or
    something along those lines. (cd is the command that you want)
    Run the scripts located in that directory as specified in the Unix
    documentation.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    "Rex Law" <[email protected]> wrote in message
    news:3971bdb1$[email protected]..
    Could you tell me how to start WebLogic 5.1 in KDE?
    Best Regards,

  • How to use weblogic.Deployer

    I can deploy this adf application to weblogic server in jdeveloper 11.1.1.3.
    How to use weblogic.Deployer in weblogic 10.3.3? I get errors as follow:
    Microsoft Windows [Version 6.0.6001]
    Copyright (c) 2006 Microsoft Corporation. All rights reserved.
    C:\Users\Administrator>d:
    D:\>cd D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server\bin
    D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server\bin>setDomainEnv.cmd
    D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server>java weblogic.Deployer
    -adminurl http://localhost:7001 -user weblogic -password welcome1 -deploy -upload E:\SOAworkspace\otnapp\deploy\otnapp_application1.ear
    weblogic.Deployer invoked with options: -adminurl http://localhost:7001 -user weblogic -deploy -upload E:\SOAworkspace\otnapp\deploy\otnapp_application1.ear
    javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.Deployer.run(Deployer.java:70)
    at weblogic.Deployer.main(Deployer.java:54)
    Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:138
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:116)
    ... 2 more
    Caused by: javax.naming.CommunicationException [Root exception is java.net.Conne
    ctException: http://localhost:7001: Destination unreachable; nested exception is
            java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
    erver at host: 'localhost' and port: '7001' a WebLogic Server?; No available router to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:787)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:192)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:170)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    ... 2 more
    Caused by: java.net.ConnectException: http://localhost:7001: Destination unreach
    able; nested exception is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available router to destination
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
    ... 19 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception
    is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available rou
    ter to destination
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:192)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:170)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300)
    at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:150)
    at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:138)
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:116)
    ... 2 more
    Unable to connect to 'http://localhost:7001': Destination unreachable; nested exception is:
    java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available rou
    ter to destination. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
    D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server>

    Looks like the protocol is not correct (Unable to connect to 'http://localhost:7001': Destination unreachable)
    Could you try the t3 protocol, for example,
    java weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password welcome1 -listapps

  • How to start weblogic with jdk1.4.0

    anybody can tell how to start weblogic with jdk1.4.0 correctly?

    "jacky" <[email protected]> wrote in message news:<[email protected]>...
    anybody can tell how to start weblogic with jdk1.4.0 correctly?Take a look at:
    http://www.genuitec.com/products/JDK14_WLS61.pdf

  • How to integrate weblogic 10 server in IBM rational software architect 7.0?

    Hi All,
    Please help me to resolve this issue!!!!!!!!
    I am trying to find it out how to integrate weblogic 10 server in IBM rational software architect 7.0?
    Thanks
    Harshad

    You're right: Weblogic supports Apache web server 2.0 and 2.2 to be a proxy server but you are using Oracle Application Server 10.1.3.1.0 which is based on Apache *1.3* as you can read in "Oracle® HTTP Server Administrator's Guide"
    10g (10.1.3.1.0) - Part Number B28948-01 - 1.1 Oracle HTTP Server Features, right under "Based on Apache - HTTP v1.1 Support" at
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28948/overview.htm#i1008837.
    As far as I know, the only OHS based on Apache *2.0* is available as a standalone release: "Oracle HTTP Server (Apache 2.0) (10.1.3.3.0) for Linux x86" - 32bit. You can download it from http://www.oracle.com/technology/software/products/database/oracle11g/111060_linuxsoft.html (as_101330_apache2_lnx.zip).
    I've tested it successfully.
    Edited by: Virgil on Jan 15, 2009 3:08 AM

  • How to use weblogic on jdk 5?

    Does anyone know, how to use weblogic and jdk 5?

    Supported on version 9.0 Beta, only.
    http://e-docs.bea.com/platform/suppconfigs/configs90/90_over/overview.html#1122259
    Bill
    "Fauzi Mubarok" <[email protected]> wrote in message
    news:2966888.1105597574948.JavaMail.root@jserv5...
    Does anyone know, how to use weblogic and jdk 5?

  • How to start Weblogic 10.3.5 managed server on port 80

    Hello,
    We're trying to understand how to start Weblogic as root so we can start on port 80 on Linux. We understand that we'll use the post bind UID to run as a non-priv user. Right now in the Admin console under the managed server, Server Start properties (node manager) we have the weblogic user as the user to start the server, which works. Is this where we'd put the root user? We tried that but it fails complaining about root user didn't have permission to start the server. Can someone shed some light?
    Thanks

    Hi
    1. You are asking for 2 things here:
    a) Start Weblogic as root user ?
    Before I answer this question, who (Which User) installed Weblogic Software and who created Domain. I hope its NOT root user. Usually its not preferable to use root account for this. Instead create a new user account like for example oracle or some xyz. Then login with that account. Install Weblogic and create any Domain. I would NOT prefer/recommend using root account to install weblogic. This means, I would not recommend/support to start weblogic as root user. The thing is when you install weblogic, it stores/creates lots of files/scripts. Now when you start, it has to be same user. Because at the startup, we need to read files and also CREATE lots of temp files under domain root folder. So on unix, this becomes very complex. Simple answer is if you install weblogic and domain with user say "xyz" and try to start domain with "root", you corrupted your entire domain. Some files gets changed to root user and some files just FAIL saying you do not have permissions. So its just gone. If you are a Unix Geek, do some magic and restore all permissions back.
    b) Start Weblogic at Port 80
    Very Simple. Forget about above thing. Install Weblogic and create domain say with user "xyz". Just go to domain root folder, open config/config.xml file and edit the localport to 80. By default at time of domain creation if you used all the defaults like port 7001, then you will NOT see this entry in config.xml file. But still you can edit config.xml file manually. Stop the servers. Add a section with listen-port as 80. Just refer docs for the steps. After this change, your weblogic server is now running at port 80. NOW, the main precautions is make sure that you do NOT have any other stuff running at the same port 80. Otherwise, Weblogic server startup will fail saying port 80 is already is in use.
    Now if you want both a) and b), still it is possible. But I would NOT want/recommend a), which is use "root" account to install weblogic server and create and start the Domain. Nope, totally not recommending and supporting this. Yes, port 80 can be used, but not the "root" account.
    Thanks
    Ravi Jegga

  • How to tell weblogic server which configuration I want to use

    Hi Everyone,
    I write the logmodule class, configuration class, Action class, client class
    and my policy file my.policy.
    I add the VM parameter when I start weblogic server
    "-Djava.security.auth.policy=D:\bea\wlserver6.1/lib/my.policy"
    But I don't know how to let weblogic server know my configuration class, so
    that the server will create it when my client code create LoginContext
    object.
    Some artical told me that add the configuration class name in java.security
    file, like the following
    login.configuration.provider=mypackage.myConfig
    unfortunately, it don't work :(
    I always got the exception message
    No Configuration Class Name Supplied
    Does anyone kindly tell me how to let the system know my configuration class
    name?
    Regards,
    xlzhou

    Hi,
    we are facing the same problem, if you get the solution would you please help
    us out?
    Regards
    Sudipto
    [email protected] (Joe Zhou) wrote:
    I almost got same problem.
    I wrote a deme which is using jaas.
    The client part:
    Properties property = new Properties(System.getProperties());
    property.put("weblogic.security.jaas.ServerURL",
    "http://localhost:7001");
    System.setProperties(property);
    // Set configuration class name to load SampleConfiguration, the
    //Configuration for the JAAS code example
    property = new Properties(System.getProperties());
    property.put("weblogic.security.jaas.Configuration",
    "test.servlets.TestConfig");
    System.setProperties(property);
    // Set Configuration file name to load sample configuration policy
    file.
    property = new Properties(System.getProperties());
    property.put("weblogic.security.jaas.Policy",
    "C:/bea/wlserver6.1/config/mydomain/Test.policy");
    System.setProperties(property);
    loginContext = new LoginContext("TestPolicy", new
    MyCallbackHandler());
    The Test.policy:
    TestPolicy
    test.servlets.TestLoginModule required debug=true;
    And I add "-Djava.security.auth.policy=%WL_HOME%\config\mydomain\Test.policy"
    when I start weblogic server.
    But when I run the code, I got the exception:
    Invalid Configuration Class Name: test.servlets.TestConfig
    java.lang.NullPointerException
    at javax.security.auth.login.LoginContext.loadLoginModule(LoginContext.j
    ava:101)
    at javax.security.auth.login.LoginContext.<init>(LoginContext.java:54)
    at test.servlets.TestSecure.doPost(TestSecure.java:69)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2456)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Seems the problem is in my TestConfig.
    I just copy the SampleConfig.java as my TestConfig.java (modified a
    little) and copy the ConfigParser.java (those are in the
    samples\examples\security\jaas\examples\security\jaas)
    Any suggestion???
    BTW, all the necessary classes is in the .war file.
    Thanks in advance.
    Joe
    "Xiao Ling Zhou" <[email protected]> wrote in message news:<[email protected]>...
    Hi Everyone,
    I write the logmodule class, configuration class, Action class, clientclass
    and my policy file my.policy.
    I add the VM parameter when I start weblogic server
    "-Djava.security.auth.policy=D:\bea\wlserver6.1/lib/my.policy"
    But I don't know how to let weblogic server know my configuration class,so
    that the server will create it when my client code create LoginContext
    object.
    Some artical told me that add the configuration class name in java.security
    file, like the following
    login.configuration.provider=mypackage.myConfig
    unfortunately, it don't work :(
    I always got the exception message
    No Configuration Class Name Supplied
    Does anyone kindly tell me how to let the system know my configurationclass
    name?
    Regards,
    xlzhou

Maybe you are looking for

  • Mapping and querying Custom Objects for a Contact with REST Api

    Hello All, We are hoping to get some details on managing DataCard set through REST APIs. Our implementation goal is to create Contacts and add Custom object for each Contact, or to be precise, add a DataCard Set for each Contact. At the moment, to as

  • Walmart Moneycard Sign In Issues

    With the update to 8.1, I have not longer been able to log, or even access my Wal-Mart Money Card Account Only the top part of the page is shown. I am can use other operating systems, INCLUDING Windows 8 with zero issues, only when I updated to 8.1 i

  • Error 2032 out of the box

    I just installed the Adobe Media Server on my Windows 7 local machine On the welcome page, I'm getting error #2032 on every video except the "Single Bitrate" one. I've tried the crossdomain.xml fix, and that didn't work. I looked for previous version

  • Migrating PO using Import Standard Purchase Orders program

    Hi All, When am trying to migrating auto created PO's, First i imported Requisition sucessfully and i took the newly generated DISTRIBUTION_ID for the imported REQ and i populated the value in REQ_DISTRIBUTION_ID column (PO_DISTRIBUTIONS_INTERFACE ta

  • IPad photos in A-Z folder order

    Please could you tell me how I can sort out the 12,000 photos I have on my iPad in alphabetical order. They are divided into approximately 100 folders and all named. I want them on my iPad in alphabetical order so I can easily find a folder by name.