Loading network on Weblogic 10
which driver should i use when i define data source?
i have some options:
*BEA's Oracle Driver (Type 4 XA) Versions:9.0.1,9.2.0,10,11
*BEA's Oracle Driver (Type 4) Versions:9.0.1,9.2.0,10,11
*Oracle's Driver (Thin XA) Versions:9.0.1,9.2.0,10,11
*Oracle's Driver (Thin) Versions:9.0.1,9.2.0,10,11
DataDirect's Oracle Driver (Type 4 XA) Versions:9.0.1,9.2.0,10,11
DataDirect's Oracle Driver (Type 4) Versions:9.0.1,9.2.0,10,11
Oracle's Driver (OCI XA) Versions:9.0.1,9.2.0,10,11
Oracle's Driver (OCI) Versions:9.0.1,9.2.0,10,11
i chose *Oracle's Driver (Thin) Versions:9.0.1,9.2.0,10,11
but i have problem. Reading and writing to database works fine but when i tried to load network(oracle spatial)
Context ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup("jdbc/demoTspDS");
conn = ds.getConnection();
mapNetwork = NetworkManager.readNetwork(conn, "DEMO_TSP");
i got exception:
####<2009-05-11 16:36:55 CEST> <Warning> <HTTP> <marchi-alfa> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1242052615240> <BEA-1
01162> <User defined listener pl.alfaprojekt.view.listeners.NetworkLoader failed: java.lang.ExceptionInInitializerError.
java.lang.ExceptionInInitializerError
at pl.alfaprojekt.view.listeners.NetworkLoader.contextInitialized(NetworkLoader.java:11)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:465)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1784)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
java.lang.ClassCastException: weblogic.jdbc.wrapper.Struct_oracle_sql_STRUCT cannot be cast to oracle.sql.STRUCT
at oracle.spatial.network.NetworkAdapterSDO.readNodeMap(NetworkAdapterSDO.java:1186)
at oracle.spatial.network.NetworkAdapterSDO.readNodeMap(NetworkAdapterSDO.java:1437)
at oracle.spatial.network.NetworkAdapterSDO.readNetwork(NetworkAdapterSDO.java:773)
at oracle.spatial.network.NetworkAdapterSDO.readNetwork(NetworkAdapterSDO.java:547)
at oracle.spatial.network.NetworkManager.readNetwork(NetworkManager.java:172)
at pl.alfaprojekt.network.DemoTspNetwork.<init>(DemoTspNetwork.java:39)
at pl.alfaprojekt.network.DemoTspNetwork.<clinit>(DemoTspNetwork.java:24)
at pl.alfaprojekt.view.listeners.NetworkLoader.contextInitialized(NetworkLoader.java:11)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:465)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1784)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Hi Jack
Could you help me one more time?
Re: Request string is too long for Oracle Maps' non-AJAX remoting
Similar Messages
-
"Unable to load network list" instead of "Hello..."
I am using my 3G iPhone for more than 6 months.
Latest OS 2.2.1, and previous versions are causing a lot of headaches when I switching my iPhone upon arrival.
I am travelling a lot in Europe, every day; I have a Company phone, old Nokia 6300 and my private iPhone 3G.
Nokia connects network in one minute (average), but iPhone...
Instead of "Hello" I am getting always "Unable to load network list" when I switching OFF Airplane mode. There is only one button active: "Automatic" mode of network browsing. When "Automatic" is pressed, iPhone searches network for 3 to 5 minutes and lists the networks available in that specific region.
There are no automatic attempts to connect to any of these listed networks, so I need to select one of the listed networks manually, tap it again, and after some minute or two I am getting service...
I was trying different combinations of 3G and Roaming modes, but did not have any success...
All these headaches started when I performed first OS update.
I am not sure the factory OS version (probably 2.0.2) when I bought it, but only that one was free of the Carrier network browsing bugs.
I am becoming tired of tapping and tapping trying to force to connect to network my iPhone… I tried numerous times OS Restore with iTunes, but no help…
I found a topic in forum: http://discussions.apple.com/thread.jspa?threadID=1671274&tstart=270
But his topic has been archived - replies are not allowed, This question is not answered.
Any ideas?- and does anybody have this or similar problem like mine?
Jonas Jonikas
Vilnius,
LithuaniaHi there,
I had kind of the same thing where i would arrive abroad or back in the UK after being abroad and my iPhone would take 20-30 minutes to get a signal and when loading up network selection would always get unable to display message.
Had phone replaced by apple and the issue hasnt occured in the once ive been abroad since - connected pretty much straight away.
Just wondering if you are having the issue of delayed text messages where people text you and sometimes it takes 30mins-few hours to get delivered to your phone. Or the issue of people sometimes call you and you good signal and it goes straight to voicemail?? -
I Just updated my iPhone 4 to 7.1 oS. I am unable to connet to any network. I keep getting the "searching" No Service" messages on the top let corner of the screen. I also get a notice that says " "Unable to load network list. I need help... How can one resolve this issue?
No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that. -
My iphone 3g is keep searching for network, and the carrier unable to load network list , wat shall i do?
Yes, that kind of tallies with my experience ... after 3 days of useless iPhone 3G (BTW, killing 3G on the phone and relying on acquiring AT&T 2G didn't help, it still locked onto T-Mobile with the result that it was draining battery and rebooting frequently!), I ended up visiting the local Apple Store.
Although the visit was not to resolve the iPhone problem, whilst there I happened to cycle the phone and due to the store having a local AT&T cell, the strength of the local signal meant that I finally re-acquired a AT&T 3G signal ... once locked on again the phone was fine for the next day.
Nett outcome of this is that I would prefer to lay most of the blame for this debacle on the poor state of 3G support both by AT&T (and US carriers in general), maybe exacerbated in my case by two related events (the local DNC in Denver, which saturated local AT&T cells including 3G and a proliferation of v2.0.0 and v2.0.1 firmwares on iPhones in town, which dragged cell coverage into the weeds).
It would be nice for future sanity if AT&T and T-Mobile could at least resolve the ability to acquire/release the iPhone gracefully, otherwise I'll be very sceptical of travelling back to the US with only my iPhone, as a self-employeed consultant I can't afford to be out of touch for three days again! -
IPad 1 3G in India - Unable to load network list
I am using iPad 1 - 3G in India (Pune) for past a few months. It was working properly using a cropped BSNL 3G sim. Even in roaming I had no issues.
A few days back it first started showing only EDGE instead of 3G and now it has stopped communicating using cellular network. I get the error that "Unable to load network list". WiFi works fine. Now I have upgraded to iOS 4.3.5 (that is after the 3G stopped working).
I was under the impression that iPads are not bound to any cellular provider but there seems to be something that I do not know about Apple devices. I am new to Apple devices and have not used any before this iPad.
Any help will be appreciated.Hi there,
I had kind of the same thing where i would arrive abroad or back in the UK after being abroad and my iPhone would take 20-30 minutes to get a signal and when loading up network selection would always get unable to display message.
Had phone replaced by apple and the issue hasnt occured in the once ive been abroad since - connected pretty much straight away.
Just wondering if you are having the issue of delayed text messages where people text you and sometimes it takes 30mins-few hours to get delivered to your phone. Or the issue of people sometimes call you and you good signal and it goes straight to voicemail?? -
HT1937 iPhone 4 display "unable to load network list"
Hi Guys,
I have a iPhone 4 from Singapore and it was working perfectly fine. I came to US few days ago and get a SIM card from T-mobile. My phone can't seems to detect any network with the new SIM card. I went down to T-mobile and they replace a new SIM for me but the problem still persist. The top left corner of the phone display "No service", then I went into Settings>Carrier I tried to turn off the automatic Network selection and a prompt "Unable to load network list" appear, after I select "OK" the automatic setting switch back to ON.
I look around on this site and tried a few recommendation, none work so far. Things I tried:
- Restore to the phone via iTunes and restore back up
- Restore to the phone via iTunes and set up as new phone
- Settings>General>Reset>Reset Network Settings
- Switched off the phone and connect to my laptop with iTunes already running
- With my phone connected to iTunes, I switched it off and on
My wifi connection is fine, and I tested my SIM card in my friend's phone it works fine too.
My phone profiles under About:
- Network: Not available
- Version: 5.1.1 (9B208)
- Carrier: Carrier 12.0
- Modem Firmware: 04.12.01
Anyone can give me advices on how to get my network connection back?
Thank you!
PS: I had never jailbreak my phone before.I would try reseating the SIM and if that does not work, replace the SIM.
-
IPhone 4 Unable to Load Network List & No SIM Connectivity Problems
Hi,
I have an iPhone 4. It has been working fine. Only recently, the phone goes off network giving an error message saying that the phone has lost the network. When trying to update the carrier list, the message "Unable to Load Network List" pops up. A while later, the phone sometimes gives a message: No SIM.
I tried restoring the phone's original settings and the problem is still there.
Any recommendations?
ThanksI would try reseating the SIM and if that does not work, replace the SIM.
-
Help "unable to load network list"?
After updating my iphone 3gs to ios 4.3.3 my phone's cellular serice does'nt work anymore, when I go to Setting>Carrier it say's "Unable to load network list". But anything else works fine.
Please guysss if someone knows how to fix this please let me know..Sorry not sure why your new sim card isn't supported...not sure if it helps but I had my laptop connected to wifi at the time also, but I don't think it should matter. Its worth a try connecting to internet with ITunes on, connect your phone and then turn it on and see what happens.
-
Iphone 3gs unable to load network list
not jailbroken or anything like that...baseband is 05.16.05..just keeps saying searching and then unable to load network list...updated to ios5 and still having same problem...
carrier bell 11.0
model MB716LL
version 5.0(9A334)
please helpTo make sure it is not firmware related, set it up as new device: How to set up your iPhone or iPod touch as a new device without using a backup.
If still no change after that, you should get it serviced or looked at by visiting an Apple Store: Apple - Support - Service Answer Center -
My wife & I have two identical Verizon iPhone 5's fully updated. We traveled to Mexico, & I noticed my phone sending me offer messages from the local carrier Movistar on which it was locked & roaming for voice only, data/SMS turned off. I checked my wife's phone, which was also on voice only, & it was roaming on Telcel, & no annoying messages. I tried to turn off the Automatic Carrier selection on each phone, but both said "Unable to load network list." So I turned each one back to Automatic, & my phone locked again to roaming of Movistar, & her's back to Telcel.
I can't get to choose the roaming service as both phones refuse to load the network service. And for some reason each one locks to a different carrier when side y side. Neither phone was ever hacked and the SIM is the original Verizon.
Any clues anyone?Hi there,
I had kind of the same thing where i would arrive abroad or back in the UK after being abroad and my iPhone would take 20-30 minutes to get a signal and when loading up network selection would always get unable to display message.
Had phone replaced by apple and the issue hasnt occured in the once ive been abroad since - connected pretty much straight away.
Just wondering if you are having the issue of delayed text messages where people text you and sometimes it takes 30mins-few hours to get delivered to your phone. Or the issue of people sometimes call you and you good signal and it goes straight to voicemail?? -
"Unable to load network list" on new sim card overseas on unlocked iphone 4
I recently bought an Iphone4 (unlocked) from australia. While traveling overseas I inserted a new sim and got the message "unable to load network list", and could not activate my new sim card. Could not find the answer on the discussion board here but got in touch with my provider back in oz who helped me.
Solution: You need your laptop with Itunes on it. Turn the phone off, then connect to your laptop with Itunes already running and then turn the phone on. When you click on your phone icon in Itunes it will say "Congratulation, your iphone is unlocked". You can then eject your phone and your new sim is activated.
Hope this helpsSorry not sure why your new sim card isn't supported...not sure if it helps but I had my laptop connected to wifi at the time also, but I don't think it should matter. Its worth a try connecting to internet with ITunes on, connect your phone and then turn it on and see what happens.
-
Unable to load network list, unable to load network list
after Iphone went inyo shop for unlock sim pin, (the kids played with it) it seemed to work
but home found out trhat there is no signal showing
it gives message unable to load network listHi there,
I had kind of the same thing where i would arrive abroad or back in the UK after being abroad and my iPhone would take 20-30 minutes to get a signal and when loading up network selection would always get unable to display message.
Had phone replaced by apple and the issue hasnt occured in the once ive been abroad since - connected pretty much straight away.
Just wondering if you are having the issue of delayed text messages where people text you and sometimes it takes 30mins-few hours to get delivered to your phone. Or the issue of people sometimes call you and you good signal and it goes straight to voicemail?? -
Could not find or load main class weblogic.WLST
Hi,
I am trying to run a python script to create JMS components for use with iHub and i got the following error message when i try to run the script:
C:\ihub\bin>java weblogic.WLST omipmihubwlscript.py weblogicjms Welcome1 http://<servername>:7111 OMIPMIHUBServer
Error: Could not find or load main class weblogic.WLST
I have run the setWLSEnv.cmd file and got the following output
C:\oracle\Middleware2\wlserver_10.3\server\bin>setWLSEnv.cmd
CLASSPATH="C:\oracle\MIDDLE~2\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~2\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_p
atch.jar;C:\PROGRA~1\Java\JDK17~1.0_1\lib\tools.jar;C:\oracle\MIDDLE~2\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~2\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~2\mod
ules\features\weblogic.server.modules_10.3.6.0.jar;C:\oracle\MIDDLE~2\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~2\modules\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MIDDLE~2\modu
les\NETSFA~1.0_1/lib/ant-contrib.jar;C:\oracle\MIDDLE~2\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~2\patch_ocp371\profiles\default\sys_man
ifest_classpath\weblogic_patch.jar;C:\PROGRA~1\Java\JDK17~1.0_1\lib\tools.jar;C:\oracle\MIDDLE~2\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~2\WLSERV~1.3\server\lib\weblogic.
jar;C:\oracle\MIDDLE~2\modules\features\weblogic.server.modules_10.3.6.0.jar;C:\oracle\MIDDLE~2\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~2\modules\ORGAPA~1.1/lib/ant-all.j
ar;C:\oracle\MIDDLE~2\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\oracle\MIDDLE~2\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~2\patch_ocp37
1\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\PROGRA~1\Java\JDK17~1.0_1\lib\tools.jar;C:\oracle\MIDDLE~2\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~2\WLSER
V~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~2\modules\features\weblogic.server.modules_10.3.6.0.jar;C:\oracle\MIDDLE~2\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~2\module
s\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MIDDLE~2\modules\NETSFA~1.0_1/lib/ant-contrib.jar;"
PATH="C:\oracle\MIDDLE~2\patch_wls1036\profiles\default\native;C:\oracle\MIDDLE~2\patch_ocp371\profiles\default\native;C:\oracle\MIDDLE~2\WLSERV~1.3\server\native\win\x64;C:\oracle\MIDD
LE~2\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~2\modules\ORGAPA~1.1\bin;C:\PROGRA~1\Java\JDK17~1.0_1\jre\bin;C:\PROGRA~1\Java\JDK17~1.0_1\bin;C:\oracle\MIDDLE~2\patch_wls1036\profiles\defa
ult\native;C:\oracle\MIDDLE~2\patch_ocp371\profiles\default\native;C:\oracle\MIDDLE~2\WLSERV~1.3\server\native\win\x64;C:\oracle\MIDDLE~2\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~2\module
s\ORGAPA~1.1\bin;C:\PROGRA~1\Java\JDK17~1.0_1\jre\bin;C:\PROGRA~1\Java\JDK17~1.0_1\bin;C:\oracle\MIDDLE~2\patch_wls1036\profiles\default\native;C:\oracle\MIDDLE~2\patch_ocp371\profiles\
default\native;C:\oracle\MIDDLE~2\WLSERV~1.3\server\native\win\x64;C:\oracle\MIDDLE~2\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~2\modules\ORGAPA~1.1\bin;C:\PROGRA~1\Java\JDK17~1.0_1\jre\bi
n;C:\PROGRA~1\Java\JDK17~1.0_1\bin;C:\app\paul.currie\product\11.2.0\client_2\bin;C:\app\paul.currie\product\11.2.0\dbhome_3\bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Wind
ows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0_13\jre\bin;;C:\oracle\MIDDLE~2\WLSERV~1.3\server\native\win\x
64\oci920_8;C:\oracle\MIDDLE~2\WLSERV~1.3\server\native\win\x64\oci920_8;C:\oracle\MIDDLE~2\WLSERV~1.3\server\native\win\x64\oci920_8"
Your environment has been set.
I am totally stuck at this point so any help would be much appreciated.
Cheers
PaulI have just tested both on a Windows and a Linux server and it works fine.
D:\oracle\product\Middleware\wlserver_10.3\server\bin>setWLSEnv.cmd
CLASSPATH=D:\oracle\product\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\oracle\
product\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\oracle\product\JAVA_C~1\li
b\tools.jar;D:\oracle\product\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\oracle\product\MIDDLE~1\WLSERV~1.3\serve
r\lib\weblogic.jar;D:\oracle\product\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\oracle\product\MI
DDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\oracle\product\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\oracle\pro
duct\MIDDLE~1\modules\NETSFA~2.0_1/lib/ant-contrib.jar;D:\oracle\product\MIDDLE~1\patch_wls1035\profiles\default\sys_man
ifest_classpath\weblogic_patch.jar;D:\oracle\product\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\web
logic_patch.jar;D:\oracle\product\JAVA_C~1\lib\tools.jar;D:\oracle\product\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.ja
r;D:\oracle\product\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\oracle\product\MIDDLE~1\modules\features\weblogic.ser
ver.modules_10.3.5.0.jar;D:\oracle\product\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\oracle\product\MIDDLE~1\mod
ules\ORGAPA~1.1/lib/ant-all.jar;D:\oracle\product\MIDDLE~1\modules\NETSFA~2.0_1/lib/ant-contrib.jar;
PATH=D:\oracle\product\MIDDLE~1\patch_wls1035\profiles\default\native;D:\oracle\product\MIDDLE~1\patch_jdev1111\profiles
\default\native;D:\oracle\product\MIDDLE~1\WLSERV~1.3\server\native\win\x64;D:\oracle\product\MIDDLE~1\WLSERV~1.3\server
\bin;D:\oracle\product\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\oracle\product\JAVA_C~1\jre\bin;D:\oracle\product\JAVA_C~1\bin
;D:\oracle\product\MIDDLE~1\patch_wls1035\profiles\default\native;D:\oracle\product\MIDDLE~1\patch_jdev1111\profiles\def
ault\native;D:\oracle\product\MIDDLE~1\WLSERV~1.3\server\native\win\x64;D:\oracle\product\MIDDLE~1\WLSERV~1.3\server\bin
;D:\oracle\product\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\oracle\product\JAVA_C~1\jre\bin;D:\oracle\product\JAVA_C~1\bin;C:\
Program Files\Legato\nsr\bin;C:\PROGRA~2\CA\SHARED~1\ETPKI\lib;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C
:\Windows\System32\WindowsPowerShell\v1.0\;D:\oracle\Java\current\jre\bin;C:\PROGRA~2\CA\IDENTI~1\PROVIS~1\BIN;C:\Progra
m Files (x86)\CA\SharedComponents\CAM\bin;D:\oracle\product\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8;D:\oracle
\product\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8
Your environment has been set.
D:\oracle\product\Middleware\wlserver_10.3\server\bin>java weblogic.WLST
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> -
Class Loader Hierarchy in Weblogic 7.0
I have read the BEA documentation on the class loader hierarchy in Weblogic Server,
and I have some questions regarding some behavior I am seeing.
I am running Weblogic Server 7.0.
I have an ear file that contains 3 web apps (wars) and several utility jars. The
web apps' manifests contain the Class-Path entry for the utility jars. My understanding
of this is that each web app SHOULD have its own class loader. Also, the utility
jars will be scoped in a separate class loader and WILL NOT have visibility to
the web app classes. The web app classes should have visibility to the utility
jars.
Is this correct????
I added a static segment of code in each web app and printed the class loader
for each servlet when it was loaded. I also printed the class loader from a class
that is DEFINITELY contained in one of the utility jars. Here is the result:
Utility Class ClassLoader: sun.misc.Launcher$AppClassLoader@b9d04 Utility Class
Parent ClassLoader: sun.misc.Launcher$ExtClassLoader@71732b
Servlet 1 ClassLoader: sun.misc.Launcher$AppClassLoader@b9d04 Servlet 1 Parent
ClassLoader: sun.misc.Launcher$ExtClassLoader@71732b
Servlet 2 ClassLoader: sun.misc.Launcher$AppClassLoader@b9d04 Servlet 2 Parent
ClassLoader: sun.misc.Launcher$ExtClassLoader@71732b
I'm a little confused.... I expected to see 3 different class loaders (i.e. one
for each class above). I believe the above printout says that all 3 classes are
being loaded by the SAME class loader instance (Launcher$AppClassLoader@b9d04).
Am I interpreting this correctly? If so, what's going on?I rechecked the classpath for the user that starts Weblogic, and in the classpath
I found the project "src" directory (must have missed it earlier). When we did
our build, the classes are placed in the src structure then copied to the build
area. That's the reason I was not seeing the appropriate class loader hierarchy.
Thanks for all of the comments.
"Sanjeev Chopra" <[email protected]> wrote:
>
"Mark Cotherman" <[email protected]> wrote in message
news:[email protected]...
Thanks for your comments again Mark. I'm just trying to get a goodhandle
on how
this is working.
I'll assume that somehow my web app classes are being loaded into theroot
classloader.
The next question is... why??Just to be sure - is there any way these classes are sneaking into the
system classpath ?
My ear file contains the following:
a.war
b.war
c.war
lib/util1.jar
lib/util2.jar
lib/util3.jar
lib/util4.jar
The manifest in all three wars reference all util jars. This ear deployssuccessfully
on Weblogic with no errors.
How could these separate servlets (one in each war) not have seperateclass loaders
seperate from the root where the utils should reside. I don't thinkthat
I have
any control over where Weblogic loads the war classes, or do I?
See comments below....
Mark Spotswood <[email protected]> wrote:
Mark Cotherman wrote:
Thanks for the follow-up.
I want to make sure I follow what you are saying. All classes in
the
manifest
Class-Path of WARs are exported to the parent classloader.That's right.
To me this is the correct behavior since the manifest Class-Path
is
meant to provide
a way to share common utility classes among several web apps. AllEJB jars and
manifest Class-Path entries should be loaded by the same class loader.Its a way to share class definitions, but not necessarilly class
instances. I don't think that a web application should be extending
the classpath of its parent's classloader. This leads to namespace
problems as well as reloadability issues.
Ok, you lost me here. Shouldn't delegation handle the namespacecollisions??
If the web app class loader has a class definition (webapp:com.xyz.ClassA) with
exactly the same name in the same package as the root class loader(rootloader:
com.xyz.ClassA), I thought the web app would use (delegate loading)the
class
definition from the root class loader when PreferWebInf is set to false.
Isn't this why the PreferWebInf attribute, when set to true, can causeClassCastExceptions??
The web app when creating an instance of (webapp: com.xyz.ClassA)from
the web
app class loader can potentially pass a reference to this instanceto a
class
instance loaded from the root loader. The root class loader has adifferent class
definition for ClassA.
REALLY what makes since is that all common jar files be defined
in
the manifest
Class-Path OF THE ear FILE (if the WAR(s) are in an ear). These
jar
files should
then be loaded by the same class loader as the EJB jars. There shouldbe no need
for the WARs to have any reference to the utility jars since the
EJB
class loader
is the parent of the WAR class loaders.The ear file doesn't have a manifest classpath, but what you are getting
at makes sense. If you add a manifest to any EJBs in your app, theall
webapps (as well as all other EJBs) will be able to see it, sincewith
our structure, EJBs are loaded into the application's root classloader.
My problem is that the ACTUAL SERVLET classes are NOT being loadedby a separate
class loader from the EJB and common jar class loader. This is
completely
against
what is being said in the Weblogic documentation. The Manifest
Class-Path
should
have nothing to do with where the classes that reside in
WEB-INF/classes
of my
servlet are loaded.Classloaders will ask their parent for the class first before loading
it
themselves. So if the parent classloader somehow has visibility to
classes that your webpapp references, then it will get loaded by the
parent classloader.
I am in the middle of migrating an app from an older version of
Weblogic,
and
it would be helpful to have the ACTUAL class loading hierarchy welldocumented.
The basic hierarchy is all EJBs are in a root shared classloader and
each web application is loaded by a classloader that is a child of
that root.
Again, am I missing something here???My suspicion is that somehow these servlets are in the classpath ofthe
root classloader, so when the webapp classloaders delegate to thatone,
it will come up with the class.
mark
Mark Spotswood <[email protected]> wrote:
I believe what you are seeing is a bug in the servlet container.
The classloader organization is what you expect, but each webapp
is exporting the classpath information from its manifest to the
classloader above its classloader (which is common to all
three webapps) rather than to its own classloader. So because
of the delegation that happens with classloading, the common
parent classloader is the one that loads the class.
I believe that this behavior exists as an attempt to avoid
ClassCastExceptions, but I don't think that it is the right
solution to this problem. In our 8.1 release, this behavior
has been changed. That is, web applications no longer export
manifest classpath information to the parent of their classloader.
This change has not been ported back to the 7.x line, but a bug
report has been created (CR099889). You should be able to follow
up with support with this CR number.
mark
Mark Cotherman wrote:
I have read the BEA documentation on the class loader hierarchy
in
Weblogic Server,
and I have some questions regarding some behavior I am seeing.
I am running Weblogic Server 7.0.
I have an ear file that contains 3 web apps (wars) and several
utility
jars. The
web apps' manifests contain the Class-Path entry for the utility
jars.
My understanding
of this is that each web app SHOULD have its own class loader.
Also,
the utility
jars will be scoped in a separate class loader and WILL NOT have
visibility
to
the web app classes. The web app classes should have visibility
to
the utility
jars.
Is this correct????
I added a static segment of code in each web app and printed the
class
loader
for each servlet when it was loaded. I also printed the class loaderfrom a class
that is DEFINITELY contained in one of the utility jars. Here is
the
result:
Utility Class ClassLoader: sun.misc.Launcher$AppClassLoader@b9d04
Utility
Class
Parent ClassLoader: sun.misc.Launcher$ExtClassLoader@71732b
Servlet 1 ClassLoader: sun.misc.Launcher$AppClassLoader@b9d04 Servlet1 Parent
ClassLoader: sun.misc.Launcher$ExtClassLoader@71732b
Servlet 2 ClassLoader: sun.misc.Launcher$AppClassLoader@b9d04 Servlet2 Parent
ClassLoader: sun.misc.Launcher$ExtClassLoader@71732b
I'm a little confused.... I expected to see 3 different class loaders(i.e. one
for each class above). I believe the above printout says that all
3
classes are
being loaded by the SAME class loader instance
(Launcher$AppClassLoader@b9d04).
Am I interpreting this correctly? If so, what's going on? -
Network won't load; states 'Loading Network', but never does. Help.
After returning home after a house refubishment, had to get TalkTalk engineers to reconnect me. Now have internet and Fibre Optic access. But, as above, when I click on the Network icon, it keeps saying: Loading Network ...' But never does. Therefore, it something goes wrong again, I can't access the network. Help. Ps, have a macbook pro. I am not very computer savvy. I have Airport, but don't know if its called anything else.
this is still happening -- getting a bad gateway error or even the link to I guess their host:
https://www.mediasecure.org/
have noticed another site that has disappeared also called moviestvlinks.com is going to server not found.
http://www.letmewatchthis.name/
after much waiting finally loaded hope it works.
Maybe you are looking for
-
Recording from Motorola DCH6416 to a mac
Hi everyone, after a lot of effort I'm unable to resolve an issue. I have a Motorola DCH6416 and recorded and saved a few Hi Def shows on the hard drive. I've downloaded and installed Firewire SDK26 and within it is the AVCVideoCap appication. Using
-
Macbook Pro, audio input
I have a Macbook Pro 13". I would like to use the "Headphone" port as a "Microphopne" port and connect to an external audio input source (Mixer in a DJ set-up) and record my mixes. I have followed the instructions listed on various forums to do this
-
Appreciation mail to mahaelectronics team members
Dear Venkat,Yaswanth &Beta team, I thank you all guys for ur sincere effort in relacing my faulty battery.now my new battery is working well and in position. this credit goes to u all and your whole team.by due to whom i got replace battery well
-
Error in Dutch translation in HERE Maps
Hi, This has been bugging me for a while now There is a pretty serious Dutch language error in the HERE Maps application for Windows Phone 8.1. I could not find anywhere to report a bug to the HERE developers so I'm trying this place. When the compas
-
How to set radiobutton values based on some input values?
LCD 8.0 I have a table with 5 rows - each row has a checkbox in it. The user can select 0 - 5 checkboxes. Based on the number of selected checkboxes, I need to dynamically 'press' a radiobutton (out of 5) to show the corresponding Risk level - If 2 c