Problems with Oracle Web Logic 10.3.6, certificates and proxies
Good morning.
We are trying to establish a SSL connection using Apache Cxf and WebLogic Server 10.3.6.
For that, we are passing through a proxy. Using Apache Tomcat, the test is ok, we can connect to the endpoint correctly. But in WebLogic 10.3.6, we have problems with the certificates.
In our code, we are loading the certificates programatically.
The web-services-config.xml is the following:
<?xml version="1.0" encoding="UTF-8"?>
<beans
xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"
xmlns:http="http://cxf.apache.org/transports/http/configuration"
xmlns:sec="http://cxf.apache.org/configuration/security" xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/beans">
<jaxws:client address="@SNE.SNE_WS_URL@"
serviceClass="com.bankia.sne.ws.clientes.buzonAPESNE.APESNEBuzonWSTipoPuerto"
id="puertoAPESNEBuzonWS" />
<http:conduit name="@SNE.SNE_WS_URL@">
<http:client Connection="Keep-Alive" AutoRedirect="true"
ProxyServerType="HTTP" ProxyServerPort="@SNE.PROXY_PORT@"
ProxyServer="@SNE.PROXY_HOST@" />
<http:proxyAuthorization>+
<sec:UserName>@SNE.PROXY_USER@</sec:UserName>
<sec:Password>@SNE.PROXY_PASSWORD@</sec:Password>
</http:proxyAuthorization>
<http:tlsClientParameters>
<sec:cipherSuitesFilter>
<!-- these filters ensure that a ciphersuite with export-suitable or
null encryption is used, but exclude anonymous Diffie-Hellman key change
as this is vulnerable to man-in-the-middle attacks -->
<sec:include>.*EXPORT.*</sec:include>
<sec:include>.*EXPORT1024.*</sec:include>
<sec:include>.*WITHDES_.*</sec:include>
<sec:include>.*WITHNULL_.*</sec:include>
<sec:exclude>.*DHanon_.*</sec:exclude>
</sec:cipherSuitesFilter>
</http:tlsClientParameters>
</http:conduit>
</beans>
That's the code used for establish the CXF connection:
private void configuraConexion(Buzon buzon){
try {
LOGGER.debug("Configurando conexión con el sevicio Web para el buzón con id " + buzon.getId() + " ...");
Client client = ClientProxy.getClient(puertoAPESNEBuzonWS);
HTTPConduit httpConduit = (HTTPConduit) client.getConduit();
TLSClientParameters tlsParams = httpConduit.getTlsClientParameters();
Certificado certificado = buzon.getCertificado();
byte[] bytes = certificado.bytesCertificado();
CertificadoSerializable certSerializado = (CertificadoSerializable)Serializador.desserializar(bytes);
//Cargamos el truststore de disco
TrustManagerFactory trustFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
KeyStore truststore = KeyStore.getInstance(Propiedades.getProperty(KEY_SERVICIO_WEB_ALMACEN_TRUSTSTORE));
String contrasenia = Propiedades.getProperty(KEY_SERVICIO_WEB_TRUSTORE_PASSWORD);
// -- provide your truststore
File ficheroTruststore = null;
String rutaTrustore = Propiedades.getProperty(KEY_SERVICIO_WEB_TRUSTORE_RUTA) Propiedades.getProperty(KEY_SERVICIO_WEB_NOMBRE_TRUSTSTORE);
LOGGER.debug("rutaTrustore --> " + rutaTrustore);
if (rutaTrustore!=null){+
ficheroTruststore = new File(rutaTrustore);
URL url = null;
if(ficheroTruststore == null || !ficheroTruststore.exists()){
url = Localizador.getResource(Propiedades.getProperty(KEY_SERVICIO_WEB_NOMBRE_TRUSTSTORE));
ficheroTruststore = new File(url.getPath());
truststore.load(url.openStream(), contrasenia.toCharArray());
}else{
truststore.load(new FileInputStream(ficheroTruststore), contrasenia.toCharArray());
LOGGER.info("[ServicioWSBuzonAPESNEImpl.configuraConexion] Fichero truststore.pks recuperado de "+ficheroTruststore.getPath());
trustFactory.init(truststore);
TrustManager[] tm = trustFactory.getTrustManagers();
tlsParams.setTrustManagers(tm);
//Cargamos el Keystore de base de datos
KeyStore keyStore = KeyStore.getInstance(Propiedades.getProperty(KEY_SERVICIO_WEB_TIPO_ALMACEN_KEYSTORE));
keyStore.load(null, certificado.getContrasenia().toCharArray());
keyStore.setKeyEntry(certificado.getAlias(), certSerializado.getClavePrivada(), certificado.getContrasenia().toCharArray(), certSerializado.getCadena());
// set our key store+
// (used to authenticate the local SSLSocket to its peer)
KeyManagerFactory keyFactory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
keyFactory.init(keyStore, certificado.getContrasenia().toCharArray());
KeyManager[] km = keyFactory.getKeyManagers();
tlsParams.setKeyManagers(km);
httpConduit.setTlsClientParameters(tlsParams);
LOGGER.debug("Conexión configurada satisfactoriamente");
}catch (Exception e) {
LOGGER.error("Error al configurar la conexión del servicio Web", e);
throw new WSBuzonException("Error al configurar la conexión del servicio Web: " + e.getMessage());
We don't know how to solve this issue? Please, could you help us?
Thanks in advance,
Jaime.
Edited by: j2eedevelopment on 10-jul-2012 10:05
Hi Zack, thanks for the answer.
I've cleaned the code below.
Our problem is the following: we wan't to use many keystores, in function the user who is connected in the application. For that reason, we wan't to give the keyStore from Java Client, because we've saw that, in WebLogic, you can select one keystore, but only one. For that reason, we wantto change the keystore in run time execution, dinamically.
The problem we have found are the following:
1) If we configure WebLogic with the correct keystore and trustore, we are not able to change keysotre and trustore in runtime execution, so we have to us always the same keystore and we don't want this.
2) Also, I'm trying now to use JaxWS instead Apache Cxf, and I've tried to put the ssl properties of the system with the following code:
System.setProperty(JAVAXNETSSLTRUST_STORE, trustore);
System.setProperty(JAVAXNETSSLTRUST_STORE_PASSWORD, trustStorePassword);
System.setProperty(JAVAXNETSSLKEY_STORE, keyStore);
System.setProperty(JAVAXNETSSLKEY_STORE_PASSWORD, keyStorePassword);
System.setProperty(JAVAXNETSSLKEY_STORE_TYPE, keyStoreType);
Thanks in advance,
Jaime.
Similar Messages
-
Problem with Oracle Web Service Proxies reusing classes and exceptions
We have an application that have many web services and we're having a really hard time working with Oracle Web Service Proxy. We have many web services that share the same classes for parameters and exceptions. When we generate de proxy classes, it generates a lot of _LiteralSerializer classes. Because I'm reusing the same classes and exceptions it generates the same _LiteralSerializer classes for this classes and they get replaced. For Example
I have classes A and B and Web Services X and Y that use this classes. When I generate the 2 proxies it generates A_LiteralSerializer and B_LiteralSerializer on the 2 proxies and they get replaced and I get "No serlalizers for A class or B class". This problems repeats a lot of times and this problem is a huge risk for our project. We're using JDeveloper 10.1.3.4.
Is there a way to avoid this with Oracle Web Service Proxies?
Regards,
NéstorResolved when I create a deployement profile explicitly.
The Webservice.deploy that gets created automatically when I create a web service was giving this issue.
Thanks
Saikrishna -
Monitor loggedin user in Oracle Web Logic Server
Dear All,
We are using IPM (11.1.1.3.0) with Oracle Web Logic Server 10.3.3.0 (Embedde LDAP).
Can you please let me know how to monitor user login sessions (which user login at what time to the system, when he last loggedin) from Web Logic Server ?
Also let me know whether it is possible to create a monthly report of each user login duration and how can I do it.
Thank You>
For Oracle Forms and Reports 11g Release 2 (11.1.2), download Oracle WebLogic Server 11g (10.3.5) from OTN or
>
from http://docs.oracle.com/cd/E23104_01/download_readme_cr2/download_readme_cr2.htm#BABDBHCJ
Oracle Fusion Middleware 11g Software
http://www.oracle.com/technetwork/middleware/weblogic/downloads/index.html -
Error while running application under Oracle Web logic server 10.3
Hi all,
I am using Oracle Web logic server 10.3 to run reports(CR4E).when at the time of adding server in to crystal report application
i had taken Application Development Support Then at run time it is showing following error message
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException---- Error code:-2147467259 Error code name:failed
How to Solve these critical problem
Thanks ,
Amol PatilHi Rahul,
Server logs may contain JDK warnings such as the following if the jdk folder is an mklink.
*[WARN ][osal ] Could not add counter (null)\ for query*
*[WARN ][osal ] Failed to init virtual size counter.*
These are just warnings and do not affect any servers.
Workaround
To suppress these warnings, add the following line in the FRAMEWORK_LOCATION\provisioning\provisioning-plan\fusionapps_start_params.properties file
-Xverbose:osal=error
You can even try the solution provided in below link
http://hirt.se/blog/?p=169
Regards
Fabian -
Hello all, I've just got some feedback from a helful person at http://www.crunge.com/ about the problems concerning RedHat Linux 7.0 and Oracle 8.1.6, this MAY apply to other newer linux distributions.
I've tried, without luck, to install Oracle on RedHat 7.0 and Slackware 7 (the newest one), and it would not install properly, kept stopping right about when the database initialization started at 80% finished install procedure. Sp i wrote them a mail, not expecting an answer really, but I did got an answer, and below is what the person said;
Thanks for the feedback.
Oracle 8.1.6 does not work under Red Hat Linux 7. Yes, that's the problem
that I mentioned in the doc--you get to 80% and the DBCA crashes and the
Oracle executables die.
I've heard, but I haven't tried it myself, that if you install the latest
glibc errata (2.1.94) then the DBCA completes but the Oracle executables
still die. The DBCA problem was apparently a Java issue that is fixed in
the errata. But you're still out of luck since the exes won't work.
It might appear that this is a problem with Red Hat Linux 7. But it appears
that it is a problem with some assumptions that Oracle made, assumptions
that worked with glibc 2.1.3 (the C library included with RHL 6.2) but which
prove false with later glibc versions. As other Linux distributions adopt
the new glibc Oracle will fail to work on them as well.
The best advice I can give at this point is to install and run Oracle on
Red Hat Linux 6.2. Hopefully Oracle will address the glibc issues with the
8.1.7 release.
Chris
p.s. Do not construe this
as an official Red Hat response; I merely forwarded your e-mail from my
home account. This response and the web pages I put up are mine.
So i guess one sollution to the problem is to try a bit older version of the linux you are having problems with (i tried it on RH 6.1 and it worked like a dream).
Another solution can be to wait it out to check and see if Oracle put a fix out here on technet...?
Hope this helps people bogged down in fustration.
Regards
Ole-Henrik Helin
Computer consultant, Mesan AS
Norway<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Graham Strang ([email protected]):
Hey all. Just to let you know that it is entierly possible to get Oracle to install under RedHat 7 and run happily. I have done it on two differenct machines. There is a bit of fooling with glibc to get it to work. However after you do that it works like a dream. VALinux has a work around posted at: http://ftp.valinux.com/pub/support/hjl/glibc/sdk/2.1/
The READEME.Oracle8i has the work around and the two tar balls are the necessary files. I followed the directions to the letter and they worked like a dream. Any questions feel free to drop me a line.
Cheers,
Graham<HR></BLOCKQUOTE>
OK, so i followed your instructions to the letter (several times), sure I get past the 80% bug but now I have new erros coming up , -"Error in invoking target install of makefile /usr/oracle/sqlplus/lib/ins_sqlplus.mk". I get a whole series of these errors for various mk files. These errors apear during the link phase of the install, prior to the glibc workaround I was not getting this. I am a newbie to Linux and trying to give it a serious go but so far I have had little luck
Any help appreciated.
Nick
null -
Problem with RESTful web service
I am running into a problem with Flex Web Services (REST) in trying to get the proper format returned. I can see that the HTTP header is set to
Accept: */*;
rather than
Accept: application/xml
when sending the request. The web service was generated via the web services HTTP data services wizard. I edited it to set the resultFormat to xml
// Constructor
public function _Super_UsersService()
// initialize service control
_serviceControl = new mx.rpc.http.HTTPMultiService();
var operations:Array = new Array();
var operation:mx.rpc.http.Operation;
var argsArray:Array;
operation = new mx.rpc.http.Operation(null, "getUsers");
operation.url = "http://localhost:8888/users";
operation.contentType = "";
operation.method = "GET";
operation.resultFormat = "xml";
//operation.serializationFilter = serializer0;
operation.properties = new Object();
operation.properties["xPath"] = "/";
operation.resultType = valueObjects.Users;
operations.push(operation);
_serviceControl.operationList = operations;
model_internal::initialize();
How does one configure the accept header?Hi,
I have posted a simple application with the RESTful reference:
http://apex.oracle.com/pls/apex/f?p=13758
I can give you full privileges on this so you can look at the WEB service reference. Shall I send to you separately for login user?
It is using the RESTful service: http://apex.oracle.com/pls/apex/nd_pat_miller/demo/employee/{deptno}
This RESTful service tests fine when I test from within the RESTful web service module of the Workspace.
I based this on the Video demo tutorial for RESTful web service that Oracle published for 4.2 release. The video seemed to exclude the {deptno} in the URL but when I try that, it doesn't work either.
This is the error I am getting when I run this on my Apex environment: (it, of course, will not run the web service in the apex.oracle.com environment)
class="statusMessage">Bad Request</span>
</h3>
</div>
</div>
<div id="xWhiteContentContainer" class="xContentWide">
<div class="xWhiteContent">
<div class="errorPage">
<p>
<ul class="reasons"><li class="badRequestReason"><span class="target" style="display:none;">uri</span><span class="reason">Request path contains unbound parameters: deptno</span></li>
</ul>Thanks,
Pat
Edited by: patfmnd on May 8, 2013 3:33 AM -
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 -
Change from jboss to Oracle Web Logic Server
Dear all
Currently, we have used the jboss for start T24 Browser, ATM, ... Now we want to change it to ORACLE WEB LOGIC SERVER
Could you please guide me detail as per-requisist , license , how to configure, where could i download to test it?
ThanksHi,
Please follow the below steps :-
1)In order to install Weblogic it depends on the type of OS bit version.
If you would install it on a 32 bit version then it has embedded JDK in it but if you use 64 bit then you need first either install Sun JDK or Jrockit JDK 64 version and download the Generic jar and install it.
Java 64 bit could downloaded from the below URL :-
http://www.oracle.com/technetwork/java/javase/archive-139210.html
Note :- Java 8 is not supported or certified with Weblogic.So request you to either use Java 6 or Java 7 depending upon the version of Weblogic and its certification.
====
2)Could you please refer to the below certification matrix to verify if the OS is supported with Weblogic on which the configuration would be done :-
Oracle Fusion Middleware Supported System Configurations
Either you could use Weblogic 12C or Weblogic 10.3.1 to 10.3.6 depeding upon your requriement.
3)Please follow the below link where all the Weblogic installers could be downloaded :-
http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
"Accept the License " to download the installers.
4)Regarding License it would be better to check with Oracle SAN for you account or contact Oracle Support depending upon the region you belong to by following the below URL :-
http://www.oracle.com/us/support/contact/index.html
Regards,
Prakash. -
Issue in calling web service from SoapUI 4.0.0 to Oracle web logic server10
Hi All,
I am trying to call a web service from soapUI 4.0.0 to Oracle Web logic server 10.3 in which primavera p6 war file is deployed..
getting an error::*this class does not support saaj 1.3*
setting the following system property in the Weblogic startup script:
-Djavax.xml.soap.MessageFactory=com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl does not work..
setting the following system property in the Weblogic startup script:
-Djavax.xml.soap.MessageFactory=weblogic.xml.saaj.MessageFactoryImpl
even does not work..
how to resolve this error,plz help me its urgent..Have you tried submitting your help request on the SmartBear soapUI forum?
http://www.eviware.com/forum/viewforum.php?f=5
Or if a soapUI Pro user:
http://www.eviware.com/forum/viewforum.php?f=2
Best,
Alex -
List of Problems with new Web Mail
List of Problems with NEW Web Mail :
- At first doesn't open full page message list or retain full page as default setting, have to drag down bar
- Only shows 20 message lines after “pulling down” the divider, screen partially empty until I scroll down. It should show at least 26, preferably all available
- After moving bar, bar moves back up after going back to inbox (not delete message) after reading a message, have to move it down again, and again...
- Doesn't go to next message when delete message on screen is selected, no setting option for default to do this.
- There is a drop down to select which folder to move a selected email to. The initial display shows 7 usable choices, with the usual slider and arrow to show more choices. The space on the slider clearly shows more choices are present (actually about 20 or so are there), but any attempt to use the slider or arrow to see more choices causes the drop-down to instantly disappear. I can't move the selected field with arrow keys either. I can select any of the visible 7 choices, and move an email to only one of the 7. NOTE: This one works in both IE and Firefox, but if Verizon Webmail was fully web standard (see http://en.wikipedia.org/wiki/Web_standards) compliant it would also work in my preferred browser, Mozilla Seamonkey, the direct descendant of the original Mozilla browser. Webmail should be FULLY web standard.
- Occasionally a message will move from inbox to trash, without NO indication or command to move them.
- Emails occasionally flash an error message and simply disappear - not to trash or other findable place, just disappear. No time to read the error message either.
- No way to set a whitelist for supposed spam emails, unless the whitelist for “Blocking” is the same. Very unclear.
- How can I switch my service back to the original, basic, email which works ok? I know it’s still there, since some of my other accounts still access it!!!
This seems my only way of getting this info direclty to the programming staff. If it doesn't actually do this, will SOMEONE PLEASE FORWARD THIS MESSAGE TO THEM !?!
Thanks!vz_ric wrote:
The majority of websites are set up the same way for all browsers. It's the software manufacturers responsibility to make their software compatible with websites, not the other way around. Otherwise everyone who has a website will have to make 10 different sites to work multiple browsers.
Contrarily, it is Verizon's, as well as other companies like Verizon whose customer base uses a wide variety of web browsers, web page designers' responsibility to use only standard W3C-recognized code and not to use non-standard non-W3C-recognized code, e.g., Microsoft's Internet Explorer specific code, when designing their web pages. In my opinion based on my observations, Verizon's web page designers are too often guilty of using IE-specific code. -
Problem with Oracle 11g(32 bit) installation on windows 7 ultimate edition
Hello all,
I have a problem with Oracle 11g(32 bit) installation on windows 7 ultimate edition (32 bit).
I have successfully installed it immediately after OS installation. But today, i have decided to deinstall it and go for Oracle 10g version for 32 bit.
Everything went normal during installation, but i can see the services is not present in services.msc. Also its throwing some exception for dbca, netca
Now i tried to deinstall it and again go for 11g. But even the same story here..
Can anybody give me a solution for this..
-Regards
Rajesh MenonSaqib Alam wrote:
i recently install Oracle 11g R1 on windows 7 ultimate, i installed it and working perfectly.
ur problem is that u install latest version and now u trying to installing old version.
now u need to uninstall 10g and delete oracle from services, if the probleme presist then u should
install fresh windows 7.
Regards
SaqibNo need to install a fresh OS. That's like tearing your house down just because you wired a lamp wrong and blew a circuit breaker.
There are MeaLink notes on how to eradicate an Oracle install from Windows, but it boils down to this:
Stop all Oracle services
In the registery:
- Delete all oracle services from the register (HKLM\SYSTEM\CurrentControlSet
- Delete the entire Oralce folder from HKLM\Software
reboot
Delete the ORACLE_HOME directory and any other Oracle related directories/files. Offhand, it seems like there is an Oracle directory under Program Files.
reboot -
A lot of problems with Oracle BI SEE 11g
I have a lot of problems with Oracle BI SEE 11g
1. I upgraded my BI SEE 10 repository and can it openning in offline mode.
2. I can't deploy my upgraded repository in EM MW Control 11g - when i try to open Farm_bifoundation_domain->Business Intelligence->coreapplication, i get error "Stream closed
For more information, please see the server's error log for an entry beggining with: Server Exception during PPR, #41".
Opening Logs by EM control doesn't work too.
in file middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\logs\AdminServer.log i see this event:
<Error> <HTTP> <oratest.itera.ru> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <b639ac3e56e9a463:bd6fa7f:12ac7271e09:-8000-00000000000009e8> <1283408423378> <BEA-101019> <[ServletContext@329875093[app:em module:/em path:/em spec-version:2.5]] Servlet failed with IOException
java.io.IOException: Stream closed
Have you any ideas?
3. Ok, i taking sample repository and adding a new datasource in it:
Database: Oracle 8i
Connection pool:
Call interface OCI 8i/9i
Data source name:
(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = oraapp) (Port = 1521) ) ) (CONNECT_DATA = (SID = MYSID) ) )
This settings are working fine in BI 10.
In BI 11g i get this funny error: "The connection has failed". I lost my time in attempts to connect to Oracle DB 8, but have not results. After that i hacked button "Query DBMS" at "Features" tab, pressed it and when get error "ORA-03134: Connections to this server version are no longer supported.".
Therefore Oracle 8 DB as datasource not supported. Am i right?
4. In sample repository i added oracle DB 10 as datasource, then added two dual tables and their connection to all layers.
Now i open BI Answers, and trying to create report with one dummy column, Now i have this error:
Error
View Display Error
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 42016] Check database specific features table. Must be able to push at least a single table reference to a remote database (HY000)
SQL Issued: SELECT s_0, s_1 FROM ( SELECT 0 s_0, "ORA10G"."dual"."dummy" s_1 FROM "ORA10G" ) djm
Database features are defaults.
Does anyone solve this problem?Turribeach, Thanks for you time.
1. It was not a question
3. Yes, i have read platforms, but not supported datasources. Now i see, that BI 11g support as datasource Oracle DB 9.2.0.7 or higher. I am sorry.
4. I'm using OCI connection type
Now i recreate Database in Physical schema and answers is showing report data for me! But only from one table, when i use columns from to tables from one datasource, i geting error:
Error View Display Error Odbc driver returned an error (SQLExecDirectW). Error Details Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 46008] Internal error: File server/Utility/Server/DataType/SUKeyCompare.cpp, line 875. (HY000) SQL Issued: SELECT s_0, s_1, s_2 FROM ( SELECT 0 s_0, "Ora10g"."hierarchy_obj_cust_v"."sort_order" s_1, "Ora10g"."NSI_SCHEMA"."SCHEMA_NAME" s_2 FROM "Ora10g" ) djm
Edited by: serzzzh on 03.09.2010 3:44 -
ADF application integrating with Oracle Web Cache
Hello,
I am trying to integrated my ADF 11g application with Oracle Web Cache. I used this link http://andrejusb.blogspot.com/2010/06/oracle-webtier-11g-configuration-for.html for it.
I am able to access my ADF application using webcache port 7785.
I created few caching rules in the Oracle Web Cache. And in the popular request section of the Oracle Web cache i see jpg,png and other image files cached.
But the issue is when the application access images like /testapp/test/images/abc.jpg?_adf.ctrl-state=5b0s7lzfo_29 . I created a caching rule with regular expression ^/testapp/test/images/[A-Za-z0-9_]*\.(gif|jpeg|png|jpg)\?_adf\.ctrl-state=[A-Za-z0-9_]*$.
But when i access the popular request in em i don't see the URL given above as cached. The caching reason it specifies as URL contains query string.
I am not sure if i need to do anything additional to cache these URL's as well.
Thanks!
RamYes that works. But my question is how to cache the urls which has querystring. I was trying to give a regular expression to match the url so that the url which contains parameters like _afrLoop which changes with each HTTP request can also be cached.
-
Problem with oracle.jbo.domain.Date
Hi there,
I've a problem with oracle.jbo.domain.Date,
I'm doing this code (this part of code is used in my Session Attribute Listener):
* This method is used to add the session id in the database, whenever user login
public void attributeAdded(HttpSessionBindingEvent hsbe){
if(!hsbe.getName().equals("user")){
return;
AmLogin am = (AmLogin)Configuration.createRootApplicationModule(
"com.ahm.pdt001.am.AmLogin",
"AmLoginLocal");
try{
hsbe.getSession().setAttribute("login", new Date(new Timestamp(
System.currentTimeMillis())));
am.createLogin(hsbe.getValue().toString(), hsbe.getSession().
getAttribute("login").toString());
} catch(Exception e){
e.printStackTrace();
System.out.println("Error insert data user: " + hsbe.getValue());
} finally{
Configuration.releaseRootApplicationModule(am, true);
Everything is running well in Jdev 10.1.3 (I'm using ADF Faces technology), and I'm trying to deploy it on OC4J 10.1.2 and it works. But it raised an error when this part of code is runned.
--------------caused and error------------------------
hsbe.getSession().setAttribute("login", new Date(new Timestamp(
System.currentTimeMillis())));
And this is an error:
javax.faces.FacesException: #{pdt001.loginAction}: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.<init>(Ljava/sql/Timestamp;)V at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78) at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196) at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20) at com.ahm.filter.AhmFilterSession.doFilter(AhmFilterSession.java:45) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)Caused by: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.<init>(Ljava/sql/Timestamp;)V at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72) ... 23 moreCaused by: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.<init>(Ljava/sql/Timestamp;)V at com.ahm.pdt001.listener.Pdt001AttributeSessionListener.attributeAdded(Pdt001AttributeSessionListener.java:27) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:128) at com.ahm.pdt001.bean.Pdt001Bean.loginAction(Pdt001Bean.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
Does anybody have the same problem like this? I've used the same method in my previous project to create oracle.jbo.domain.Date with current time using java.sql.Timestamp, but I don't know why this error happened.
Thx,
AndreRe: oracle jbo.domain.Date issues in 10.1.3
Sascha -
Please Help: A Problem With Oracle-Provided 'Working' Example
A Problem With Oracle-Provided 'Working' Example Using htp.formcheckbox
I followed the simple steps in the Oracle-provided example:
Doc ID: Note:116534.1
Subject: How to use checkbox in webdb for bulk update using webdb report
However, when I select a checkbox and click on the Update button, I get a "ORA-01036: illegal variable name/number" error. Please advise. This was a very promising feature.
Fred
Below are step-by-step instructions provided by Oracle to create this "working" example:
How to use a checkbox in WEBDB 2.2 report for bulk update.
PURPOSE
This article shows how checkbox can used placed on WEBDB report
and how to use it.
SCOPE & APPLICATION
The following example to guide through the steps to create a working
example of this.
In this example, the checkbox is used to select the records. On clicking
the update button, the pl/sql procedure is called which will update col1 to
the string 'OK'.
After the update is done, the PL/SQL procedure calls the report again.
Since the report only select records where col1 is null, the updated
records will not be displayed when the report is called again.
Step 1 - Create Table
From Sqlplus, log in as scott/tiger and execute the following:
drop table chkbox_example;
create table chkbox_example
(id varchar2(10) not null,
comments varchar2(20),
col1 varchar2(10));
Step 2 - Insert Test Data
From Sqlplus, still logged in as scott/tiger , execute the following:
declare
l_i number;
begin
for l_i in 1..50 loop
insert into chkbox_example values (l_i, 'Comments ' || l_i , NULL);
end loop;
commit;
end;
Step 3 -Create SQL Query based WEBDB report
Logon to a WEBDB site which has access to the database the above tables are created.
Create a SQL based Report.
Name the report :RPT_CHKBOX
The select statement for the report is :
select c.id, c.comments, c.col1,
htf.formcheckbox('p_qty',c.id) Tick
from SCOTT.chkbox_example c
where c.col1 is null
In Advanced PL/SQL, (REPORT, Before displaying the form), put the following code
htp.formOpen('scott.chkbox_process');
htp.formsubmit('p_request','Update');
htp.br;
htp.br;
Step 4 - Create a stored procedure in the database
Log on to the database as scott/tiger and execute the following to create the
procedure.
Note: Replace WEBDB to the appropriate webdb user for your installation.
In my database, I had installed webdb using WEBDB username, hence user webdb owns
the packages.
create or replace procedure chkbox_process
( p_request in varchar2 default null,
p_qty in wwv_utl_api_types.vc_arr ,
p_arg_names in wwv_utl_api_types.vc_arr ,
p_arg_values in wwv_utl_api_types.vc_arr
is
i number;
begin
for i in 1..p_qty.count loop
if p_qty(i) is not null then
begin
update chkbox_example
set col1 = 'OK'
where chkbox_example.id = p_qty(i);
end;
end if;
end loop;
commit;
/* To Call Report again after updating */
SCOTT.RPT_CHKBOX.show
(p_request=>'Run Report',
p_arg_names=>webdb.wwv_standard_util.string_to_table2(' '),
p_arg_values=>webdb.wwv_standard_util.string_to_table2(' '));
end;
Summary
There are essentially 2 main modules, The WEBDB report and the pl/sql procedure (chkbox_process)
A button is created via the advanced pl/sql coding which shows on top of the report. (The
button cannot be placed at the bottom of the report due to the way WEBDB creates the procedure
internally)
When any button is clicked on the report, it calls the pl/sql procedure chkbox_process.
The procedure is called , WEBDB always passes the parameters p_request,p_arg_names and o_arg_values.
p_qty is another parameter that we are passing additionally, This comes from the checkbox created
using the htf.formcheckbox in the report select statement.
The pl/sql procedure calls the report again after processing. This is done to
show how to call the report.
Restrictions:
-The Next and Prev buttons on the report will not work.
So it is important that the report can fit in 1 page only.
(This may mean that you will not select(not ticked) 'Paginate' under
'Display Option' in the WEBDB report. If you do this,
then in Step 4, remove p_arg_names and p_arg_values as input parameters
to the chkbox_process)If your not so sure you can use the instanceof
insurance,
Object o = evt.getSource();
if (o instanceof Button) {
Button source = (Button) o;
I haven't thoroughly read the thread, but I use something like this:if (evt.getSource() == someObjRef) {
// do that voodoo
]I haven't looked into why you'd be creating a new reference...
Maybe you are looking for
-
Error while filling setup tables
Hi All, By mistake my Delta queue for SD Deliveries (2LIS_12_). NOw as a solution we are filling in the setup tables again. But the request for filling up the tables cancelled giving the error "Document number does not exist". I donot know, how to so
-
New iphone 5 dfu or restart problem
Hi all, Ive had my iphone 5 for three days now and its been working fine. Last night woke up in the middle of the night and when I looked at my phone To check the time I noticed the apple logo on the screen. Logo went away and the screen remained on
-
I am having trouble downloading trial version of CS6. none of the applications have been successful thus far. Ive tried illustrator, indesign and photoshop and keep getting the same error: Exit Code: 6 Please see specific errors below for troubleshoo
-
When importing raw photos from Nikon D90 aperture seems to automatically adjust exposure darker. why? How can I stop this?
-
Playback stops after a few seconds in Premiere Pro CS4
I have Adobe Production Premium CS4 for mac and I am having trouble with premiere. Every time, no matter what I do in the preview window or the timeline, if i hit play, the video plays for about 20 frames and the curser jumps back to where it starte