How to configure ONS on JDBC client?
I have configured JDBC client through OracleDataSource to enable implicit cache, fast connection failover and ONS like:
OracleDataSource ods = new OracleDataSource();
ods.setURL( theURL );
ods.setUser( theUser );
ods.setPassword( thePassword );
ods.setConnectionCacheName("foo");
ods.setConnectionCachingEnabled(true);
ods.setFastConnectionFailoverEnabled(true);
ods.setONSConfiguration("nodes=server1.com:6350,server2.com:6350";
// set connection cache properties
ods.setConnectionCacheProperties(cacheProps);
The connection cache works, but following document says:
"Oracle Notification Service (ONS) is configured and available on the node where JDBC is running. JDBC depends on ONS to propagate database events and notify JDBC of them."
http://download.oracle.com/docs/cd/B13789_01/java.101/b10979/fastconnfail.htm
I'm a bit confused. The machine that runs JDBC client, i.e. Java app server, doesn't have oracle db or oracle client installed, and no ORACLE_HOME. Does this indicate the machine that has JDBC client needs to install Oracle client or copy the whole ORACLE_HOME package?
Thanks in advance!
As a side note, I made an interesting discovery last week: the SNMP Service is deprecated in Windows Server 2012. Why would you want to use SNMP on an actual Windows OS though? There are far better ways available to monitor Windows. I'm sure that lines
up with why they deprecated it.
Jason | http://blog.configmgrftw.com
Similar Messages
-
How to configure oracle 10g with clients
Hello sir i am a database user.
I want to install an oracle 10g (Client server architecture)
As i have a licenced Oracle 10g CD Pack.
Pls help me how to install Oracle & how to configure its clients.
As i have a server(running server 2003 ) in it and corresponding clients.
Thanks
Edited by: user10439074 on Oct 30, 2008 4:03 AMRead the documentation (I have given following links assuming you are running a 32 bit architecture)
Server installations:
http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14316%2Ftoc.htm&remark=portal+%28Books%29
Client installations:
http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14312%2Ftoc.htm&remark=portal+%28Books%29
You can find the required books (if not using 32 bit architecture) from
http://www.oracle.com/pls/db102/portal.portal_db?selected=3 -
How to configure for remote JMS client?
I have my own Java JMS test program for performance measurements.
I am using the JNDI and JMS provider functionality of the WebLogic 9.1 app-server but my test program is just pure JMS 1.02 sender/receiver clients - ie it is NOT part of, or deployed as a J2EE application.
SINGLE MACHINE TEST
===================
In a single machine environment I was able to
- configure a JMSServer
- configure a JMSSystemModule
- configure resources for ConnectionFactories and Queue and Topics
I then made what I believe to be a 'standalone' application module copied from some mysystemmodule-jms.xml and with that I somehow worked out how to deploy it using the weblogic.Deployer tool.
The deployment apparently set up the JNDI and my JMS client could gain access to the administered objects and do what it does.
Everything works.
TWO MACHINE TEST
================
I now have a second machine.
I want to put my JMS sender client on this new machine and I want the JMS server and JMS receiver client to be unchanged from the SINGLE MACHINE TEST.
But I really don't know quite how to proceed from here...
Do I need to install the WebLogic app-server on the sender machine or is the weblogic.jar all I need?
What is necessary configuration for JNDI access on the sender machine?
Can I in fact use my original SINGLE MACHINE server unchanged as I am hoping?
I don't think I want a "thin" client because I read that performance is impacted (and these are performance tests)
Remember this is NOT a J2EE application. There is no MDB; no client-container; no descriptors etc. Maybe that makes it more complicated - I don't know.
Sorry for such basic questions but if somebody can just point me to an appropriate example or tutorial it could save me days...
Thankyou.Hi,
My problem is on similar lines. I have an applet based UI working on RMI/t3 protocol.
I am using weblogic 9.2 as my app server.
When my applet is executed on JRE 1.5x it works fine.
But when I use JRE1.4x it gives the following exception
java.lang.NoClassDefFoundError: javax/management/InvalidAttributeValueException
at weblogic.rmi.internal.Stub.<clinit>(Stub.java:21)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at weblogic.rmi.internal.StubInfo.class$(StubInfo.java:34)
at weblogic.rmi.internal.StubInfo.<clinit>(StubInfo.java:34)
at java.lang.Class.forName0(Native Method)
I have analyzed the reason for this.
the class javax/management/InvalidAttributeValueException was included in java 1.5 and above. So JRE 1.4 does not have it.
In previous versions of weblogic this class was a part of their 'weblogic.jar' file and in weblogic 9.2 it is not a part of weblogic.jar file so when I am using JRE1.4 and weblogic 9.2 then it obviously does not find this class hence the above exception.
I tried to put this all together and made custom made client jar file incliding the necessary classes. I was able to get throght this exception only land up in following exception.
java.lang.VerifyError: class weblogic.utils.classloaders.GenericClassLoader overrides final method .
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at weblogic.jndi.WLInitialContextFactoryDelegate.<clinit>(WLInitialContextFactoryDelegate.java:204)
at weblogic.jndi.spi.EnvironmentManager$DefaultFactoryMaker.<clinit>(EnvironmentManager.java:26)
at weblogic.jndi.spi.EnvironmentManager.getInstance(EnvironmentManager.java:48)
at weblogic.jndi.Environment.getContext(Environment.java:307)
at weblogic.jndi.Environment.getContext(Environment.java:277)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
I really need to support clients using Jre 1.4 and Jre 1.5
I will really appreciate any help on this one.
Please advise.
Thank you all. -
Win7 x64 - how to configure 32-bit Instant Client
I am having difficulty getting Instant Client to establish an ODBC link to Excel 2007, a 32-bit app. My OS is Windows 7 Professional x64 on a Windows 2008 domain.
I installed Oracle 11g Client 64-bit (11.2.0.3.0), Instant Client Basic 64bit, and Instant Client ODBC 64bit. Path and TNSNAMES parameters were set correctly, and I was able to use Windows Admin Tools to successfully establish a connection to PowerSchool's Oracle database. So far, so good.
When I tried to use this connection in Excel 2007, I got an error message stating that "the specified DSN contains an architecture mismatch between the Driver and Application." More research led me to conclude that I need to install 32-bit Instant Client Basic and ODBC.
So I downloaded the appropriate versions of both of these, installed it into c:\ora\<username>\product\11.2.0\client32 (a sibling to the 64-bit client_2 folder), and now I'm stumped. Running windows\sysWOW64\odbcad2.exe, I see what I think is the 64-bit client, which gives an error message about incompatible architecture (again, 64 vs 32 bit).
What parameters need to be set with odbcad2.exe, and how? Do I need to run the odbcconf.exe program in sysWOW64? I tried adding the ...\client32 folder to PATH; no effect. Is this described in excruciating detail anywhere?Ferdimar,
This problem sounds like the server is incorrectly configured. You can try verifying that it is setup correctly for the TNS listener. -
How to configure Multiple PPTP VPN Clients on cisco 3g supported Router
I want the router to be a PPTP VPN client to 2 independent PPTP servers, both are in different cities in Cisco routers. I have tested with one on cisco 1841 aqnd its working fine; but when I add the 2nd, its using vpdn-group 1 and therefore connecting to the wrong PPTP server:
here is the config for the one that works:
vpdn-group 1
request-dialin
protocol pptp
rotary-group 0
initiate-to ip xxx.xxx.xxx.xxx
interface Dialer0
mtu 1450
ip address negotiated
ip pim dense-mode
ip nat outside
ip virtual-reassembly
zone-member security private
encapsulation ppp
ip igmp query-interval 125
dialer in-band
dialer idle-timeout 0
dialer string 123
dialer vpdn
dialer-group 1
no peer neighbor-route
no cdp enable
ppp pfc local request
ppp pfc remote apply
ppp encrypt mppe auto
ppp authentication ms-chap-v2 ms-chap eap chap pap callin
ppp eap refuse
ppp chap hostname xxx@xxx
ppp chap password 7 xxxpassword
But if I create a vpdn-group 2 and a Dialer1 interface, with dialer-group 2, its still attempting to connect to the IP in vpdn-group 1 - how do I get it to use the 2nd vpdn-group, or how do I make this work? and which cisco 3G Router you prefer because these are remote sites and only 3G Internet service is available.I want the router to be a PPTP VPN client to 2 independent PPTP servers, both are in different cities in Cisco routers. I have tested with one on cisco 1841 aqnd its working fine; but when I add the 2nd, its using vpdn-group 1 and therefore connecting to the wrong PPTP server:
here is the config for the one that works:
vpdn-group 1
request-dialin
protocol pptp
rotary-group 0
initiate-to ip xxx.xxx.xxx.xxx
interface Dialer0
mtu 1450
ip address negotiated
ip pim dense-mode
ip nat outside
ip virtual-reassembly
zone-member security private
encapsulation ppp
ip igmp query-interval 125
dialer in-band
dialer idle-timeout 0
dialer string 123
dialer vpdn
dialer-group 1
no peer neighbor-route
no cdp enable
ppp pfc local request
ppp pfc remote apply
ppp encrypt mppe auto
ppp authentication ms-chap-v2 ms-chap eap chap pap callin
ppp eap refuse
ppp chap hostname xxx@xxx
ppp chap password 7 xxxpassword
But if I create a vpdn-group 2 and a Dialer1 interface, with dialer-group 2, its still attempting to connect to the IP in vpdn-group 1 - how do I get it to use the 2nd vpdn-group, or how do I make this work? and which cisco 3G Router you prefer because these are remote sites and only 3G Internet service is available. -
BI JDBC - How to configure Helper.jdbc.properties?
Hi,
I am little bit confused regarding where to configure
Helpers.jdbc.properties.
In a new project I have placed the Helpers.java and
exported it as a par.And from the .PAR i extracted the
jar file and included it in my JDBC project.
Pl. suggest how to configure the Helper.jdbc.properties.
regards
MrutyunjayFriends,
Would be thankful for any hints.
Thanks & Regards
Mrutyunjay -
How to TNS configure an Instant TNS Client ?
Hi,
anybody arround who knows how to configure an Instant Client only ?
I ve got Crystal Reports 2008 SP2 Client ( basically it doesn't matter what kind of Client).
I want to run from the Crystal Reports 2008 SP2 Client an Oracle/TNS/Thick connection
to a Oracle Database Listener/Service/Server on an other host.
I have got the "Version 11.1.0.7.0 Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications
Package ":
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
I set the PATH to the required directory.
The Crystal Reports 2008 SP2 Client requests for the connection an Servicename, Username and Password.
The Crystal Reports 2008 SP2 Client ( or the client) comes up of course with a ORA-12154 for the Servicename.
I understand quite that the Servicename of the Crystal Reports 2008 SP2 Client must be resolved on the Client
by means of TNS to a hostname:port:Service to identify the Oracle Database Listener/Service/Server on the other host.
But how and where to setup TNS Nameing with "Version 11.1.0.7.0 Instant Client Package Version 11.1.0.7.0 Instant Client Package "?
Thank You
Martin SautterSee the Instant Client FAQs :
http://www.oracle.com/technology/tech/oci/instantclient/ic-faq.html
To cut al long story short you need a tnsnames.ora - as you do this for a full client. Then set TNS_ADMIN environment variable to the location (full path) of the file.
Werner -
How to configure dhcp client identifier
Hi Everybody,
The DHCP client ID is an id that is unique for DHCP clients at least in the same subnet. Usually the client uses MAC-address as Client-Identifier in the DHCPDISCOVER message. The Client-Identifier may be different other than MAC-Address, For example a FQDN name, as per the RFC 2132 Ref, (code 61).+_
Usaually, we use the following to bind the ip address based on MAC-address
pntadm -r SUNWfiles -p /var/dhcp -A 10.42.32.86 -i '0:3:ba:a5:a9:93' -a 10.42.32.80
At server side, I am using the following for specifying the FQDN name.
pntadm -r SUNWfiles -p /var/dhcp -A 10.42.32.86 -i 'one.atr.com' -a 10.42.32.80
and at client side, I am inserting the following entry in the /etc/default/dhcpagent file
CLIENT_ID='one.atr.com'
But this is not working. What I am doing wrong.
+1. At the server side, then how to assign the ip addresses to the clients , if the Client-Identifier is FQDN name in the DHCPDISCOVER message other than MAC-Address.+
+2. How to configure the client-identifier as FQDN name at client side.+
Please help me,
Thanks Inadvance,
Mummaneni.Sandman,
Here is an example of a router acting as a DHCP server. Please remember that you have to exclude IP addresses that you don't want to lease out.
ip dhcp pool example
import all
network 192.168.1.0 255.255.255.0
dns-server 1.2.3.4
default-router 192.168.1.1
ip dhcp excluded-address 192.168.1.1 192.168.1.149
ip dhcp excluded-address 192.168.1.200 192.168.1.254
HTH,
Mark -
How to create multiple pof configuration files for c# client
Is there a way to have multiple pof files for c# coherence client?
Can I create a file called my-pof-config.xml with the following line...
<pof-config xmlns="http://schemas.tangosol.com/pof">
<user-type-list>
<include>assembly://Coherence/Tangosol.Config/coherence-pof-config.xml</include>
<include>file://pof-config.xml</include>
and here is what pof-config.xml file look like
<?xml version="1.0" encoding="UTF-8"?>
<pof-config xmlns="http://schemas.tangosol.com/pof">
<user-type-list>
In my C# visual studio project, this is where I load my-pof-config.xml in app.config
<coherence>
<cache-factory-config>coherence.xml</cache-factory-config>
<cache-config>coherence-cache-config.xml</cache-config>
<pof-config>my-pof-config.xml</pof-config>
</coherence>
and this is what I saw in the log...
2012-02-23 14:35:35,529 DEBUG Coherence (null) - 2012-02-23 14:35:35.529 level(thread=System.Threading.Thread): Loaded POF configuration from "FileResource(Uri = file://my-pof-config.xml, AbsolutePath = D:\worktrees\ads\mainline\v2\ads\demos_cs\build\my-pof-config.xml)"
2012-02-23 14:35:35,545 DEBUG Coherence (null) - 2012-02-23 14:35:35.545 level(thread=System.Threading.Thread): Loaded included POF configuration from "EmbeddedResource(Uri = assembly://Coherence/Tangosol.Config/coherence-pof-config.xml, AbsolutePath = assembly://Coherence/Tangosol.Config/coherence-pof-config.xml)"
2012-02-23 14:35:35,623 DEBUG Coherence (null) - 2012-02-23 14:35:35.623 level(thread=ExtendTcpCacheServiceCSharp:TcpInitiator): Loaded POF configuration from "FileResource(Uri = file://my-pof-config.xml, AbsolutePath = D:\worktrees\ads\mainline\v2\ads\demos_cs\build\my-pof-config.xml)"
I don't see pof-config.xml is loaded at "Loaded included POF configuration....". How do I get around it so I can load multiple pof configuration files for c# client?Hi,
Not sure about C# but I would suggest try removing file:// from
<include>file://pof-config.xml</include>and keep pof-config.xml and my-pof-config.xml in the same directory.
Hope this helps!
Cheers,
NJ -
How to configure SNMP on all managed client using SCCM 2012 SP1
hi ,
do you know How to configure SNMP on all managed client using SCCM 2012 SP1?As a side note, I made an interesting discovery last week: the SNMP Service is deprecated in Windows Server 2012. Why would you want to use SNMP on an actual Windows OS though? There are far better ways available to monitor Windows. I'm sure that lines
up with why they deprecated it.
Jason | http://blog.configmgrftw.com -
How to configure MI client in NWDS
How to configure MI client in NWDS
MI home folder
MI servername: xxxx
MI webapps TCP port:
AWT Runtime
MI home folder:You need not install Tomcat, You have to Install MI client specific to your release.
<<DO I HAVE TO INSTALL THE MDK PLUGINS OR IT IS INSTALL BY DEFAULT ?>>
If you have installed NWDS, then by default it consists of MDK also. You have to just configure the MDK Plugin's to work.
<<where can i download the file that you mentioned in the diagram
c:\share\MI\MIM2.5SP09JSP>>
The above path mentioned is just an example, and it need not be same for all.
Its usually the MI home folder path (You will get this folder once you install the MI client).
To find the Setup.exe of MI client you can refer to this Link
Re: need path to download mi client
Best Regards,
Lakshmi -
How to configure JDBC
Hi Yong,
You need JDBC driver(classes12.zip and nls_charset12.jar) and jdk to run JDBC. If you have Oracle database installed on your system then the JDBC driver will be preset at <ORACLE_HOME>/jdbc/lib where <ORACLE_HOME> is d:\oracle\and if you have OC4J installed the it will be preset at <OC4J_HOME>/jdbc/lib where <OC4J_HOME> is d:\oc4j
There are huge set of samples in OTN for JDBC at the following location.
http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/content.html
This collection of samples consists of basic samples to advanced samples.
Have a look at them.
Regards,
Anupama Majety
OTN @ IDC team. -
Repost : How to configure weblogic client in IBM JRE
Still haven't gotten this to work.
I'm trying to get a java client (Lotus Domino 6.0.1 java agent) app to
connect to
Weblogic 6.1 sp3.
Both (Domino / weblogic) run fine separately (on different machine both
win2k sp3).
Domino is running with IBM JRE version :
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM Windows 32 build cn131-20020710 (JIT
enabled: jitc))
I put weblogic.jar in the app's classpath but when i try to get an
InitialContext, I get the stack trace shown below. Anybody know how to
solve this this error?
Or how to configure a weblogic client (which normally expects a SUN JRE) to
use the IBM JRE.
Thanks.
04/04/2003 16:04:35 HTTP JVM: weblogic.utils.AssertionError: ***** ASSERTION
FAILED *****[ Assertion violated ]
04/04/2003 16:04:35 HTTP JVM: at weblogic.utils.Debug.assert(Debug.java:74)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:123)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:106)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.rmi.internal.ClientRuntimeDescriptor.computeInterfaces(ClientRuntim
eDescriptor.java:218)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.rmi.internal.ClientRuntimeDescriptor.intern(ClientRuntimeDescriptor
.java:111)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.jndi.WLInitialContextFactoryDelegate.<clinit>(WLInitialContextFacto
ryDelegate.java:154)
04/04/2003 16:04:35 HTTP JVM: at java.lang.Class.forName1(Native Method)
04/04/2003 16:04:35 HTTP JVM: at java.lang.Class.forName(Class.java:142)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
ory.java:145)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.InitialContext.init(InitialContext.java:218)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.InitialContext.<init>(InitialContext.java:174)
04/04/2003 16:04:35 HTTP JVM: at
com.approach.domino.util.EJBHomeFactory.<init>(EJBHomeFactory.java:29)
04/04/2003 16:04:35 HTTP JVM: at
com.approach.domino.util.EJBHomeFactory.getFactory(EJBHomeFactory.java:49)
04/04/2003 16:04:35 HTTP JVM: at
com.approach.domino.util.EJBHomeFactory.lookUpHome(EJBHomeFactory.java:56)
04/04/2003 16:04:35 HTTP JVM: at WQO.NotesMain(WQO.java:13)
04/04/2003 16:04:35 HTTP JVM: at lotus.domino.AgentBase.runNotes(Unknown
Source)
04/04/2003 16:04:35 HTTP JVM: at
lotus.domino.NotesThread.run(NotesThread.java:208)
04/04/2003 16:04:35 HTTP JVM: weblogic.utils.AssertionError: ***** ASSERTION
FAILED *****[ Assertion violated ]
04/04/2003 16:04:35 HTTP JVM: at weblogic.utils.Debug.assert(Debug.java:74)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:123)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:106)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.rmi.internal.ClientRuntimeDescriptor.computeInterfaces(ClientRuntim
eDescriptor.java:218)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.rmi.internal.ClientRuntimeDescriptor.intern(ClientRuntimeDescriptor
.java:111)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.jndi.WLInitialContextFactoryDelegate.<clinit>(WLInitialContextFacto
ryDelegate.java:154)
04/04/2003 16:04:35 HTTP JVM: at java.lang.Class.forName1(Native Method)
04/04/2003 16:04:35 HTTP JVM: at java.lang.Class.forName(Class.java:142)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
ory.java:145)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.InitialContext.init(InitialContext.java:218)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.InitialContext.<init>(InitialContext.java:174)
04/04/2003 16:04:35 HTTP JVM: at
com.approach.domino.util.EJBHomeFactory.<init>(EJBHomeFactory.java:29)
04/04/2003 16:04:35 HTTP JVM: at
com.approach.domino.util.EJBHomeFactory.getFactory(EJBHomeFactory.java:49)
04/04/2003 16:04:35 HTTP JVM: at
com.approach.domino.util.EJBHomeFactory.lookUpHome(EJBHomeFactory.java:56)
04/04/2003 16:04:35 HTTP JVM: at WQO.NotesMain(WQO.java:13)
04/04/2003 16:04:35 HTTP JVM: at lotus.domino.AgentBase.runNotes(Unknown
Source)
04/04/2003 16:04:35 HTTP JVM: at
lotus.domino.NotesThread.run(NotesThread.java:208)Still haven't gotten this to work.
I'm trying to get a java client (Lotus Domino 6.0.1 java agent) app to
connect to
Weblogic 6.1 sp3.
Both (Domino / weblogic) run fine separately (on different machine both
win2k sp3).
Domino is running with IBM JRE version :
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM Windows 32 build cn131-20020710 (JIT
enabled: jitc))
I put weblogic.jar in the app's classpath but when i try to get an
InitialContext, I get the stack trace shown below. Anybody know how to
solve this this error?
Or how to configure a weblogic client (which normally expects a SUN JRE) to
use the IBM JRE.
Thanks.
04/04/2003 16:04:35 HTTP JVM: weblogic.utils.AssertionError: ***** ASSERTION
FAILED *****[ Assertion violated ]
04/04/2003 16:04:35 HTTP JVM: at weblogic.utils.Debug.assert(Debug.java:74)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:123)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:106)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.rmi.internal.ClientRuntimeDescriptor.computeInterfaces(ClientRuntim
eDescriptor.java:218)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.rmi.internal.ClientRuntimeDescriptor.intern(ClientRuntimeDescriptor
.java:111)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.jndi.WLInitialContextFactoryDelegate.<clinit>(WLInitialContextFacto
ryDelegate.java:154)
04/04/2003 16:04:35 HTTP JVM: at java.lang.Class.forName1(Native Method)
04/04/2003 16:04:35 HTTP JVM: at java.lang.Class.forName(Class.java:142)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
ory.java:145)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.InitialContext.init(InitialContext.java:218)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.InitialContext.<init>(InitialContext.java:174)
04/04/2003 16:04:35 HTTP JVM: at
com.approach.domino.util.EJBHomeFactory.<init>(EJBHomeFactory.java:29)
04/04/2003 16:04:35 HTTP JVM: at
com.approach.domino.util.EJBHomeFactory.getFactory(EJBHomeFactory.java:49)
04/04/2003 16:04:35 HTTP JVM: at
com.approach.domino.util.EJBHomeFactory.lookUpHome(EJBHomeFactory.java:56)
04/04/2003 16:04:35 HTTP JVM: at WQO.NotesMain(WQO.java:13)
04/04/2003 16:04:35 HTTP JVM: at lotus.domino.AgentBase.runNotes(Unknown
Source)
04/04/2003 16:04:35 HTTP JVM: at
lotus.domino.NotesThread.run(NotesThread.java:208)
04/04/2003 16:04:35 HTTP JVM: weblogic.utils.AssertionError: ***** ASSERTION
FAILED *****[ Assertion violated ]
04/04/2003 16:04:35 HTTP JVM: at weblogic.utils.Debug.assert(Debug.java:74)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:123)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:106)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.rmi.internal.ClientRuntimeDescriptor.computeInterfaces(ClientRuntim
eDescriptor.java:218)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.rmi.internal.ClientRuntimeDescriptor.intern(ClientRuntimeDescriptor
.java:111)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.jndi.WLInitialContextFactoryDelegate.<clinit>(WLInitialContextFacto
ryDelegate.java:154)
04/04/2003 16:04:35 HTTP JVM: at java.lang.Class.forName1(Native Method)
04/04/2003 16:04:35 HTTP JVM: at java.lang.Class.forName(Class.java:142)
04/04/2003 16:04:35 HTTP JVM: at
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
ory.java:145)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.InitialContext.init(InitialContext.java:218)
04/04/2003 16:04:35 HTTP JVM: at
javax.naming.InitialContext.<init>(InitialContext.java:174)
04/04/2003 16:04:35 HTTP JVM: at
com.approach.domino.util.EJBHomeFactory.<init>(EJBHomeFactory.java:29)
04/04/2003 16:04:35 HTTP JVM: at
com.approach.domino.util.EJBHomeFactory.getFactory(EJBHomeFactory.java:49)
04/04/2003 16:04:35 HTTP JVM: at
com.approach.domino.util.EJBHomeFactory.lookUpHome(EJBHomeFactory.java:56)
04/04/2003 16:04:35 HTTP JVM: at WQO.NotesMain(WQO.java:13)
04/04/2003 16:04:35 HTTP JVM: at lotus.domino.AgentBase.runNotes(Unknown
Source)
04/04/2003 16:04:35 HTTP JVM: at
lotus.domino.NotesThread.run(NotesThread.java:208) -
How to configure Team explorer 2010 command-line tool in Mac x os.
Hot to configure shell or system path to include the folder to which (TF client) unzipped archive available. I am new to Mac X OS. Please help.Dmitry,
Thanks for the great writeup!
I think I've got my universal instant client libraries built correctly.
I too am using MacBook Pro but I'm getting stuck at building the 32 bit oci8.so
First problem is my pecl download (ver 1.4.1) did not contain a "configure" file so ./configure failed.
I used configure from /sw/....... to try to continue.
Second problem. Using existing configure from /sw/.... I used an appropriate variation of your example command
(./configure --with-oci8=instantclient,/usr/local/oracle/instantclient_10_2 && make).
Things look like everything ran OK but The output does NOT include an oci8.so file
So I guess my question is: Which "configure" should I be using? And if it is not the one on the system under /sw/...
where would I get it since it doesn't come in the pecl download? -
How to configure Webform60 Clients.
My setup:
Winnt40+sp4
Oas407
Jinitiator1.1.7.11
IE5.0
I have do everything said in Developer forms60 Clients setup
manual.But I can only call the web form in Appletviewer
window,And it give me an Error message:
"FRM-99999:A network error occurred,the client will not be able
to continue.
Datails...
Java Exception:
java.net.SocketException:Connection reset by peer.
I can not see the web Form in the Browser,it tell me that
"applet alrady iniatialized".But I can show the online demo of
Oracle Web forms on www-tools.us.oracle.com web site.
Please help me to tell me more detail information about how
to configure the web foem server 6.0. Thank you very much!
Jims ma
1999-07-12
nullhttp://www.macworld.co.uk/macsoftware/masterclass/index.cfm?articleid=383&pagtyp e=allchandate describes how my client's were able to automatically configure themselves to use the Leopard Server before. Why does it not work with Snow Leopard Server and Leopard clients?
Maybe you are looking for
-
Problem in connecting to exchange server
I have generated a certificate as specified in the link http://www.dylanbeattie.net/docs/openssl_iis_ssl_howto.html. It generates an X.509 certificate. I installed this certificate on pop3 server on Microsoft exchange server. I also installed the cer
-
Why doesn't free space increase when I delete songs?
I have a 3rd gen iPod Nano that I have had for 4+ years. I had a problem with it last week - I was no longer able to copy songs to it, so I did a restore and then reloaded a bunch of songs. This worked fine. Now what I find, though, is that when I de
-
I have a ipod 3rd generation when i try to update it its says i have the latest version
i have a ipod 3rd generation when i try to update it its says i have the latest version
-
How to increase open file desciptor value permanently in solaris 5.8
I am getting some strange errors in Oracle alert log advising me to increase the open file descriptors limit..I believe ulimit is only hold values until the system is rebooted..How do I make this permanant ?
-
Owb mapping result in excel sheet
hi , can anyone help me to know how i can get owb mapping running status & result in excel sheet. I have completely forget it. kindly help. rgds, pc