Web logic 8.1 and getString trouble
When using the following function with the SQL: SELECT A, B, C FROM D WHERE A=E and i call the campoString("A") i received the expected value for the campoString("B") and so on.
The problematic class is, there is no weblogic code on it, the project i am on is to migrate a iPlanet app to a web logic server:
If you need the JSP using this class please let me know. The application uses not standards, taglibs or anything besides .java files and .jsp files.
package externos;
import java.io.PrintWriter;
import java.sql.*;
import java.util.Date;
public class sicprosR{
public String strSQL;
public String er;
Connection con;
private ResultSet rsVentasTotales;
String url;
CallableStatement ps;
Statement comando;
protected String usuario;
protected String password;
public boolean estado;
public sicprosR() {
ps = null;
url="jdbc:oracle:thin:@17.3.5.101:1521:dbx1";
usuario="xxxxx";
password="xxxx";
estado = false;
public Date CampoDate(String s) {
Object obj = new Date();
try {
obj = rsVentasTotales.getDate(s);
catch(SQLException _ex) { }
return (Date)obj;
public double CampoDouble(String s) {
double d;
try {
d = rsVentasTotales.getDouble(s);
catch(SQLException _ex) {
d = 0.0D;
return d;
public int CampoInt(String s) {
int i;
try {
i = rsVentasTotales.getInt(s);
catch(SQLException _ex) {
i = 0;
return i;
public String CampoString(String s) {
int i = 0;
String sr;
try {
System.out.println("Campo a buscar:"+s);
sr = rsVentasTotales.getString(s);
System.out.println("Valor:"+sr);
catch(SQLException _ex) {
sr = "vacio";
if(sr == null)
sr = "vacio";
if((i = sr.indexOf('\n')) >= 0) {
if(i > 0)
return sr.substring(0, i - 1);
else
return "DATO ALTERADO";
} else {
return sr;
public boolean Commit() {
try {
con.commit();
catch(SQLException sqlexception) {
er = sqlexception.getMessage();
return false;
return true;
public int Conectar() {
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
catch(ClassNotFoundException _ex) {
return 0;
try {
con = DriverManager.getConnection(url, usuario, password);
comando = con.createStatement();
catch(SQLException sqlexception) {
er = sqlexception.getMessage();
return -1;
try {
rsVentasTotales = comando.executeQuery(strSQL);
catch(SQLException _ex) {
return -2;
estado = true;
return 1;
public int Conectar(int i) {
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
catch(ClassNotFoundException _ex) {
return 0;
try {
con = DriverManager.getConnection(url, Estructura.usuario, Estructura.clave);
comando = con.createStatement();
catch(SQLException sqlexception) {
er = sqlexception.getMessage();
return -1;
try {
rsVentasTotales = comando.executeQuery(strSQL);
catch(SQLException _ex) {
return -2;
estado = true;
return 1;
public boolean Ejecuta(int i) {
if(i == 1)
try {
rsVentasTotales = comando.executeQuery(strSQL);
catch(SQLException _ex) {
return false;
else
try {
comando.executeUpdate(strSQL);
catch(SQLException sqlexception) {
er = sqlexception.getMessage();
return false;
return true;
public int Sig() {
try {
if(rsVentasTotales.next()) {
estado = true;
return 1;
} else {
estado = false;
return 0;
catch(Exception _ex) {
estado = false;
return -1;
public boolean Siguiente() {
try {
if(rsVentasTotales.next()) {
estado = true;
return true;
} else {
estado = false;
return false;
catch(Exception _ex) {
estado = false;
return false;
public String convierteCantidadLetras(double d, String s) {
String s1 = Double.toString(d);
s1 = truncaADosDecimales(s1);
try {
ps = con.prepareCall("{ call get_Palabra_De_Valor_Numerico(?,?,?) }");
ps.setString(1, s1);
ps.setString(2, s);
ps.registerOutParameter(3, 12);
ps.execute();
return ps.getString(3);
catch(SQLException _ex) {
return "No se pudo realizar la conversion";
public String convierteCantidadLetras(double d, String s, PrintWriter printwriter) {
String s1 = Double.toString(d);
s1 = truncaADosDecimales(s1);
try {
ps = con.prepareCall("{ call get_Palabra_De_Valor_Numerico(?,?,?) }");
ps.setString(1, s1);
ps.setString(2, s);
ps.registerOutParameter(3, 12);
ps.execute();
return ps.getString(3);
catch(SQLException _ex) {
return "No se pudo realizar la conversion";
public boolean inicio() {
try {
rsVentasTotales.first();
return true;
catch(SQLException _ex) {
return false;
public String truncaADosDecimales(String s) {
int i = 0;
String s1 = "";
i = s.indexOf(".");
if(s.length() <= i + 3) {
s1 = s.substring(i + 1, s.length());
} else {
s1 = s.substring(i + 1, i + 3);
s1 = s1.substring(0, 2);
if(s.substring(i + 1, i + 2).equals("0"))
s1 = "0" + s1;
s1 = s.substring(0, i) + "." + s1;
return s1;
Well, after a hell of possibilities i encounter that the new drivers are incompatible with Oracle 7, that is... you don't have to use the .jar on the website but the classes102.zip for that db version. To do that put your .zip at the beginning of the classpath, for WebLogic modify the startWeblogic shell command or windows .cmd file.
Greetings
Carlos de Luna Saenz
Similar Messages
-
Web logic shutting down and resetting automatically
hi all.
i have developed an application in oracle apex 4.0 on oracle 11 g R1 and configured listener with oracle web logic server. i can run the application succesfully through web logic server but the problem is that i have to restart the web logic and configure listener again and again after like every 2 to 3 days. plz give me an idea what possibly could be the problem.
thanks in advance.Take a look at this article - note the special section on how to reset the SMC on laptops:
http://support.apple.com/kb/HT3964
Follow the Notebook instructions and post back if that didn't solve the problem.
P.S. You should also consider to update your OS to the latest version.
P.P.S. I'm assuming you're talking about your Macbook since you posted in the iMac section. -
OEM 12c - web logic server(wls1211 and wls 1035)
Hi ,
I have installed the wls 12c (wls1211_generic.jar) and later I downloaded EM12CR2 which came with wls( wls1035_generic.jar)
I don't want to install the wls which comes with EM12CR2.
How can I exclude that while installing the EM12CR2, Since I already installed the wls(1211).
or should I deinstall the wls 12c ??
Thanks,Here http://docs.oracle.com/cd/E24628_01/install.121/e22624/install_em_exist_db.htm#BDCJBGCE you can see what is installed and configured.
The installer intalls Oracle WebLogic Server 11g Release 1 (10.3.5) for you, so you do not need the weblogic 12c.
"If Oracle WebLogic Server 11g Release 1 (10.3.5) does not exist and if you want to manually install it, then ensure that you install it using JDK 1.6 v24+ (64-bit version for 64-bit platforms and 32-bit version for 32-bit platforms)." -
JNDI differences between Tomcat and Web Logic 6.1
I am looking at two difference piece of code :
Application developed and deployed under Tomcat ( perfectly working )
Context initCtx = new InitialContext();
Context ctx = (Context) initCtx.lookup("java:comp/env");
// Get a Connection
DataSource pool = (DataSource) ctx.lookup("jdbc/WebApps");
// Getting connection
con = pool.getConnection();
This is instead an application developed and deployed under Web Logic
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup("dbase");
// Connection
con = ds.getConnection();
when i deploy the WL application in Tomcat ( as a WAR file ) I got "dbase name not bound in this context", any guess why this is happening even though I already set up the server.xml :
<Resource auth="Container" name="dbase" type="javax.sql.DataSource"/>
<ResourceParams name="dbase">
<parameter>
Unfortunately I cannot rewrite the WL code so I need to work on Tomcat
Thanks in advance
LeonardoThanks for your reply,
However I think I have not been clear.
This is the situation. We have Web Logic on production and Tomcat on our Intranet.
So I am in need of making the WLogic app working under Tomcat "Without touching the code" of the application. The only thing I can modify at this point is the Tomcat installation. If it's possible.
The only problem I have is with the piece of code of the Data Base Connection. I got "dbase is not bind in this context".
Leonardo -
Web Logic Licensing and Support
Hi all,
We would like to know about Web Logic Server licensing and support details. Much appreciate your valuable inputs
Thanks!Hi,
You can find the premier support Details here:
http://www.oracle.com/us/support/premier/software/overview/index.htmlIf you have further queries then, you will find "Sales Chat Live" [Right Side], your queries Should be answered:
http://www.oracle.com/us/products/middleware/application-server/index.html [Go to Sales Chat Live]
HTH
GD,
Ashish -
How to start coherence server using node manager of remote web-logic server
We want to manage our coherence servers using web-logic. Our requirement is as such we want to keep single web-logic Admin Server and add all other node-manager to the same web-logic Admin Server.
Now when we create machine on node 1 (on which Admin Server is running) and add node manager of other server it is not responding and shows status as inactive.
Status: Inactive
Problem description: weblogic.nodemanager.NMException Exception encountered while communicating with this node manager
Version: (not available)
Looking at the log files it gives below info
<Sep 10, 2011 6:31:55 AM> <WARNING> <Configuration error while reading domain directory>
weblogic.nodemanager.common.ConfigException: The domain 'BlazeVMA' at 'null' was not registered in the nodemanager.domains file and dynamic domain registration is not supported. Please register the domain in the nodemanager.domains file.
at weblogic.nodemanager.server.NMServer.getDomainManager(NMServer.java:254)
<Sep 10, 2011 7:53:58 AM> <WARNING> <I/O error while reading domain directory>
java.io.FileNotFoundException: Domain directory '/data/oracle/Middleware/user_projects/domains/BlazeVMA' not found
Even after I have added the domain name in above directory. It returns with the same error.
Please let me know if anyone has faced the same issue while running coherence server on remote system using weblogic admin console on one machine and node manager on other machine.Thank You Rene.
This issue is resolved, but now I am facing issue while starting the coherence server on the remote node using node manager.
In the weblogic > coherence_server logs I am getting
Oracle Coherence Version 3.6.0.4 Build 19111
Grid Edition: Development mode
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
2011-09-11 07:14:40.231/1.453 Oracle Coherence GE 3.6.0.4 <Error> (thread=Main Thread, member=n/a): Error while starting cluster: java.lang.IllegalArgumentException: The specified address "/hostname" is not a local address.
at com.tangosol.net.InetAddressHelper.getLocalMTU(InetAddressHelper.java:139)
Please let me know if anyone has faced the same issue and know resolution. -
Web Logic 10.3.6 (64bit) - Could not load the sitemesh filter and library
Installed Web Logic 10.3.3 (32bit) and Java JDK 1.6.0_21 (32bit) in a customer's server (Windows Server 2008 R2 and 64-bit Operating System). The web page can be displayed with header and side menu.
However installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) on that same server. The web page cannot be displayed with header and side menu, it is just displayed with a blank background. Refer to the below "ERROR LOG", found the application could not load the sitemesh filter and library properly. We are using sitemesh-2.3.jar.
Have tried installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) in a test server (Windows Server 2008 R2 and 64-bit Operating System). The web page can be displayed with header and side menu.
Please assist on this issue. Thanks.
Below is the sitemesh that is declared and configured.
WEB-INF/web.xml
<filter>
<filter-name>sitemesh</filter-name>
<filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>sitemesh</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
WEB-INF/decorators.xml
<decorators defaultdir="/template/decorators">
<decorator name="plain" page="plain.jsp"/>
<decorator name="printable" page="printable.jsp"/>
<decorator name="standard" page="page_template_std.jsp">
<pattern>/*.jsp</pattern>
</decorator>
<excludes>
<pattern>/include/*</pattern>
<pattern>/js/*</pattern>
<pattern>/Login.jsp*</pattern>
</excludes>
</decorators>
WEB-INF/sitemesh.xml
<sitemesh>
<property name="decorators-file" value="/WEB-INF/decorators.xml"/>
<excludes file="${decorators-file}"/>
<page-parsers>
<parser content-type="text/html"
class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" />
<parser content-type="text/html;charset=ISO-8859-1"
class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" />
</page-parsers>
<decorator-mappers>
<mapper class="com.opensymphony.module.sitemesh.mapper.PageDecoratorMapper">
<param name="property.1" value="meta.decorator" />
<param name="property.2" value="decorator" />
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.FrameSetDecoratorMapper">
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.AgentDecoratorMapper">
<param name="match.MSIE" value="ie" />
<param name="match.Mozilla [" value="ns" />
<param name="match.Opera" value="opera" />
<param name="match.Lynx" value="lynx" />
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper">
<param name="decorator" value="printable" />
<param name="parameter.name" value="printable" />
<param name="parameter.value" value="true" />
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.RobotDecoratorMapper">
<param name="decorator" value="robot" />
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.ParameterDecoratorMapper">
<param name="decorator.parameter" value="decorator" />
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.FileDecoratorMapper">
</mapper>
<mapper class="com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper">
<param name="config" value="/WEB-INF/decorators.xml" />
</mapper>
</decorator-mappers>
</sitemesh>
ERROR LOG
####<May 8, 2012 5:38:49 PM SGT> <Error> <HTTP> <BHQKPK10060> <cms_cimbmy> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1336469929804> <BEA-101165> <Could not load user defined filter in web.xml: com.opensymphony.module.sitemesh.filter.PageFilter.
com.opensymphony.module.sitemesh.factory.FactoryException: Cannot construct Factory : com.opensymphony.module.sitemesh.factory.DefaultFactory: java.lang.reflect.InvocationTargetException
at com.opensymphony.module.sitemesh.Factory.getInstance(Factory.java:50)
at com.opensymphony.module.sitemesh.filter.PageFilter.init(PageFilter.java:87)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:343)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)
at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)Do you see any further nested exceptions OR errors in the log file.
Considering that the same WLS-JDK combination works on one machine and does not work on another machine, it indicates an environmental issue.
"However installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) on that same server. The web page cannot be displayed....
Have tried installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) in a test server (Windows Server 2008 R2 and 64-bit Operating System). The web page can be displayed with header and side menu."
I am suspecting if it has to do anything with the native libraries being loaded JAVA_LIB_PATH.
Please review the server log file again for identifying differences in LIB_PATH or PATH or any messages saying "Unable to load native.. performance pack.."
Arun -
How to install Discoverer 11g on Web Logic Server with Forms and Reports 11g Rel2
Hello,
We finally started to migrate from Oracle iAs 10g Release 2 to Oracle Forms and Reports 11g Release 2 using Web Logic. I don't see an option to install Discoverer on the server.
My OS: windows 2008 R2
Installed Web Logic 10.3.6
Forms & Reports: 11.1.2.2.0_64 (64 Bit Forms)
How do I install Discoverer Plus in 11g? All I can find is Discoverer 11g Desktop/Administrator to run on User work Station. We were using discoverer Plus in 10g iAS.
Thanks
Rao907485 wrote:
Hi:
I need to install oracle 11g from VNC viewer. The VNC is stalled on linux. I managed login. Now I have a screen that has some icons on the top like, Connection Options, "i", refresh, CTRl, ...
under that I have
Accept clipboard from viewers
Send clipboard to viewers
Send primary selection to viewers
From the Connection Options window, I checked Hextile for Use encoding and Let remote server deal with mouse cursor.
What is next? How do I connect to the server. (When I login I used hostname:1)
Thankyou.we only know what you post.
where does linux reside?
where is VNC installed? -
Unable to Start Soa_Server and BAM_SERVER in Web Logic Admin console
Hi,
I am new to this whole thing of SOA and web logic and trying to install SOA and web logic on my machine to learn SOA components.
Appreciate your inputs on the error i am at now.
I am trying to install SOA Suite 11.1.1.1 and in the process have installed web logic server as well.
I am unable to start both the Bam_server and the SOA_SERVER and the error message, I get, when i try to start the server;
======================================================================
For server bam_server1, the Node Manager associated with machine LocalMachine is not reachable.
All of the servers selected are currently in a state which is incompatible with this operation or are not associated with a running Node Manager or you are not authorized to perform the action requested. No action will be performed.
======================================================================
When i try to start , Node manager using start menu, i see a error as below :
=============================================================
May 18, 2012 6:12:56 PM weblogic.nodemanager.server.NMServer main
SEVERE: Fatal error in node manager server
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at javax.net.ssl.impl.SSLServerSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
at java.net.ServerSocket.<init>(ServerSocket.java:150)
at javax.net.ssl.SSLServerSocket.<init>(SSLServerSocket.java:84)
at javax.net.ssl.impl.SSLServerSocketImpl.<init>(Unknown Source)
at javax.net.ssl.impl.SSLServerSocketFactoryImpl.createServerSocket(Unkn
own Source)
at weblogic.nodemanager.server.SSLListener.init(SSLListener.java:76)
at weblogic.nodemanager.server.NMServer.start(NMServer.java:206)
at weblogic.nodemanager.server.NMServer.main(NMServer.java:377)
at weblogic.NodeManager.main(NodeManager.java:31)
=============================================================
Regards:
Nagaraj.sFirst of all, I think this is a wrong forum. You had better use WebLogic Application Server forum - WebLogic Server - Upgrade / Install / Environment / Migration
From the error: Address already in use: JVM_Bind one can guess that some config of your Node Manager is wrong.
Note that you don't necessarily need the Node Manager to start WebLogic apps - it is necessary only if you want to use the Weblogic Console.
The link to docs on WLS: http://www.oracle.com/technetwork/middleware/weblogic/documentation/index.html -
Run Oracle Web Logic and Oracle Application Server 10g on same server
Since oracle has chosen to release adf faces 11g, before the SOA suite 11g is released, we are facing the challenge to run both Oracle Web logic and Oracle Application Server 10g on the same server.
If anyone have any experience in this setup or has knowledge of other feasable setups please let me know.
Regards.
JanWhat version of Oracle Application Server 10g are you installing?
If you are installing 10gR2 (v10.1.2.x) have you taken a look at point #70 in "Table 2 Additional Information for Certified Platforms" section here?
http://www.oracle.com/technology/software/products/ias/files/as_certification_r2_101202.html
Thanks
Shail -
Separating obiee server and presentation services via Web Logic Server
Hello,
I'm attempting to Install OBIEE Server 11.1.1.3.0 on Linux (box A). I also am installing Web Logic Server 10.3.3 on Linux (box B) with the plan of deploying presentation services on WLS.
I originally did the following:
1. setup Repositoyr using RCU
2. Installed OBIEE 11.1.1.3.0 using Enterprise Option.
3. Installed WLS 10.3.3
4. Began following this doc: http://www.obieetalk.com/deploying-obi-presentation-services-weblogic
---and the following questions arose as I was going through those steps:
a. when I start up the Weblogic configuration wizard. I get to step 8 and it asks me to configure the Administration Server.
--is that the Weblogic Server(box B)?
b. It then asks me to configure Managed Servers.
--That is the Weblogic Server, correct(box B)?
I skipped Configuring Clusters.
c. It then asks to Configure Machines.
--I'm not sure what to put here.
**I then proceeded to open up an SR and was given a "Here's the install guide" as a 'Solution Offered'.
Oracle then came back with you need to do a "Software Only" install of OBIEE
--On Box A or B? Because when I do that it asking where the WebLogic Server / Middleware Home is located.
So, I'm asking
1. do I do Enterprise, Simple or Software Only on Box A?
2. Install WLS first, and then follow the document( http://www.obieetalk.com/deploying-obi-presentation-services-weblogic ) on how to deploy the Presentation Services?
3. Which will lead me back to these questions:
a. when I start up the Weblogic configuration wizard. I get to step 8 and it asks me to configure the Administration Server.
--is that the Weblogic Server(box B)?
b. It then asks me to configure Managed Servers.
--That is the Weblogic Server, correct(box B)?
I skipped Configuring Clusters.
c. It then asks to Configure Machines.
--I'm not sure what to put here.
Any help is greatly appreciated. Thanks in advance!Hi,
Is this the only error that you got in log files. Can you change the presentation catalog name and give it a try. Kill all the services. Start OC4J and then start the services.
Regards,
Sandeep -
ERROR IN WEB LOGIC AND JBUILDER...
hi,
im just new to weblogic with JBuilder X, i made a very basic session bean and when i compiled it. it said...
"WebLogicSesMod.jar": Spaces in the temporary directory path may cause WebLogic APPC utility to produce fatal compile errors.
im using Weblogic 8.1platform server
and when i RUN THE APPLICATION then it throws exception...
The WebLogic Server did not start up properly.
java.lang.NoClassDefFoundError: com/bea/wsrp/util/debug/Debug
at com.bea.wsrp.security.WSRPIdentityAsserterProviderImpl.<clinit>(WSRPIdentityAsserterProviderImpl.java:45)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.createSecurityProvider(SecurityServiceManagerDelegateImpl.java:232)
at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:939)
at weblogic.security.service.PrincipalAuthenticator.initialize(PrincipalAuthenticator.java:151)
at weblogic.security.service.PrincipalAuthenticator.<init>(PrincipalAuthenticator.java:257)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doATN(SecurityServiceManagerDelegateImpl.java:581)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.java:420)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm(SecurityServiceManagerDelegateImpl.java:698)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:731)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:874)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:717)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:822)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
at weblogic.Server.main(Server.java:32)
Reason: com/bea/wsrp/util/debug/Debug
PLEASE HELP ME, IM IN BIG MESS....
WAITING...hi,
i reinstalled server and JBuilder, and again made a session bean. the server started successfully...
but while compiling code the PREVIOUS error came with more enhancement...
"EJBModule.jar": Spaces in the temporary directory path may cause WebLogic APPC utility to produce fatal compile errors.
"EJBModule.jar": Spaces in the classpath may cause WebLogic APPC utility to produce fatal compile errors.
"EJBModule.jar": C:\bea\jdk142_04\bin\javaw -classpath "C:\bea\weblogic81\server\lib\weblogic_sp.jar;C:\bea\weblogic81\server\lib\weblogic.jar;C:\bea\weblogic81\server\lib\webservices.jar;C:\Documents and Settings\Administrator\jbproject\ejbsess\EJBModule.jar;" weblogic.appc -keepgenerated -forceGeneration -compiler C:/bea/jdk142_04/bin/javac "C:/Documents and Settings/Administrator/jbproject/ejbsess/EJBModule.jar.jar" -output "C:/Documents and Settings/Administrator/jbproject/ejbsess/EJBModule.jar"
"EJBModule.jar": <Nov 2, 2004 12:01:33 PM GMT+05:00> <Warning> <EJB> <BEA-010054> <EJB Deployment: WebLogicSes has a class ejbsess.WebLogicSesBean that is in the classpath. This class should only be located in the ejb-jar file.>
"EJBModule.jar": <Nov 2, 2004 12:01:33 PM GMT+05:00> <Warning> <EJB> <BEA-010054> <EJB Deployment: WebLogicSes has a class ejbsess.WebLogicSesHome that is in the classpath. This class should only be located in the ejb-jar file.>
"EJBModule.jar": <Nov 2, 2004 12:01:33 PM GMT+05:00> <Warning> <EJB> <BEA-010054> <EJB Deployment: WebLogicSes has a class ejbsess.WebLogicSes that is in the classpath. This class should only be located in the ejb-jar file.>
"EJBModule.jar": [J2EE:160127]ERROR: Could not delete previous archive: C:\Documents and Settings\Administrator\jbproject\ejbsess\EJBModule.jar
and the EXECUTION OF WEB LOGIC SERVER GOES FINE...
C:\bea\jdk142_04\bin\javaw -classpath "C:\bea\weblogic81\server\lib\weblogic_sp.jar;C:\bea\weblogic81\server\lib\weblogic.jar;C:\bea\weblogic81\server\lib\webservices.jar" -ms64m -mx64m -Djava.library.path="C:/bea/weblogic81/server/bin" -Dbea.home="C:/bea" -Dweblogic.Name=myserver -Djava.security.policy=="C:/bea/weblogic81/server/lib/weblogic.policy" -Dweblogic.management.discover=false -Dweblogic.ProductionModeEnabled=false -Dweblogic.management.password=aqibjava -Dweblogic.management.username=weblogic weblogic.Server
<Nov 2, 2004 11:56:33 AM GMT+05:00> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.2_04-b05 from Sun Microsystems Inc.>
<Nov 2, 2004 11:56:34 AM GMT+05:00> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<Nov 2, 2004 11:56:34 AM GMT+05:00> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
WebLogic XMLX Module 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973 >
<Nov 2, 2004 11:56:35 AM GMT+05:00> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at C:\bea\user_projects\domains\enterprisedomain\.\config.xml.>
<Nov 2, 2004 11:56:38 AM GMT+05:00> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea\user_projects\domains\enterprisedomain\myserver\myserver.log is opened. All server side log events will be written to this file.>
<Nov 2, 2004 11:56:40 AM GMT+05:00> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Nov 2, 2004 11:56:40 AM GMT+05:00> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server "myserver" for domain "enterprisedomain">
<Nov 2, 2004 11:56:45 AM GMT+05:00> <Warning> <HTTP> <BEA-101296> <Unable to load the default compiler class "com.sun.tools.javac.Main". Using the default javac compiler to compile JSPs.>
<Nov 2, 2004 11:56:50 AM GMT+05:00> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "myserver" for domain "enterprisedomain" running in Development Mode>
<Nov 2, 2004 11:56:50 AM GMT+05:00> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 7001, ip address *.*>
<Nov 2, 2004 11:56:50 AM GMT+05:00> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
NOW WATS WRONG :(
WAITING... -
Hi All,
I have here a 6509-E chassis with a Sup720 in it and an ACE module also in it.
Our enviornment is getting oracle web-logic virtual servers via OVM. Our ERP team would like to be able to load-balance to the web servers located in the oracle OVM box. The Oracle OVM stuff, as near as I can make out uses java processes to direct traffic once it hits the box to the virtual web servers it contains. The java processes listen on different ports, thereby meaning there can be loads of web servers on the one box assuming the physical box has enough resources.
That said, I currently have three web servers all sitting on the one physical box.
For example:
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
server1 = http://10.1.95.70:9999
server2 = http://10.1.95.70:9888
server3 = http://10.1.95.70:9777
The Company bought ACE modules a while ago and we'd like to be able to use them to load balance across the three servers (there are a lot more than three but this illustrates the point).
In the configuration of the ACE module, the rserver mode (real server) requires an IP to be assigned to the rserver, this is the real IP address of the actual server and is classes as 'serverside' I think:
eg
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
rserver host SVR_9999
description Real Server 9999
ip address 10.1.95.70
inservice
As the second web server also resides on that same IP, should it not also have the same IP? ie
rserver host SVR_9888
description Real Server 9888
ip address 10.1.95.70
inservice
When I try to enter in the ip address however it errors out with a duplicate:
ACE1/TEST_CTX(config)# rserver host SVR_9888
ACE1/TEST_CTX(config-rserver-host)# ip address 10.1.95.70
Error: Duplicate IP address or subnet
My question is: Is there a way I can use the ACE module to load balance to different web servers on the one IP address (assuming the rest of the configuration is fine)? Something that would achieve the following eg?
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
rserver host SVR_9999
description Real Server 9999
ip address 10.1.95.70:9999
inservice
rserver host SVR_9888
description Real Server 9888
ip address 10.1.95.70:9888
inservice
Many thanks in advance.
BradHi
You need to create one rserver and multipul serverfams with port number as follow.
rserver host SVR_1
description Real Server
ip address 10.1.95.70
inservice
rserver host SVR_2
description Real Server
ip address 10.1.95.70
inservice
serverfarm host SRV_9999
rserver SVR_1 9999
inservice
rserver SVR_2 9999
inservice
serverfarm host SRV_9888
rserver SVR_1 9888
inservice
rserver SVR_2 9888
inservice
serverfarm host SRV_9777
rserver SVR_1 9777
inservice
rserver SVR_2 9777
inservice
sticky ip-netmask 255.255.255.255 address both STICKY_9999
timeout 510
replicate sticky
serverfarm SRV_9999
sticky ip-netmask 255.255.255.255 address both STICKY_9888
timeout 510
replicate sticky
serverfarm SRV_9888
sticky ip-netmask 255.255.255.255 address both STICKY_9777
timeout 510
replicate sticky
serverfarm SRV_9777
class-map match-all VIP_9999
2 match virtual-address xxx.xxx.xxx.xxx tcp eq 9999
class-map match-all VIP_9888
2 match virtual-address xxx.xxx.xxx.xxx tcp eq 9888
class-map match-all VIP_9777
2 match virtual-address xxx.xxx.xxx.xxx tcp eq 9777
policy-map type loadbalance first-match SLB_ORACLE_9999
class class-default
sticky-serverfarm SRV_9999
policy-map type loadbalance first-match SLB_ORACLE_9888
class class-default
sticky-serverfarm SRV_9888
policy-map type loadbalance first-match SLB_ORACLE_9777
class class-default
sticky-serverfarm SRV_9777
policy-map multi-match ORACLE
class VIP_9999
loadbalance vip inservice
loadbalance policy SLB_ORACLE_9999
loadbalance vip icmp-reply
class VIP_9888
loadbalance vip inservice
loadbalance policy SLB_ORACLE_9888
loadbalance vip icmp-reply
class VIP_9777
loadbalance vip inservice
loadbalance policy SLB_ORACLE_9777
loadbalance vip icmp-reply
interface vlan xx
ip address yyy.yyy.yyy.yyy 255.255.255.0
service-policy input ORACLE
Regards,
Vashdev -
Web Center and Web Logic Server
Is Web Logic Server bundled part of the Web Center Suite or is it a seperate purchase?
If you purchase a WebCenter licence you have limited use of the weblogic server. It is limited to use for webcenter only. If you want to deploy othe applications (like java application) on it and run them in production, then you need to pay for an additional licence so if you only want weblogic for webcenter than it's included.
It's the same with UCM. UCM has also a seperate licence but if you buy webcenter, you have limited use of UCM so you can use it for webcenter only.
Edited by: Yannick Ongena on Aug 9, 2011 10:01 PM -
Build a dicom server with web logic and Oracle Multimedia DICOM
Its it possible, build My own dicom server...only using web logic + java + Oracle Multimedia DICOM ?
Hi,
In The LDAP side you need to increase:
MaxPageSize - This value controls the maximum number of objects that are returned in a single search result, independent of how large each returned object is. To perform a search where the result might exceed this number of objects, the client must specify the paged search control. This is to group the returned results in groups that are no larger than the MaxPageSize value. To summarize, MaxPageSize controls the number of objects that are returned in a single search result.
Default value: 1,000
For more informations please refer to : http://support.microsoft.com/kb/315071
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
Maybe you are looking for
-
Upgraded to Firefox 24 and now nothing at all works despite uninstalling and reinstalling it several times and losing all my bookmarks etc. However it does start in safe mode. At first I thought it was my security Norton 360 but after 2 hours in cont
-
I need another way of increasing/decreasing the volume in OS X.
Long story short: The F11 and F12 volume keys on my Apple keyboard change the volume in too large of steps. There's a key combination for tiny increments, but come on... Do I really want to use two hands to press three keys just to turn up the sound
-
I'm getting an error message saying "The operation could not be completed." I am able to "save as". I installed CC yesterday and am on a Windows 7 64bit computer. I am using the 64 bit Photoshop CC. I've restarted it several times and still that is
-
Permissions tab missing from Room mailbox
I've run into a snag. I created my first Room Mailbox and assigned myself full access. I also set automatic accept in the delegation section, but no one can add appointments except me. It tells the users they don't have permissions. I tried to check
-
Problems with opening links on Adobe Reader
I have Adobe reader 9 and have also downloaded adobe reader pro because i thought i didnt have adobe at all. When i try and open links that want to open with adobe reader it opens to a blank page and pops up with one of them little messege boxes that