Does Creator WAR work with Weblogic 7.x

Hi,
When I try to deploy Creator generated WAR on WebLogic 7.x, I get the following error:
<Feb 21, 2005 4:50:25 PM CST> <Error> <HTTP> <101216> <Servlet: "Faces Servlet"
failed to preload on startup in webapp: "webapp1"
javax.servlet.ServletException
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
Has anybody been able to successfully deploy on Weblogic 7.x and if so what the steps needed to do that, other than simply dropping the WAR file, into the appropriate directory.
Thanks!
Haroon

Hi Haroon,
We have a tutorial we've been working on in this area - here's some of the notes we've got so far - hope it will help!
best,
v
========================================
Configuring the Classpath SettingsCopy the following JAR files from your Java Studio Creator installation directory into a directory of your choosing.
Creator_install_dir/modules/autoload/ext/jstl.jar
Creator_install_dir/modules/autoload/ext/standard.jar
Edit your startWebLogic.cmd (or .sh) file and add the following line. For a default installation of version 8.1 on Microsoft Windows XP, the command file to start the server is at BEA-home\user_projects\domains\creator\startWebLogic.cmd
set CLASSPATH=your_dir\jstl.jar;your_dir\standard.jar;%CLASSPATH%
Restart the application server.
Creating and Configuring a JDBC Data SourceIn the right pane of the console home page, click Service Configurations > JDBC > Data Sources.
Clcik the Configure a New JDBC Sata Source. The JDBC Data Source assistant opens in the right pane.
Enter the following information: Name--Enter a name for this JDBC data source. This name is used in the configuration (weblogic.xml) file. JNDI Name--ENter the JNDI path to where this JDBC data source sill be bound. Click Continue to associate the JDBC data source with a connection pool. Click Configure a new JDBC Connection Pool.
Enter the following Database Type--select the DBMS of the database that you want to connect to.
Database Driver--select the JBDC driver you want to use to connect the database.
Click Continue.
On the Define Connection Properties page provide the information requested. The required attributes vary by the DBMS and JDBC driver you selected in the previous step. Consult your driver's documentation for the correct values. For the Sun Java System JDBC drivers, the classname is com.sun.sql.datasource.DriverAdapter.
Click Continue.
In Test Database Connection, verify the connection properties and then click Test Driver Configuration.
If the text is successful, the Create and Deploy page is displayed. If the test is unsuccessful, check the values on the page, correct any errors, then text the connection again.
In Create and Dploy, select the servers and cluster on which you want to deploy the connection pool. Click Create and Deploy to complete this process.
Exporting the WAR FileYou must create a web application archive (WAR) file for the application that you developed in the Java Studio Creator IDE. The WAR file will contain the complete web application in compressed form..
Open your project in the IDE.
In the Project Navigator, right-click the project name and choose Export WAR file.
In the Export WAR dialog box, choose the J2EE 1.4 specification.
Enter the location to which to export the WAR file and click OK.
Adding weblogic.xml to the WAR
Just like WEB-INF/sun-web.xml, you need a WEB-INF/weblogic.xml file. Create this file and add it to your WAR.
In a command-line window, change to the directory where you saved the WAR file.
Create a subdirectory named WEB-INF.
Change to the WEB-INF directory and create a file called weblogic-web.xml with contents similar to the code shown in the following sample. For the <res-ref-name> and <jndi-name> tags specify the value you entered in the JNDI Name field when you created the JDBC resource.
Code Sample 1: weblogic.xml Code
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-web-app PUBLIC '-//BEA Systems, Inc.//DTD Web Application 7.0//EN'
'http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd'>
<weblogic-web-app>
<resource-description>
<res-ref-name>jdbc/Travel</res-ref-name>
<jndi-name>jdbc/Travel</jndi-name>
</resource-description>
</weblogic-web-app>
Return to the directory that contains the WAR file and update it to include the weblogic.xml file.
jar uf your_app.war WEB-INF/weblogic-web.xml
For more information, visit the BEA website weblogic.xml Deployment Descriptor Elements.
Starting the WebLogic Application Server and Builder ToolStart the WebLogic application server if it is not already running.
Open the WebLogic Builder application and connect it to your WebLogic server.
The right box on the status line should say Connected. If it does not, choose Tools > Connect to Server and fill in the dialog box.
The JavaServer Pages (JSP pages) 1.2 specifications require that JSP containers process tag library descriptor (TLD) files that are embedded in a JAR file.
Adding a Listener to the WebLogic Deployment DescriptorThe JavaServer Pages (JSP pages) 1.2 specifications require that JSP containers process tag library descriptor (TLD) files that are embedded in a JAR file. The IDE relies on this feature to initialize the JSF runtime environment when the application is first loaded. A ServletContextListener is declared inside a tag library descriptor in jsf-impl.jar. WebLogic servers do not implement this feature, so the listener must be explicitly included in the WebLogic deployment descriptor.
Copy the WAR file to another location. Otherwise, the changes you make in this section will be removed when the project is rebuilt or cleaned.
Using the WebLogic Builder, choose File > Open in the Builder main menu. Navigate to the directory you selected in the previous step and select MessagesEx.war.
Click the Listener node in the right-hand tree pane.
Click the Add button.
In the dialog box that appears, enter com.sun.faces.config.ConfigureListener to the listener class text box and click OK. The listener class should now appear in the right pane.
Save the WAR file by choosing File > Save.
The Messages pane (shown in the preceding figure) diaplays Created weblogic.xml. Each application server can define its own XML configuration file(s). One of the primary uses for this file is to connect container-specific resources to a contained application. The WebLogic Builder generates this file automatically. Directly deploying an application created with the Java Studio Creator IDE into a WebLogic server will fail because this file is not generated by the IDE.
Deploying the Application to the WebLogic Server You can now deploy the modified WAR file to the WebLogic server.
In the WebLogic Builder, choose Tools > Deploy Module.
Click the Deploy Module button.
The dialog box closes. The message Module MessagesEx.war descriptors successfully loaded appears in the Builder Messages pane. The application has been deployed to your WebLogic server.
Test your application by opening a web browser and entering the URL http://hostname:7001/MessagesEx, where hostname is the name of your WebLogic server.
The Messages tutorial web page should appear. You can enter sample values into it as described in the Using Message Components tutorial.

