Migrating from BEA WebLogic 5.1 (Windows 2000) to iAS9

Hi!
I am looking for a step-by-step guide for migrating from BEA WebLogic 5.1 (Windows 2000) to iAS9. The guide should contain the detailed information on how to migrate servlets and EJBs.
Some of my questions are:
- What do I have to do when I have system startup files from WebLogic? Are there equivalent properties for iAS9?
# Register a startup class by giving it a virtual name and
# supplying its full pathname.
#weblogic.system.startupClass.[virtual_name]=[full_pathname]
# Add arguments for the startup class
#weblogic.system.startupArgs.[virtual_name]={argname]=[argvalue]
- How do I set the system properties?
Phuoc
null

This a response to the specific point of startup/shutdown classes, a whole Migration paper is underway
Since Servlet 2.2 and EJB containers in 9i AS run within the middle tier database instance,
the easier way to accompish what you want is to declare those classes as database startup/shutdown triggers (Java stored procedures).
You can also set session properties using the "modifyprops" command (cf Java Tools Reference)

Similar Messages

  • Problem in calling a web service hosted on tomcat from BEA WebLogic portal

    Hi,
    I have a wsdl file for my web service which is hosted on apache tomcat 5.5(running on port : 8080). The contents of the wsdl file are-
    *<?xml version="1.0" encoding="UTF-8"?>*
    *<wsdl:definitions targetNamespace="http://soa.tutorials.serg.edu" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://soa.tutorials.serg.edu" xmlns:intf="http://soa.tutorials.serg.edu" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">*
    *<!--WSDL created by Apache Axis version: 1.4*
    Built on Apr 22, 2006 (06:55:48 PDT)-->
    *<wsdl:types>*
    *<schema elementFormDefault="qualified" targetNamespace="http://soa.tutorials.serg.edu" xmlns="http://www.w3.org/2001/XMLSchema">*
    *<element name="getNums">*
    *<complexType>*
    *<sequence>*
    *<element name="n" type="xsd:int"/>*
    *<element name="m" type="xsd:int"/>*
    *</sequence>*
    *</complexType>*
    *</element>*
    *<element name="getNumsResponse">*
    *<complexType>*
    *<sequence>*
    *<element maxOccurs="unbounded" name="getNumsReturn" type="xsd:int"/>*
    *</sequence>*
    *</complexType>*
    *</element>*
    *<element name="getNums2">*
    *<complexType>*
    *<sequence>*
    *<element name="n" type="xsd:int"/>*
    *<element name="m" type="xsd:int"/>*
    *</sequence>*
    *</complexType>*
    *</element>*
    *<element name="getNums2Response">*
    *<complexType>*
    *<sequence>*
    *<element maxOccurs="unbounded" name="getNums2Return" type="xsd:int"/>*
    *</sequence>*
    *</complexType>*
    *</element>*
    *</schema>*
    *</wsdl:types>*
    *<wsdl:message name="getNums2Request">*
    *<wsdl:part element="impl:getNums2" name="parameters"/>*
    *</wsdl:message>*
    *<wsdl:message name="getNumsRequest">*
    *<wsdl:part element="impl:getNums" name="parameters"/>*
    *</wsdl:message>*
    *<wsdl:message name="getNums2Response">*
    *<wsdl:part element="impl:getNums2Response" name="parameters"/>*
    *</wsdl:message>*
    *<wsdl:message name="getNumsResponse">*
    *<wsdl:part element="impl:getNumsResponse" name="parameters"/>*
    *</wsdl:message>*
    *<wsdl:portType name="Echo">*
    *<wsdl:operation name="getNums">*
    *<wsdl:input message="impl:getNumsRequest" name="getNumsRequest"/>*
    *<wsdl:output message="impl:getNumsResponse" name="getNumsResponse"/>*
    *</wsdl:operation>*
    *<wsdl:operation name="getNums2">*
    *<wsdl:input message="impl:getNums2Request" name="getNums2Request"/>*
    *<wsdl:output message="impl:getNums2Response" name="getNums2Response"/>*
    *</wsdl:operation>*
    *</wsdl:portType>*
    *<wsdl:binding name="EchoSoapBinding" type="impl:Echo">*
    *<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>*
    *<wsdl:operation name="getNums">*
    *<wsdlsoap:operation soapAction=""/>*
    *<wsdl:input name="getNumsRequest">*
    *<wsdlsoap:body use="literal"/>*
    *</wsdl:input>*
    *<wsdl:output name="getNumsResponse">*
    *<wsdlsoap:body use="literal"/>*
    *</wsdl:output>*
    *</wsdl:operation>*
    *<wsdl:operation name="getNums2">*
    *<wsdlsoap:operation soapAction=""/>*
    *<wsdl:input name="getNums2Request">*
    *<wsdlsoap:body use="literal"/>*
    *</wsdl:input>*
    *<wsdl:output name="getNums2Response">*
    *<wsdlsoap:body use="literal"/>*
    *</wsdl:output>*
    *</wsdl:operation>*
    *</wsdl:binding>*
    *<wsdl:service name="EchoService">*
    *<wsdl:port binding="impl:EchoSoapBinding" name="Echo">*
    *<wsdlsoap:address location="http://localhost:8080/SOATest/services/Echo"/>*
    *</wsdl:port>*
    *</wsdl:service>*
    *</wsdl:definitions>*
    I created a client from the above wsdl file using ClientGen wizard in WebLogic. This client contains the follwoing classes-
    Echo.java
    EchoService.java
    EchoService_Impl.java
    Echo_Stub.java
    I created a JSP portlet and the jsp content of it is-
    String url = "http://localhost:8080/SOATest/services/Echo";
    Echo echo = new EchoService_Impl(url).getEcho();
    getNumsResponse = echo.getNums(getNums);
    I tried to call that web service from BEA weblogic portal through a JSP potlet. I got an error saying -
    *<An exception [javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost:8080/SOATest/services/Echo weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element] was thrown while rendering the content at [TestEcho.jsp].*
    *javax.servlet.ServletException: javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost:8080/SOATest/services/Echo weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
    *     at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:420)*
    *     at jsp_servlet.__testecho._jspService(__testecho.java:112)*
    *     at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)*
    *     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)*
    *     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)*
    *     Truncated. see log file for complete stacktrace*
    *javax.xml.rpc.ServiceException: Failed to parse WSDL http://localhost:8080/SOATest/services/Echo weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
    *     at weblogic.wsee.jaxrpc.ServiceImpl.throwServiceException(ServiceImpl.java:174)*
    *     at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:485)*
    *     at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:119)*
    *     at edu.serg.tutorials.soa.EchoService_Impl.<init>(Unknown Source)*
    *     at edu.serg.tutorials.soa.EchoService_Impl.<init>(Unknown Source)*
    *     Truncated. see log file for complete stacktrace*
    *weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
    *     at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:313)*
    *     at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:405)*
    *     at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:391)*
    *     at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:79)*
    *     at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:66)*
    *     Truncated. see log file for complete stacktrace*
    *java.io.IOException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
    *     at weblogic.xml.domimpl.Loader.load(Loader.java:38)*
    *     at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:122)*
    *     at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:65)*
    *     at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)*
    *     at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:405)*
    *     Truncated. see log file for complete stacktrace*
    *javax.xml.stream.XMLStreamException: Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
    *     at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:206)*
    *     at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)*
    *     at weblogic.xml.domimpl.Loader.load(Loader.java:112)*
    *     at weblogic.xml.domimpl.Loader.load(Loader.java:73)*
    *     at weblogic.xml.domimpl.Loader.load(Loader.java:35)*
    *     Truncated. see log file for complete stacktrace*
    *Error at Line:2, token:[OPENTAGBEGIN]All tags must be contained within a single element*
    *     at weblogic.xml.babel.baseparser.BaseParser.parseProlog(BaseParser.java:417)*
    *     at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:328)*
    *     at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)*
    *     at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)*
    *     at weblogic.xml.domimpl.Loader.load(Loader.java:112)*
    *     Truncated. see log file for complete stacktrace*
    My web service is using soap binding. I have tested it with eclipse and other tools also. It is working well and good. But when I tried to call a web service which is created and hosted on WebLogic server(running on port : 7001), I got the correct output.
    Can anyone help me out in calling a web service hosted on different server from WebLogic server.
    Thanks in advance,
    Tiijnar
    Edited by: user8715057 on Aug 13, 2009 1:11 AM

    Hi
    1. The way you are invoking the WebService deployed on Tomcat server is looks suspicious. It may be valid by adding extra ?wsdl etc into the url, but still I have not seen this way to invoke the webservice.
    2. So you used Weblogic ant task to generate client JARs by giving this WSDL. So looks like it generated the 4 classes (.java) and in addition any other classes for Request/Response xml objects.
    3. Look at the source code of EchoService.java. It should have one default empty constructor. Internally it uses the default wsdl defined in this class. You will see another constructor that takes WSDL URL as one of the parameters (QName) etc. Echo.java is the class corresponding to the Port. In the same EchoService you should see an instance method like getEcho() something like that. This Echo.java class will have methods for all the Operations defined on this Port. So the standard code snippet we use most of the times will be like this:
    EchoService myEchoService = new EchoService(); // Default it uses WSDL deployed on Tomcat at localhost:8080
    Echo myEchoPort = myEchoService.getEchoPort(); // Something along these lines.
    myEchoPort.xxxYYY(); // NOW this is the operation name that takes the input parameters and returns outputs defined as per the WSDL defintions. If the Input and Outputs are complex xml types, it will have corresponing .JAVA files with setters and getters.
    Now if this WebService is deployed on same Tomcat but on different machine or different port, you just give the full WSDL URL with that host and port in the constructor for new EchoService(...). You may need to instantiate QName object. But look at the methods generated in EchoService.java class.
    The way you are using with Impl and Stubs class may also work. I am not much famiiar with this APIs apporach. Still look at the methods generated in these classes.
    Also if you latest Sun JDK 1.6, it also has one command like wsimport. Infact if you install WLS 10.3 with Sun JDK, it should have C:\beawlp103\jdk160_05\bin\wsimport command. This will also generate client jar given a WSDL URL.
    Thanks
    Ravi Jegga

  • Upgrading from BEA Weblogic portal 8.1.5 to BEA Weblogic Portal 10.3

    We are upgrading from BEA Weblogic portal 8.1.5 to BEA Weblogic Portal 10.3. We just took over the project from some other vendor since last 9 months. At some of the places in the code, we are using internal APIs of Weblogic Server which should not have been used at the first place.
    As weblogic has changed the version and internal structure as well as the classes also, We are facing problems in terms of compilation of the code itself.
    The class "ServletRequestImpl" is giving us issues.
    Has anybody faced the similar issues, if yes, please let me know.

    Andy-
    Since the Struts portlet support requires that struts app be converted to a module,
    alternate message resources need to be accessed by modifying the bundle name by
    appending the module name, since Struts doesn't automatically propogate the alternate
    resources from the ServletContext to the Request when a module is selected.
    For instance, in suppose your struts application module is /struts/myExample.
    To access the alternate bundle from within that module, you'll need to specify
    the bundle as alternate/struts/myExample.
    -Brodi Beartusk
    "Andy Hull" <[email protected]> wrote:
    >
    Hi,
    I'm trying to get the struts-example webapp from Struts 1.1 RC1 working
    under
    Weblogic Portal 8.1 with the JSR 168 and Struts support patch.
    I am having problems with the message bundle properties files ApplicationResources.properties
    and AlternateApplicationResources.properties as neither of these files
    are being
    picked up.
    These files are located in org/apache/struts/webapp/example in WEB-INF/src
    and
    WEB-INF/classes of my webapp (i.e. <WEBAPP>/WEB-INF - my struts-example
    resides
    in <WEBAPP>/struts-example). I've also tried adding <init-param>'s to
    the <WEB-APP>/WEB-INF/web.xml
    file for the action servlet as follows:
    <servlet> <servlet-name>action</servlet-name> ... <init-param> <param-name>application</param-name>
    <param-value>org.apache.struts.webapp.example.ApplicationResources</param-value>
    </init-param> <init-param> <param-name>alternate</param-name> <param-value>org.apache.struts.webapp.example.AlternateApplicationResources</param-value>
    </init-param> </servlet>
    When I use the logon action as the starting action for the portlet, I
    get:
    Error opening /struts-example/logon.jsp. The source of this error is
    javax.servlet.ServletException:
    Cannot find message resources under key alternate at weblogic.servlet.jsp.PageContextImpl.handlePageException...
    Any help would be appreciated.
    --Andy

  • How to run and JSF page from Bea Weblogic 8.1

    Hi, I am new to JSF . Can anybody help me that how can i access a JSF page from Bea Weblogic 8.1. How can deploy. What libraries and files are needed and where to put these required .jar or library files. I just wrote a single page and now i am not able to run it . Any help would be highly appreciated.I am looking forward for your kind replies.Thank you.
    Regards,
    Waqar

    You need to package your application into the standard .war format. Make sure jsf-api.jar and jsf-impl.jar are placed in WEB-INF/lib, your faces-config.xml is in WEB-INF, and your tld files are defined appropriately. Once you have your .war file, deploy it to your servers applications directory or use the console for deployment.
    You should not have any problems if everything is packaged correctly. I am successfully using WebLogic Server 8.1 with my JSF-based web app.

  • Migrating Oracle Apps from 11.5.5 on Windows 2000 to 11.5.8 on Windows 2003

    Currently we are running Oracle Applications 11.5.5 on Windows 2000 Server. We want to migrate to faster machines running Windows 2003 Server.
    11.5.5 is not supported on Windows 2003. We will need to upgrate to at least 11.5.8.
    Can you please suggest what is the best way to do this:
    1- Upgrade 11.5.5 to 11.5.8 on Windows 2000
    2- Install 11.5.8 on Windows 2003 Server. (Where would I get 11.5.8 from? Does Oracle ship older versions? I have CDs for 11.5.5 only).
    3- Export/import the database
    4- Move the customazitions over
    1- Install 11.5.5 on Windows 2003 Server. (11.5.5 is not supported on Windows 2003. Can we temporarily install it still; and upgrade it soon to 11.5.8?)
    2- Uprade 11.5.5 to 11.5.8 on Windows 2003 Server.
    3- Export/import the database
    4- Move the customazitions over
    Thanks in advance.
    Earliest attention is appreciated.
    Regards
    Hasan Mir

    Fadi,
    Check the following notes, it should be helpful:
    Note: 277650.1 - How to Use Export and Import when Transferring Data Across Platforms or Across 32-bit and 64-bit Servers
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=277650.1
    Note: 362205.1 - 10g Release 2 Export/Import Process for Oracle Applications Release 11i
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=362205.1

  • Migration from WebSphere - Weblogic: RAS logger

    What would be easy way or strategy to handle ibm ras logger when we migrate to weblogic?

    Guys:
    The link provided caters to Websphere Studio to WebLogic 8.1. My requirement is migration from WebSphere 5.x to WebLogic. My current architecture is as follows:
    1. Front End: JSP (Ver 1.2), XSL, XML
    2. Middle Layer: EJB (EJB Ver 2.0) (Stateless Session Beans) (Deployed in IBM WebSphere 5.0)
    3. RDBMS: Oracle 9i Enterprise Edition - Release 2.
    4. Modal View Controller architecture (MVC)
    5. Number of JAR files: 137
    6. One WAR File
    7. Appserver OS: W2K.
    All the files needs to be migrated to WebLogic 8.1 including the deployment descriptor.
    Is there any tool for this conversion? Any white paper, proof of concept, document on steps, approach, risks, mitigation,etc will be helpful.
    Thanks in anticipation
    Best Regards
    Pichu
    [email protected]
    Refer to
    http://www-106.ibm.com/developerworks/websphere/librar
    y/techarticles/0311_chaland/chaland.html
    "Stephen New" <[email protected]> wrote:
    Hi,
    Does anyone know of any articles/papers aboutmigrating a J2EE application
    from
    IBM's WebSphere to BEA WebLogic Server?
    I am currently doing a migration from WebSphere 4.xto WebLogic Server
    8.1 and
    am hoping to learn from other people's experiences.
    Thanks,
    Stephen.

  • Migration from iPlanet Web Proxy to ISA 2000

    Hi,
    I'm doing a project to migration from iPlanet Web Proxy 3.5 (AIX based) to ISA 2000 (Windows 2000). Anyone have experience can give me some idea to plan this migration?
    Which file in AIX iPlanet proxy store all the Filter URLs (Black list) ? And which file store all the users, groups with permissions?
    If you can refer me some "How to" documentation, I appreciate your help.
    Vince2008

    sriram already answered this pretty well, but as someone having been in the same situation (migrating from 6.0sp6 to 6.1sp8 a few months ago) I thought I'd chime in.
    obj.conf is not an issue whatsoever, since this file does not change in any way between the versions. This was a very nice discovery, and made our work a lot easier. :)
    magnus.conf is still pretty much the same, and using the migration tool in 6.1 will migrate server.xml and all other files properly, so that is absolutely the easiest way, if you have only a couple of configs. Us, we used it to generate a new template to see all changes, and then updated our internal configuration templates with the new look and generated all files on our own from there.
    You will need to modify magnus.conf manually afterward and update the path to the wlproxy though, since you should use proxy61.dll/so rather than proxy36.
    There are also quite a lot of entries in magnus.conf that are deprecated in 6.1, but still kept by the migration tool. Doesn't really hurt in any way, but that is my current task - cleanup.
    Regarding rollback, that depends on how you migrate. We wanted to use the same ports as well as windows service names (to avoid having to update all scripts), so we had to uninstall 6.0 before installing 6.1. But really, the possibilities you have here are so strictly decided by your network setup, uptime requirements, etc, that it is hard for anyone on the outside to answer.
    Edited by: David.Eriksson on Aug 18, 2008 1:54 AM

  • How to start weblogic in debug mode from BEA WebLogic Eclipse plugin

    I have a problem making weblogic work with eclipse3.1. I am using a BEA WebLogic plugin to handle weblogic (start/stop) from eclipse. However I want to debug my application and I am unable to figure out a way to start my weblogic in debug mode like we do in WSAD. I tried using some other plugins also but no luck. Please suggest me a plugin to handle this or any other way of debugging my application from eclipse. I am using weblogic 8.1.

    Hi,
    Dev Environment
    weblogic eclipse plugin 2.0 beta
    weblogic server 8.1
    eclipse 3.1.1
    Created a server that i would like to deploy my EJB so that i can put break points on my EJB in eclipse.
    How do i do it?
    I managed to deploy an ear (containing the ejb) directly to the weblogic installed folder and it deployed the ejb. But the breakpoint set in eclipse is not triggered. Of course in this case as weblogic server is running the .ear file deployed manually in the file system.
    Any help is appreciated.
    Mel

  • Mail Migration from Entourage mac to Outlook windows

    Hi,
    I am stuck in a situation of migrating the emails and its sub mail folders from Entourage 2008 mail client runnung in mac over to Outlook 2010 installed in my windows system.
    I have thousands of important mails stored in several folders in entourage 2008.
    So how can I make the migration from Entourage to Outlook possible.
    The solution will be really appreciated if its simple and direct, coz I have a loose hand in performing way-round step-wise technical stuff.
    Thank you

    Hello,
    In order to solve your issue, I recommend you post your issue to outlook forum.
    http://social.technet.microsoft.com/Forums/en-US/home?forum=outlook
    Cara Chen
    TechNet Community Support

  • Upgrading from NT 4.0 to Windows 2000

    Hello,
    I have iPlanet 6 installed and running under Windows NT 4.0. I need to upgrade the server to Windows 2000. Is there anything I need to do to iPlanet 6 before or after the Win2K upgrade? Or do I just upgrade the server, and the iPlanet software will run normally after the OS upgrade?
    Thanks for any advice on this topic.
    Sincerely,
    --John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Dear Darren,
    Finally, I tried to use "Out Port.vi" under Windows 2000 (the AccessHW was added in NT as well as in 2000). It seemed to work (it means there was no more error "capability not supported", however it did not work (the result of reading a port using "In port.vi" was always 255, regardless the value I expected.
    The configuration of board was exactly in the same state as before crash of Windows NT (no change of base address of board etc.). But it is true that both boards (custom one and PCI-MIO-E-16E-4) were removed and than reinstalled. The LabView program was without any change.
    It is just my impression - I did not examine the problem very carefully, so may be there was some other reason of failing.
    But finally we decided to reinstalled N
    T, because of other (non-NI) devices which are not supported by Win 2000.
    Thank you. Regards
    Ferda

  • NT Authentication in Weblogic 6 with Windows 2000

    Has anyone had success getting the Ntrealm running on W2K with weblogic 6sp1?
    I set everything up according to the 6.0 docs (descibed below) and when I access
    my web application (that i'm protecting) the login prompt doesn't accept my NT
    login, but roles over to the fileRealm(weblogic realm), If I create the same
    login there (but say with a different password just to be sure which is which,
    I get accepted).
    Here's how I went about it:
    1) Installed WebLogic 6sp1 to run as an NT service on W2K Server sp1. Running
    as the local system account.
    2) Created an NTrealm (myNTRealm), set primary domain to the name of the W2k server
    (myServer), since i'm going to use a local nt account (testAccount, password=nt)
    to try and login. (also created a fileRealm login testAccount, password=weblogic)
    3) Created a Caching realm for the NTrealm (myNTCacheRealm), turned off Case-sensitive
    cache.
    4) Created a web application(testApp) with a single JSP file (test.jsp).
    5) Entered the following into the web.xml
    <?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>
    <display-name>testApp</display-name>
    <description>NTrealm security testing app</description>
    <servlet>
    <servlet-name>Test</servlet-name>
    <jsp-file>test.jsp</jsp-file>
    </servlet>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>EntireApp</web-resource-name>
    <description>Secures the entire Application</description>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <description>Roles valid for entire site</description>
    <role-name>secureUsers</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>basic</auth-method>
    <realm-name>myNTRealm</realm-name>
    </login-config>
    <security-role>
    <description>Web app security role</description>
    <role-name>secureUsers</role-name>
    </security-role>
    </web-app>
    6) And the following into the weblogic.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 2.2//EN"
    "http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd">
    <weblogic-web-app>
    <description>WebLogic Deployment Descriptor</description>
    <security-role-assignment>
    <role-name>secureUsers</role-name>
    <principal-name>testAccount</principal-name>
    </security-role-assignment>
    </weblogic-web-app>
    7) Everything deploys fine and when I point my browser to http://myServer:7003/testApp/test.jsp.
    The login prompt has:
    Site: myServer
    Realm: myNTRealm
    but the server doesn't accept my NT login+password testAccount+nt, but I can
    entered the weblogic login+password testAccount+weblogic and got in.
    Any ideas? I've spent just about all the time I care to on this one.

    "Barrett" <[email protected]> wrote:
    >
    Has anyone had success getting the Ntrealm running on W2K with weblogic
    6sp1?
    I set everything up according to the 6.0 docs (descibed below) and when
    I access
    my web application (that i'm protecting) the login prompt doesn't accept
    my NT
    login, but roles over to the fileRealm(weblogic realm), If I create
    the same
    login there (but say with a different password just to be sure which
    is which,
    I get accepted).
    Here's how I went about it:
    1) Installed WebLogic 6sp1 to run as an NT service on W2K Server sp1.
    Running
    as the local system account.
    2) Created an NTrealm (myNTRealm), set primary domain to the name of
    the W2k server
    (myServer), since i'm going to use a local nt account (testAccount, password=nt)
    to try and login. (also created a fileRealm login testAccount, password=weblogic)
    3) Created a Caching realm for the NTrealm (myNTCacheRealm), turned off
    Case-sensitive
    cache.
    4) Created a web application(testApp) with a single JSP file (test.jsp).
    5) Entered the following into the web.xml
    <?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>
    <display-name>testApp</display-name>
    <description>NTrealm security testing app</description>
    <servlet>
    <servlet-name>Test</servlet-name>
    <jsp-file>test.jsp</jsp-file>
    </servlet>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>EntireApp</web-resource-name>
    <description>Secures the entire Application</description>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <description>Roles valid for entire site</description>
    <role-name>secureUsers</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>basic</auth-method>
    <realm-name>myNTRealm</realm-name>
    </login-config>
    <security-role>
    <description>Web app security role</description>
    <role-name>secureUsers</role-name>
    </security-role>
    </web-app>
    6) And the following into the weblogic.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application
    2.2//EN"
    "http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd">
    <weblogic-web-app>
    <description>WebLogic Deployment Descriptor</description>
    <security-role-assignment>
    <role-name>secureUsers</role-name>
    <principal-name>testAccount</principal-name>
    </security-role-assignment>
    </weblogic-web-app>
    7) Everything deploys fine and when I point my browser to http://myServer:7003/testApp/test.jsp.
    The login prompt has:
    Site: myServer
    Realm: myNTRealm
    but the server doesn't accept my NT login+password testAccount+nt, but
    I can
    entered the weblogic login+password testAccount+weblogic and got in.
    Any ideas? I've spent just about all the time I care to on this one.
    Have you specified the Cacheing Realm on the Security tab?
    i.e. Change it from '(none)' to 'myNTCacheRealm'

  • Migrating from PSE 5.0 on Windows XP to PSE 8.0 on Windows 7

    I am running PSE 5.0 on Windows XP on my old computer.  Half of my images (about 55GB--or about 15,000 images) are on the C drive under My Pictures  (lots of folders under there).  The other half are on an external  USB drive which I will be moving to my new computer.   Can I just follow the full backup and restore suggestion for the earlier question today?  I understand about renaming the external drive and giving it the same drive letter but obviously the full path name for the images currently on the C drive will be different.  Any suggestions will be highly appreciated.

    I strongly recommend first upgrading to PSE 8 on the old computer, and then moving your catalog and photos to the new computer.  That will make troubleshooting much easier -- given that you're changing computers, version of Windows, and version of PSE, it's very possible you'll run into problems.  It's likely that PSE 8 will run fast enough on your old computer to do the upgrade (it will probably be sluggish).
    Then, once you've upgraded to PSE 8, you have two options for moving your catalog and photos:
    1. Use the backup/restore method:
    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Move_your_photos_1
    You'll need to restore all of your photos on the external drive or on the C drive -- you can't split them.  But this method is usually the most straightforward method to use, especially for people who aren't experienced Windows administrators.   After you do the restore, you could use PSE to rearrange the locations of your photos:
    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Move_your_photos
    2. Copy the catalog folder from the old computer to the new (do Help > System Info in the Organizer to find the location).   Copy the picture folders on the C drive from the old to the new.  Plug in the external drive to the new computer.  PSE 8 will correctly find your photos on the external drive even if the drive letter is different (because it uses the drive's volume serial number).  But because you're moving from XP to Windows 7, the paths of the folders on the C drive are likely going to be different, and if they are, you'll have to do File > Reconnect > All Missing to reconnect your catalog with the new location of the drive C photos.  The Reconnect command can take some patience and very careful reading to use:
    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Quickly_reconnecting_large
    Most people don't have the patience and get tripped up by it.

  • SamplesApp from BEA Weblogic Workshop :handling data, binary Flow

    Hi,
    Everything is fine if I want to upload an image, but I would like to upload another kind of file in a database, PDF for example, how I can access it after uploading and saving in a database? Are amy examples about this?
    Any help is appreciated.
    Thank you in advance,
    Mariana

    nevermind - I'm am following the instructions in this thread. Sounds like the problem that I have
    http://forums.bea.com/bea/thread.jspa?forumID=2022&threadID=200007092&messageID=200020921&start=-1#200020921

  • How to migrate the datasource from Bea 8.1 to Bea 10

    Hi,
    I have to migrate an application from bea 8.1 to 10.
    the configuration in 8.1 is as follow : (config.xml)
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    InitialCapacity="10" KeepXAConnTillTxComplete="true"
    MaxCapacity="150" Name="adiosPool" Password="adios47"
    Properties="user=adios47"
    RemoveInfectedConnectionsEnabled="false"
    ShrinkFrequencySeconds="600" StatementCacheSize="100"
    SupportsLocalTransaction="false" Targets="server"
    TestConnectionsOnCreate="false" TestConnectionsOnReserve="true"
    TestFrequencySeconds="60" TestTableName="SQL SELECT 1 FROM DUAL" URL="jdbc:oracle:thin:@AXHE0.application.hvb.de:1521:AXHE0"/>
    <JDBCTxDataSource JNDIName="weblogic.jdbc.jts.adiosPool"
    Name="adiosPool" PoolName="adiosPool" Targets="server"/>
    and that is my new configuration : (config.xml)
    <jdbc-system-resource>
    <name>adiosPool</name>
    <descriptor-file-name>jdbc/adiosPool-0758-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    jdbc/adiosPool-0758-jdbc.xml :
    <?xml version='1.0' encoding='UTF-8'?>
    <jdbc-data-source xmlns="http://www.bea.com/ns/weblogic/90" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLocation="http://www.bea.com/ns/weblogic/920 http://www.bea.com/ns/weblogic/920.xsd">
    <name>adiosPool</name>
    <jdbc-driver-params>
    <url>jdbc:oracle:thin:@AXHE0.application.hvb.de:1521:AXHE0</url>
    <driver-name>oracle.jdbc.OracleDriver</driver-name>
    <properties>
    <property>
    <name>user</name>
    <value>adios47</value>
    </property>
    <property>
    <name>portNumber</name>
    <value>1521</value>
    </property>
    <property>
    <name>SID</name>
    <value>HVAEE0</value>
    </property>
    <property>
    <name>serverName</name>
    <value>AXHE0.application.hvb.de</value>
    </property>
    </properties>
    <password-encrypted>{3DES}PMWtUXqoHT8=</password-encrypted>
    </jdbc-driver-params>
    <jdbc-connection-pool-params>
    <test-table-name>SQL SELECT 1 FROM DUAL</test-table-name>
    </jdbc-connection-pool-params>
    <jdbc-data-source-params>
    <jndi-name>weblogic.jdbc.jts.adiosPool</jndi-name>
    <global-transactions-protocol>TwoPhaseCommit</global-transactions-protocol>
    </jdbc-data-source-params>
    </jdbc-data-source>
    but when I start the server I get the following exception :
    START SERVER
    javax.naming.NameNotFoundException: While trying to lookup 'weblogic.jdbc.jts.adiosPool' didn't find subcontext 'jdbc'. Resolved 'weblogic'; remaining name
    'jdbc/jts/adiosPool'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1138)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:246)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:171)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:205)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:213)
    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:367)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    what's wrong ?
    Thanks for your ideas

    Hi,
    This is realated to Upgrading your domain.You can upgrade your domain from bea weblogic8.1SP4 to Bea weblogic 10.You need to use the upgrade tool from bea weblogic platform10.You can start the Upgrade wizard tool from Windows Start->All Programs->BEA Products->Tools->DomianUpgradeWizard.The tool will take you to upgrade the domain automatically.Once you have upgraded the domian everything(database connection pools,users,groups,any other resources) in 8.1 domian will be changed to 10.
    Bea Support Complete upgradation of Application as well as application data from 8.1 to 9.2 or 10.0
    Thanks
    Bishnu
    Regards
    Bishnu

  • WebLogic as Windows 2000 service over s shared file system

    I am trying to install weblogic as a Windows 2000 service over a
    shared file system with no sucess
    (the shared fie system is provided by windows 2000 cluster services).
    I am using the srvany utility to have the script that launches
    weblogic be run as a service (I need this
    because I must launch 2 instances of weblogic in the same machine
    as services, i cannot do this
    with the bea service tools, having different configurations for
    the classpath, or can I?)
    The service works if weblogic is not installed in a shared file
    system.
    On the shared file system, it fails (The service fails, is unabble
    to start). I also made a script on the local file
    system, that calls the weblogic script on the shared file system,
    but weblogic fails to start (with no
    message) when loading from the weblogic.classpath
    thanks for your attenction,
    Bruno Antunes
    WhatEverSoft - Java Center

    I have also tried running the service with the bea tools, with no
    sucess when running in
    the shared file system.
    When i start the service, it seems to start ok, then stops. with
    no message.
    Nothing is written to the log, any ideas?
    Bruno Antunes
    WhatEverSoft - Java Center

Maybe you are looking for

  • 6980 wont stop printing report pages

    Help-My 6980 Deskjet has recently started printing report pages after every print job.  It seems to go into quiet mode on its own, prints the job and then continues to print multiple report pages until I turn it off.  Of course I'm out of warranty so

  • My creative cloud wont open

    i just dowloaded the application, and ive had errors trying to download some applications and now the application wont open

  • How to use OFFSET for CHAR type value in Bex query

    infoobject A value = 1102007 Type = CHAR I want to have an offset for this infoobject created in query say 1 to 12 months in month of 10/2007 value = 1102007 remember above 1 is always CONSTANT then in month of 11/2007 value = 1112007 in month of 12/

  • Trouble syncing e-mail between my Droid X and Laptop

    I am having trouble with my e-mail either showing up on my Droid X and not my Laptop or visa/versa? They are the same e-mail acct. with Frontier.com. There does not seem to be any consistent pattern? Any suggestions? Sincerely; Kent

  • I've found a solution to the problem Dictation in Mountain Lion

    hi yes I've found a solution to the problem Dictation in Mountain Lion and it work with me now : you will find in : and dont forget  delete file name : com.apple.assistant.plist and rustart your computer . i hope it help alot of people .. abdulla - d