Equivalent of global-web-application. OC4J in Weblogic XML
Hello.In OC4J I could create global web configurations apply to each application deployed via the global web file - application.Xml.
A particular case had to define the servlets that was present in a shared library and that applied to all deployed web applications.
First it an equivalent to OC4J web-global - application.xml in Weblogic 11 g?
If it is not such a mechanism, is it possible to define global servlets that I described in the previous example?
Thank you very much.
Esteban.
Hello
We do not have this CC as OC4J overall file, but you can set a similar option with file weblogic.xml in case the WAR file or if you use an EAR file, then you can use the file application - weblogic.xml.
Kind regards
Kal
Tags: Fusion Middleware
Similar Questions
-
Hello!
When you deploy a WAR for WebLogic 10.3.5, what is the difference between the prefer-application-package element in the weblogic.xml and weblogic application files. XML?
In my WARs WEB-INF/lib / I have a JAR that contains classes that are already provided by the container (but older versions).
If I do not prefer-application-packages use my application gets then the classes provided by the container.
If I use prefer-application-packages in weblogic.xml can I get classes in WAR/WEB-INF/lib, which is expected.
But if I use prefer application-packages in weblogic - application.xml, then I get the versions of container. Why?
Is there a difference between these two options?
The exact data that I use are:
(foo.bar. * is the name of the conflicting package;) Add or remove the linex tagged XXXX)
WEB-INF/weblogic.xml:
<?xml version="1.0" encoding="UTF-8"?> <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd"> <wls:container-descriptor> <wls:show-archived-real-path-enabled>true</wls:show-archived-real-path-enabled> <wls:prefer-application-packages> <!-- XXXX --> <wls:package-name>foo.bar.*</wls:package-name> <!-- XXXX --> </wls:prefer-application-packages> <!-- XXXX --> <wls:prefer-application-resources> <wls:resource-name>META-INF/services/some....</wls:resource-name> <wls:resource-name>META-INF/services/unrelated...</wls:resource-name> <wls:resource-name>META-INF/services/stuff...</wls:resource-name> </wls:prefer-application-resources> </wls:container-descriptor> <wls:jsp-descriptor> <wls:page-check-seconds>-1</wls:page-check-seconds> <wls:precompile>true</wls:precompile> <wls:precompile-continue>true</wls:precompile-continue> <wls:keepgenerated>true</wls:keepgenerated> </wls:jsp-descriptor> <wls:session-descriptor> <wls:persistent-store-type>replicated_if_clustered</wls:persistent-store-type> </wls:session-descriptor> </wls:weblogic-web-app>
META-INF/weblogic - application.xml:
<?xml version="1.0" encoding="UTF-8"?> <weblogic-application xmlns="http://xmlns.oracle.com/weblogic/weblogic-application" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/javaee_5.xsd http://xmlns.oracle.com/weblogic/weblogic-application http://xmlns.oracle.com/weblogic/weblogic-application/1.2/weblogic-application.xsd"> <application-param> <param-name>webapp.encoding.default</param-name> <param-value>UTF-8</param-value> </application-param> <xml> <parser-factory> <saxparser-factory> org.apache.xerces.jaxp.SAXParserFactoryImpl </saxparser-factory> <document-builder-factory> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl </document-builder-factory> <transformer-factory> org.apache.xalan.processor.TransformerFactoryImpl </transformer-factory> </parser-factory> </xml> <prefer-application-packages> <package-name>foo.bar.*</package-name> <!-- XXXX --> <package-name>javax.jws.*</package-name> <package-name>javax.xml.ws.*</package-name> <package-name>org.apache.cxf.*</package-name> <package-name>antlr.*</package-name> <package-name>org.xmlsoap.schemas.wsdl.*</package-name> </prefer-application-packages> </weblogic-application>
WebLogic - application.xml has no meaning in wars, it is only used in the ears.
-
How to add jsession ID to an ADF web application deployed in weblogic server?
Hello
I use jdeveloper 11.1.2.4 version. Can anyone tell please how to add custom JSESSIONID (BLTSESSIONID) to the URL of the web application ADF that must be deployed in weblogic server. I tried the following approach. but it did not work for me.
in webogic.xml, I added
< session descriptor - >
< name > BLTSESSIONID < / cookie-name >
< / session descriptor >
However, I've added the weblogic.xml manually from the gallery.
Could someone help me on this please?
Thank you
You don't have to add the session ID to the URL. The Web application automatically manages session IDS. By default, it uses an HTTP cookie (a cookie with name JSESSIONID) therefor. The Web application will automatically add it to the URL only if it detects that the client browser does not support cookies (for example, if the user has disabled cookies in the browser). By adding the lines above to weblogic.xml you just changed the name of cookie JSESSIONID to BLTSESSIONID default session. This is useful only if you have access to a couple of different Web applications from one and the same server and you want every application to maintain a clean session (for example, each application having a different session cookie name). If all applications on the server use one and same name cookie (JSESSIONID for example) and you have access to more than one application at the same time in one and the same browser (and even multiple instances of the browser, with the exception of some special cases), you will not be able to work with these applications correctly because the next access to another application will replace the cookie and you will lose the session to the requests earlier. Because HTTP cookies are maintained at the level of server name, it's not at the level of application root. In this case, you must specify the application names specific cookie (what you did above).
Dimitar
-
How to restrict access to the service web application deployed on weblogic for user group only
I built the web service application in jdevelopler 11.1.1.7. Their security policy applied in the web service of the default Oracle policy which is (policy: Wssp1.2 - 2007-Https-UsernameToken - Plain.xml)
Now all want to access the web service application must provide the name of user and password in the header section of the SOAP request to meet the requirement of the policy.
the following steps I'm trying to restrict access to the application of web service with a specific group of users among users of weblogic:
Connect to the weblogic administration console
Create user or group of users
Click on the links of deployments
Select your web service
Click the Security tab
Click the sub-tab political
Choose your authorization provider in the menu drop-down (looks like by default)
Choose Add Conditions-> Group-> Type in the name of the Group
Finishing
But access is always available for all weblogic users (IE users not in the group specified in the above security configuration). How can I restrict access to only authorized group? Any thing lacking in my approach?
There is nothing wrong with the steps mentioned in the question. In addition, you must do the following
At the time of the application deployment with regard to the security part, there is a list in the title of the question (which security template you want to use with this application?)
You must select (Advanced: use a custom template that you have configured on the page of configuration of the Kingdom) a configuration mentioned in the question will be work
-
How to debug a web application remotely using Weblogic Workshop 10.3?
I am trying to debug and application using Weblogic Workshop for Weblogic 10.3 on a remote server. I added the arguments of debugging on the server in the administration console and restarted the server, but I am unable to see debugging information in the IDE of the workshop. I am probably doing wrong... How can I reach the remote debugger?
Thank you!The argument - Xdebug you provided for the execution of the server must use 'socket', and it specifies a port number. When you create the Debug configuration of the dialog ("Remote Java Application') debugging, you must also specify 'socket', the remote host name and port number. Then you connect with it.
-
Hello
I'm dealing with deployment error while installing the file. War on weblogic server. When I run my application of webservices plsql in integrated weblogic server, it works fine... When I tried to package it and deploy on weblogic, it gives following error, pls could anyone help on this topic.
Pls. note I've created connections to database through the wizard for the creation of webservices plsql, data source name is created under weblogic domain-> services-> jdbc-> data source in the application server. Even then, I'm not able to succeed with the deployment. Appreciate your help, thank you.
I used jdeveloper 11.1.1 g for the construction of pl/sql based Web application services.
Define the JNDI name as jdbc /CreateInvDBconnDS instead of CreateInvDBconn
What makes research JNDI as java: comp/env/jdbc/CreateInvDBconnDS with java: comp/env/added by default.
ADF expects this JNDI name to start with jdbc / and end with the DS.
-
Hi all
I am currently installing Hyperion Planning more v11.1.2.3.00 on 3 different servers of MS Windows 2008 Server R2 (x 64) (that is to say, HYP01, HYP02 and HYP03) in a mode of Standard deployment typical, as follows:
-HYP01 Server: Essbase;
-HYP02 server: planning;
-HYP03 server: Foundation (IE, SSP, workspace), EPMA, Manager of calculation, financial reports, Reporting and analytical framework, analysis Web, Essbase Administration Services, Essbase Studio, WebLogic Server, Oracle HTTP Server.
as noted in Chapter 1 of the Standard EMP Deployment Guide.
I followed the steps to install Planning on HYP02 and then noticed that he appeared in the administration console (installed on HYP03) WebLogic as "Planning0" (see attachment 20141210-MJ-ORA - OWLServerStatus_BeforeHPDeployment.jpg) running on the server HYP02. I was able to access the login page of planning, but due to some problems with the workspace, I was not able to verify whether the planning was available in the workspace (it's a question I've been working with Oracle's Support staff).
After the launch of the EPM on the HYP03 system configurator, I noticed that he had picked up this planning remained to be deployed... so I have authorized its deployment. At the end of this step, I restarted all servers and access the WebLogic administration console again. That's when I noticed that there is now an entry for 'Planning0' and 'Planning of the depenses1' (see attached 20141210-MJ-ORA - OWLServerStatus_AfterHPDeployment.jpg), showing that 'Planning0' was no mention of a server it was running on when 'Planning of the depenses1' will run on the server HYP03 (IE, not the HYP02).
Without being able to access the workspace again (I'm working on the resolution of a recurring problem with the Support of Oracle), I would like to know the following:
1 - is normal\advisable to 'Planning0' and 'Planning of the depenses1' appear in the WebLogic administration console?
2. If it is normal\advisable, how can I remove\delete 'Planning of the depenses1' of the WebLogic administration console? The removal\deletion will cause problems with my installation?
Any other advice\pointers would be much appreciated.
Thanks in advance.
JBM
If you intend to deploy to both HYP03 and HYP02, then that is what you did and stick with it, if you only intend to be deployed to HYP02, then you need to change the configuration.
I don't know why you think that all EMP products are now highly available as it seems only that planning is such that it has been deployed on two servers, what Essbase and other web applications?
See you soon
John
-
I have forms and reports already installed on the Weblogic Server.
Now, I want to install ADF web Application on the same server, Weblogic.
Is it really possible to have forms & reports services and the application of the adf on the same installation of weblogic server?
Please suggest / guide me on how to achieve the task above.
Here are the details of my wls, forms and reports, and adf web application
- WebLogic Server version 10.3.5
- Forms & Reporst 11 GR 2
- ADF web application developed using JDeveloper 11.1.2.4
Thank you
Deven
Hello
a few entries,
-
Migration of Oracle OC4J to Weblogic 10.3 and CLOB ClassCastException
I migrate a web application from Oracle OC4J to Weblogic 10.0.3. In this application there are number of java files that uses the following code piece, and I can't change it:
oracle.sql.CLOB clob = (oracle.sql.CLOB) rs.getClob (columnNumber);
I have deployed the application on Weblogic application server. But when I run the application, it gives me the following exception:
* 1. SEVERE: Info Standard exception type exception: "java.lang.ClassCastException' at level: 0 - text of the error: 'weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB' *.
* 2. April 3, 2008 10:19:33 com.agencyport.menu.MenuController insert *.
* 3. SEVERE: java.lang.ClassCastException: weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB *.
* 4.*
* 5. at com.agencyport.database.OracleDatabaseAgent.updateLOB(OracleDatabaseA*)
* 6. Gent.Java:111) *.
* 7. to com.agencyport.menu.MenuController.insert(MenuController.java:815) *.
[New Post] Posted the private message from today 11:09:13
City [Up]
Dear Marcos,
I tried to use ojdbc5, ojdbc6 and classess12, but with the same result. I'm stuck with the problem. I googled a lot but in vein. In some messages, I had the idea of using weblogic.jdbc.vendor.oracle.OracleThinClob. But there is no package or a class as mentioned in "BOLD", available in weblogic.jar I get from WEBLOGIC_HOEM/lib. I downloaded weblogic 10.3 twice but still got no solution. WebLogic.jar contains no weblogic.jdbc.vendor.oracle.OracleThinClob.
I also read on the use of weblogic.jdbc.common.OracleClob to write unicode data, but I can't find this package in the weblogic.jar
No idea it please...
Concerning
Mohammed IjazIt should already be on the system class path.
In my system, here it is:
C:\Oracle\wls10gR3\modules\com.BEA.core.datasource_1.4.0.0.jarFound with this command:
java-jar jarscan.jar - C:\Oracle\wls10gR3\modules-weblogic.jdbc.vendor.oracle.OracleThinClob for the class dirWhere jarscan is here:
https://jarscan.dev.Java.NET/ -
ClassNotFound on Jdev11g for ADF web application
I recently installed version jdev11g release on my environment. My ADF web application is deployed on weblogic server (by default). When I try to access a page, I keep getting ClassNotFoundException
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
in java.net.URLClassLoader$ 1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged (Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
I had checked double I have log4j - 1.2.14.jar in my class path. This app worked fine when I had the technology review version of Jdev11 using OC4J instead of Weblogic.
I also create a simple java application that uses same as pots used on my ADF web application and I only see ClassNotFoundException. The two application has the same external jars in the classpath.
I'm not sure on exactly what is happening here, it would be great if someone can help and give me a few pointer on this
Thank you
TonyDid you read this part:
There is a second possible problem that is specific to the commons-logging and related libraries when it is used with integrated WLS and out-of-the-box configuration (including ADF). Because commons - logging.jar is apparently in the system classpath, attributable to the delegation of the ClassLoader Java works, all log4j at the level of the web application are not visible to the factory default journal. As long as this is the case, you may need to add the following to your web application WEB - INF / weblogic.xml:
true
What it does is tell the servlet JSP WLS to let the web application classes to ignore the classes in the system class loader. Standard Java class loader delegation gives priority to system classes.
-
Deploy an icon on the BlackBerry smartphone to a web application or URL
Hello
I want to deploy an icon on the BlackBerry for a web application is home. When the user click on this icon, I automatically want to launch my web app (URL).
I found this article:
And I read about 'push channel browser', which seems to do exactly what I want to do:
I did a test with my Blackberry that is connected to a BES, and it works very well using the code example.
My question is this, 'channel browser push' can be used for Blackberry that is not configured in our BES.
For example, I want to be able to deploy an icon on the Blackberry from customers and suppliers we have, but these Blackberries are not related at all our BES or network.
Is it possible to do this? If so, should I do something special to make it work?
If not, does that mean my only solution is to create a Java application that automatically launch the browser Blackberry (second option from the first link)?
Thanks for your help!
Channel browser push you make reference to requires the user is on a BlackBerry Enterprise Server.
The alternatives to this is a Java application (as you have discovered), BlackBerry Widget or Signal of Web. Web signals is the equivalent to a BlackBerry Internet Server Browser channel thrust.
BlackBerry Widget SDK (applications requires a BlackBerry 5.0 device software)
http://NA.BlackBerry.com/eng/developers/devbetasoftware/widgetsdk.jsp
Web signals
http://NA.BlackBerry.com/eng/developers/browserdev/websignals.jsp
-
recommendation of the Java web application development kit for small application
Hi all
I have an application developed using developer 6i, forms, and reports, as well as the Oracle 10 g for a school database. The application consists of student information, collection of fees and sms sending to parents.
There are a lot of problems, with this app, DB is very heavy I'm using Oracle DB 10 g, installtion of 6i developer on the latest version of windows is another puzzle etc.
Now, I want to pass to the application of the latest technology, but want this are light weight.
Can I develop an application of light weight with ADF web application?
Also, I want to use mysql as database.
Thank you
(1) you can use mySQL. I prefer Oracle XE, as it is better suited for the ADF.
(2) application No. needs a weg server web. You can use weblogic or glassfish
(3) just a browser
Timo
-
Measures to develop the Web Application with JDeveloper 11.1.1.6.0
People,
Hello. I have implemented PeopleSoft Campus Solution 9.0 revision 5 for a University.
I need to develop an application for Admission online for future student to apply for admission.
My installations of PeopleSoft are below:
Server machine: Oracle Linux 5.10 (64-bit)
Client computer: Windows XP Professional (64 edition) with the Internet Explorer browser
Architecture Internet Oracle Linux 5.10 Server:
(1) database server: Oracle Database 11 g version 11.1.0.6.0 is
(2) the server application: Tuxedo 11 g
(3) web Server: Web Logic 10.3.6.0 and JDK 1.7.0_09
(4) browser: Firefox Mozila
(5) two Instances of huge database on the database server: 8.53 PeopleTools and Campus Solution 9.0.
To develop the application for Admission online, I made the 4 parties with WebLogic 10.3.6 and JDK 1.7.0_09 as below:
(1) install ADR (Application Development Runtime) 11.1.1.6.0 (64-bit)
(2) install the RCU 11.1.1.6.0 to create the scheme of OWSM_MDS (32 bit)
(3) create a WebLogic 'Domain_CS' domain in WebLgoic 10.3.6.0 in support of MARC 11.1.1.6.0.
(4) install JDeveloper 11 g 11.1.1.6.0 Studio Edition including WebLogic 10.3.5.0.
The development environment for the online application for Admission is JDeveloper 11 g 11.1.1.6.0 Studio Edition. I just installed this PeopleSoft system. I don't have any experience using it. The first step is to run the command:
$./quickstart.sh
JDeveloper 11g Quick Start Menu appears as below:
1) start with WebLogic Server 10.3.5
(2) launching Oracle JDeveloper 11 g
(3) set up areas for Oracle ADF
(4) access Oracle JDeveloper 11 g Documentation Online
(5) domain upgrade to version 10.3.5
(6) access online documentation
I don't know the outline of comprehensive measures to develop the Web Application with JDeveloper. We will understand that it out by steps associated with Quick Start Menu.
My questions are:
(1) do I need to create or extend a field in WebLogic 10.3.5.0?
(2) how to develop the Web Application with JDeveloper? How connect JDeveloper with WebLogic 10.3.5.0?
(3) how to configure the domain for the ADF ADF being installed in another directory?
(4) folk would provide the outline of measures to develop the Web Application with JDeveloper?
Thanks in advance.
Sorry, I don't work with AAWS or PeopleSoft products. You have searched on Google for samples?
Ultimately AAWS are just web services that allows you to collect and send data. You create the user interface as you would for any web service based on the model layer. Start with samples for the integration of web services in the ADF to familiarize yourself with the process and then try to get some data of AAWS.
Timo
-
Tutorial on the use of the ADF to develop Web Application
People,
Hello. I have implemented PeopleSoft Campus Solution 9.0 revision 5 for a University.
I need to develop an application for Admission online for future student to apply for admission.
My installations of PeopleSoft are below:
Server machine: Oracle Linux 5.10 (64-bit)
Client computer: Windows XP Professional (64 edition) with the Internet Explorer browser
Architecture Internet Oracle Linux 5.10 Server:
(1) database server: Oracle Database 11 g version 11.1.0.6.0 is
(2) the server application: Tuxedo 11 g
(3) web Server: Web Logic 10.3.6.0 and JDK 1.7.0_09
(4) browser: Firefox Mozila
(5) two Instances of huge database on the database server: 8.53 PeopleTools and Campus Solution 9.0.
I just installed the 3 parties with WebLogic 10.3.6 and JDK 1.7.0_09 as below:
(1) install ADR (Application Development Runtime) 11.1.1.6.0 (64-bit)
(2) install the RCU 11.1.1.6.0 to create the scheme of OWSM_MDS (32 bit)
(3) create a new WebLogic "Domain_CS" domain to develop the application for admission online.
I have no experience to develop the Web Application using ADF. I have developed a few Web Applications using NetBean and database server. It seems that the ADF and NetBean have some similarities. Both need to create a project with a 'Web - INF' file for Web Application development. But I don't know the first step to start the ADF to call the wizard.
My question is:
What command and what directory to start ADF and call the wizard in order to develop the Web Application?
Thanks in advance.
You don't need to install JDev WLS directory.
What you end up doing, is take the application (EAR/WAR file) you create in JDeveloper and deploy in the WebLogic.
JDeveloper will be in a separate Directory.
-
Hi all
I intend to install and configure EMP 11.1.2.3.
We have 2 of linux and windows server 1.
on linux, I am planning to install foundation, Essbase and planning.
and in windows I intend to install HFM and FDMEE.
now my question is when you perform the configuration for HFM and FDMEE, I need to deploy the java web application for HFM and FDMEE on windows.
so everything by deploying web applications in java on windows that I put a different name for "domain name".
as linux domain name will be 'EPMSystem', so for windows it would be different as 'EPMSystem1'.
There will be no problem if the domain names are the same for both linux and windows?
and for weblogic server port must be different as 7001 on linux and 7002 on HFM?
Kind regards
Dattatray Mate
Yes, please keep another domain name...
Port is not a problem, you can use the same port as well
See you soon!
SH! going
Maybe you are looking for
-
Can I use iTunes with my Sony Walkman NWZ-A845
CCan I connect my Sony Walkman NWZ-A845 iTunes and transfer music to my walkman
-
OK, I feel like I'm taking crazy pills here. Each thread that I read in these countries and other forums to export from iMovie .mp4 format is said to use the option "export to QuickTime. Problem is that I don't see this option in iMovie 10.1.1. Th
-
Omen of HP: HP Omen volume decreases
I have a problem with my new HP omen. It works just fine, but sometimes, when you play games, watch movie or video on the internet or listening to music the volume maxed out is however suddenly, the volume decreases. It is always maxed out but much q
-
No Apple USB driver in Windows 10 Device Manager
Is there a way to retrieve the Apple USB driver in Windows 10 Device Manager. I downloaded the iTunes 12.3.3 yesterday and now he is gone. I tried plug into each of my Apple devices (iPod, iPad, iPhone, iPhone 4S 6) restarting my computer disabled m
-
I lost my music and videos how to make their return on my computer and my zune?
our computer has a virus and when the computer man restore the computer, music and videos have disappeared how do their back, I can see them but they say I have to buy them back