Similar Messages

  • (266758030) Q SYNCH-12 Does Workshop work with WebLogic Server 6.1?

    (266758030) Q<SYNCH-12> Does Workshop work with WebLogic Server 6.1? (asked by Noel
    Fuentes)
    A<SYNCH-12> (by Adam Fitzgerald): No, Web Services in WebLogic Server 6.1 are different
    from those available in WebLogic Server 7.0. WebLogic Workshop is a WLS 7.0 tool.

    Rick,
    You may want to look at the Alteon and F5 configuration we have on edocs.
    Take a look at the following URLs for a possible solution
    http://edocs.bea.com/wls/docs61/cluster/alteon.html#591902
    http://edocs.bea.com/wls/docs61/cluster/bigip.html#591902
    Chuck Nelson
    DRE
    BEA Technical Support

  • Does JDeveloper work with Weblogic??

    Does JDeveloper work with Weblogic??
    Or it can be compitible with some other server also .....

    WebLogic server is integrated with JDeveloper.
    Does JDeveloper work with Weblogic??
    Other application servers are also supported.
    http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html

  • Debugger that works with WebLogic 5.1?

    Are there any debuggers currently available that will work with WebLogic
    5.1?
    I assume that VisualCafe 4.0 (Expert Edition) will support local debugging,
    but I'm also interested in remote debugging which the Expert edition does
    not support.
    If not, does anyone know when VisualCafe Enterprise Edition 4.0 will ship?
    Thanks.
    Greg

    Hi!
    I have problem to get the co-client debug project to run. Do you have
    the same problem?
    -----Original Message-----
    From: Terry Potter [mailto:[email protected]]
    Posted At: måndag, augusti 07, 2000 23:18
    Posted To: tools
    Conversation: Debugger that works with WebLogic 5.1?
    Subject: Re: Debugger that works with WebLogic 5.1?
    I use the deistributed debugging that comes with Visual Cafe by Webgain
    v4.0. It works fine.
    "Jim Piersol" <[email protected]> wrote in message
    news:3989ccec$[email protected]..
    Get a real debugger. Try BugSeeker from http://www.karmira.com
    Jim Piersol
    Senior Software Engineer
    Sun Certified Java Programmer
    Strata Group, Inc.
    [email protected]
    "Greg Kim" <[email protected]> wrote in message
    news:8ibuit$35e$[email protected]..

  • Does creative cloud work with windows 8

    does creative clould work with windows 8?. I see windows 7 as a minimum requirement with no mention of windows 8

    lewis0,
    Welcome to Adobe Community .
    Minimum requirements means that you have to have these as the minimum configuration to install the Adobe Products . You can surely go ahead and install the product on a windows 8 PC and it should work fine.
    Regards,
    Kartikay Sharma

  • WLS :: Will Vista web client work with Weblogic Server 8.1.6 over SSL?

    Hello,
    I have installed 51-2 bit SSL cert on weblogic 7 and found that the secure site doesn't work on Vista web client.
    Weblogic gives error in handshaking and says algorithm is not supported.
    Vista web client uses some algorithms which were not supported by weblogic 7.
    So would like to know if would Vista web client work with Weblogic Server 8.1.6 over SSL?
    Any information in this regard would be helpful.
    Thanks in Advance.

    can you use the following debug flags in the weblogic server as java_options and paste the complete ssl handshake exception here.
    -Dweblogic.StdoutDebugEnabled=true
    -Dssl.debug=true
    thanks,
    sandeep

  • Does apple tv work with hdmi to VGA hd15 cable?

    I have a Phillips tv and there is no hdmi to hdmi connection. But there is a VGA 15 input. Does apple tv work with it? I seem to be getting a black screen.

    I tried hard. Four different manufacturers, including Belkin, none of HDMI to VGA works with rMBP. However, all of them work with other sources, like Dell notebook.
    HDMI directly from rMBP to HDMI intput works fine.

  • Does apple tv work with ee router

    does apple tv work with my ee smartbox router

    Doubtful.
    What allows for streaming content from an iPad to a television thru an Apple TV is Apple software included with iOS on the iPad and the Apple TV software. Unless there is a 3rd party android app that provides for this, no.

  • Does Apple TV work with ipads?

    Does Apple TV work with ipads?

    http://www.apple.com/airplay/
    http://support.apple.com/kb/HT5209
     Cheers, Tom

  • Does apple tv work with both N wireless bands

    Does apple tv work with both wireless "N" bands

    Yes, I have both the 1G and 2G ATVs working off a 5 GHz n only network. Since the 2.4 GHz band can be set up to be backwards compatible with b/g networks it will work here too.
    I use an Apple Time Capsule to create a dual band network. Running my ATVs and Airport Expresses on the 5 GHz band improved streaming and AirPlay speaker reliability substantially in my location. I suspected interference from my neighbor's networks as well as other 2.4 GHz sources. I had to create the 2.4 GHz network for my 1G touch and an older laptop to work which don't need as reliable of a network connection.

  • Does apple tv work with Hannspree tv's?

    does apple tv work with Hannspree tv's?

    Welcome to the Apple Community.
    Never heard of them, but the Apple TV requires a TV with an HDMI connection that supports 720p input and is widescreen.

  • Does apple tv work with android tablets

    Does apple tv work with android tablets.

    Doubtful.
    What allows for streaming content from an iPad to a television thru an Apple TV is Apple software included with iOS on the iPad and the Apple TV software. Unless there is a 3rd party android app that provides for this, no.

  • Does apple tv work with fios

    does apple tv work with fios?

    Doubtful.
    What allows for streaming content from an iPad to a television thru an Apple TV is Apple software included with iOS on the iPad and the Apple TV software. Unless there is a 3rd party android app that provides for this, no.

  • Does INNER JOIN work with Oracle 8i ? (ORA-00933)

    hi,
    I try to execute the sql:
    SELECT
    A0.FULL_NAME,A0.MANAGER_ID,A0.DEPT_NO,A0.TOP_DEPT
    FROM
    HR_ORG A0
    INNER JOIN
    HR_EMP A1
    ON
    A0.MANAGER_ID=A1.EMP_NO
    WHERE
    A1.NAME = 'michael'
    but I caught an exception:
    java.sql.SQLException: ORA-00933: SQL...(message in
    chinese)
    Does INNER JOIN work with Oracle 8i ?
    thanks.

    INNER JOIN syntax is introduced in 9i, it does not exists in 8i. You can rewrite your statement:
    SELECT
    A0.FULL_NAME,A0.MANAGER_ID,A0.DEPT_NO,A0.TOP_DEPT
    FROM
    HR_ORG A0
    , HR_EMP A1
    WHERE
    A0.MANAGER_ID=A1.EMP_NO
    AND
    A1.NAME = 'michael'

  • Does Dreamweaver CS3 work with 64 bit version of Windows 7?

    Windows 7, 64 bit, Home Premium was clean installed.  I had no difficulty reinstalling Dreamweaver CS3, but when I try to open a file I get a message that  says." A problem has caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available."  Apparently none is.  So my question is, does Dreamweaver CS3 work with the 64 bit version of Windows 7?  If not, does CS4 work or would I be wasting money by upgrading?

    I just installed it and ran it fine.  I have Windows 7 Ultimate 64 bit
    Make sure it is a clean install from a fresh "boot".  I ran into problems the first time when I tried to install it right after I installed another program.  I simply uninstalled it.....which took a long long time, but after it was removed and I rebooted, everything went fine.
    Rick

Maybe you are looking for