Win a copy of Spring Boot in Practice this week in the Spring forum!

James Hu

Greenhorn
+ Follow
since Apr 29, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by James Hu

hi,I'm using weblogic7.But it throw a exception and shut down at once:
---------
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6d3c76b5
Function name=ZIP_Open
Library=C:\bea7\jdk131_02\jre\bin\zip.dll
Current Java thread:
at java.util.zip.ZipFile.getEntry(Native Method)
at java.util.zip.ZipFile.getEntry(ZipFile.java:146)
at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:182)
at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:102)
at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:53)
at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:53)
at weblogic.utils.classloaders.MultiClassFinder.getClassSource(MultiClassFinder.java:45)
at weblogic.utils.classloaders.ChangeAwareClassLoader.upToDate(ChangeAwareClassLoader.java:112)
at weblogic.servlet.internal.ServletStubImpl.needToReload(ServletStubImpl.java:580)
at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java:600)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:451)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:287)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Dynamic libraries:
0x00400000 - 0x00405000 C:\bea7\jdk131_02\bin\javaw.exe
0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
0x77D90000 - 0x77DED000 C:\WINNT\system32\ADVAPI32.dll
0x77E60000 - 0x77F35000 C:\WINNT\system32\KERNEL32.DLL
0x786F0000 - 0x78761000 C:\WINNT\system32\RPCRT4.DLL
0x77DF0000 - 0x77E55000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
0x75E00000 - 0x75E1A000 C:\WINNT\System32\IMM32.DLL
0x6D420000 - 0x6D4F0000 C:\bea7\jdk131_02\jre\bin\hotspot\jvm.dll
0x77530000 - 0x77560000 C:\WINNT\System32\WINMM.dll
0x6D220000 - 0x6D227000 C:\bea7\jdk131_02\jre\bin\hpi.dll
0x6D3B0000 - 0x6D3BD000 C:\bea7\jdk131_02\jre\bin\verify.dll
0x6D250000 - 0x6D266000 C:\bea7\jdk131_02\jre\bin\java.dll
0x6D3C0000 - 0x6D3CD000 C:\bea7\jdk131_02\jre\bin\zip.dll
0x6D340000 - 0x6D348000 C:\bea7\jdk131_02\jre\bin\net.dll
0x74FD0000 - 0x74FDA000 C:\WINNT\System32\WSOCK32.dll
0x74FB0000 - 0x74FC3000 C:\WINNT\System32\WS2_32.DLL
0x74FA0000 - 0x74FA8000 C:\WINNT\System32\WS2HELP.DLL
0x77800000 - 0x7780C000 C:\WINNT\System32\rnr20.dll
0x77960000 - 0x77984000 C:\WINNT\System32\DNSAPI.DLL
0x77300000 - 0x77313000 C:\WINNT\System32\iphlpapi.dll
0x774E0000 - 0x774E5000 C:\WINNT\System32\ICMP.DLL
0x772E0000 - 0x772F7000 C:\WINNT\System32\MPRAPI.DLL
0x750E0000 - 0x750F0000 C:\WINNT\System32\SAMLIB.DLL
0x75100000 - 0x7514F000 C:\WINNT\System32\NETAPI32.DLL
0x77BC0000 - 0x77BCF000 C:\WINNT\System32\SECUR32.DLL
0x75150000 - 0x75156000 C:\WINNT\System32\NETRAP.DLL
0x77930000 - 0x7795A000 C:\WINNT\system32\WLDAP32.DLL
0x77A30000 - 0x77B25000 C:\WINNT\system32\OLE32.DLL
0x77990000 - 0x77A2B000 C:\WINNT\system32\OLEAUT32.DLL
0x77370000 - 0x7739E000 C:\WINNT\System32\ACTIVEDS.DLL
0x77340000 - 0x77362000 C:\WINNT\System32\ADSLDPC.DLL
0x777F0000 - 0x777FE000 C:\WINNT\System32\RTUTILS.DLL
0x6D990000 - 0x6DA3B000 C:\WINNT\System32\SETUPAPI.DLL
0x77BF0000 - 0x77C4E000 C:\WINNT\System32\USERENV.DLL
0x774A0000 - 0x774D2000 C:\WINNT\System32\RASAPI32.DLL
0x77480000 - 0x77491000 C:\WINNT\System32\RASMAN.DLL
0x774F0000 - 0x77512000 C:\WINNT\System32\TAPI32.DLL
0x71780000 - 0x7180A000 C:\WINNT\system32\COMCTL32.DLL
0x70BD0000 - 0x70C34000 C:\WINNT\system32\SHLWAPI.DLL
0x77320000 - 0x77339000 C:\WINNT\System32\DHCPCSVC.DLL
0x777A0000 - 0x777A8000 C:\WINNT\System32\winrnr.dll
0x777B0000 - 0x777B5000 C:\WINNT\System32\rasadhlp.dll
0x6D240000 - 0x6D246000 C:\bea7\jdk131_02\jre\bin\ioser12.dll
0x10000000 - 0x10016000 C:\Program Files\NEC\e-Border Client\s5spi.dll
0x780C0000 - 0x78121000 C:\WINNT\System32\MSVCP60.dll
0x74F50000 - 0x74F6D000 C:\WINNT\system32\msafd.dll
0x74F90000 - 0x74F97000 C:\WINNT\System32\wshtcpip.dll
0x0E600000 - 0x0E605000 C:\bea7\weblogic700\server\bin\wlntio.dll
0x6D020000 - 0x6D129000 C:\bea7\jdk131_02\jre\bin\awt.dll
0x777C0000 - 0x777DE000 C:\WINNT\System32\WINSPOOL.DRV
0x75010000 - 0x75020000 C:\WINNT\system32\MPR.DLL
0x6D1E0000 - 0x6D21B000 C:\bea7\jdk131_02\jre\bin\fontmanager.dll
0x69500000 - 0x69816000 C:\WINNT\System32\nvoglnt.dll
0x6DD30000 - 0x6DD36000 C:\WINNT\System32\INDICDLL.dll
0x37F00000 - 0x37F16000 C:\Program Files\Kingsoft\XDict\Cjktl32.dll
0x77900000 - 0x77923000 C:\WINNT\system32\imagehlp.dll
0x72960000 - 0x7298D000 C:\WINNT\system32\DBGHELP.dll
0x687E0000 - 0x687EB000 C:\WINNT\System32\PSAPI.DLL
Local Time = Tue Sep 03 14:48:08 2002
Elapsed Time = 501
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_02-b02 mixed mode)
#
19 years ago
Lucky.
I had the same problem when i want deploy a war file of my web applicaton.Then I attempts to deploy it by Weblogic build.But it fails and throws an java.lang.OutOfMemoryError error.
------
20 years ago
In the properties,you used the "username",the titiel/targe what you used is error.You must use "user" and "password"
========
like this:
user=scott
password=tiger
20 years ago
Now I'm troubled in the problem with weblogic7 appliction server connection pool.
I creat a connetion pool,ant it works well.But now,if a client request a connection,and it gives one.While if that client forgets to close this connection(use a close metho).Then the connection is activiting.My problem is that how and when this connection can be closed by wls connection pool itself.
I want to find something about timeout of conenctions in wls conenction pool,but find nothing about it.I search this from wls document about jdbc,but can't solved the problem.
I anyone know that,please tell how to deal with it.Thanks.
20 years ago
Oh,please refer to the document of Ant,then you will find that using wljspc not jsps for weblogic server in Ant tasks.
--------
http://jakarta.apache.org/ant/manual/tasksoverview.html#compile
20 years ago
I think you can use Ant(build tools) to complie Servlets of EJB classes or use it to deploy/build you web app(war file).If you have deployed you web app,the weblogic app/web server can issue it.If you want the weblogic server complie the jsp file each time.you can use precompile on web server start.
20 years ago
Hi,you want to connect to oracle8.1.7 database,but you use the oci jDriver of 816.Why you don't use the direction of 817 like that:
set path=%path%c:\bea\wlserver6.1\bin\oci817_8;
[ August 05, 2002: Message edited by: James Hu ]
20 years ago
The example like this:
D:\bea>java utils.dbping ORACLE user_name user_password oradb
Starting Loading jDriver/Oracle .....
**** Success!!! ****
You can connect to the database in your app using:
java.util.Properties props = new java.util.Properties();
props.put("user", "fcx");
props.put("password", "fcx");
java.sql.Driver d = (java.sql.Driver)Class.forName("weblogic.jdbc.oci.Driver").newInstance();
java.sql.Connection conn = d.connect("jdbc:weblogic racle radb", props);
// This mode is superior, especially in serverside classes because
// it avoids DriverManager calls are class synchronized, and will
// bottleneck any other JDBC in the server, even already-running
// connections, because all JDBC drivers use DriverManager.println()
// to log info and exceptions, and that call is also class synchronized.
// For repeated connecting, a single driver instance can be re-used.
**** or ****
Class.forName("weblogic.jdbc.oci.Driver").newInstance();
java.sql.Connection conn =
Driver.connect("jdbc:weblogic racle radb", "fcx", "fcx");
**** or ****
java.util.Properties props = new java.util.Properties();
props.put("user", "fcx");
props.put("password", "fcx");
props.put("server", "oradb");
Class.forName("weblogic.jdbc.oci.Driver").newInstance();
java.sql.Connection conn =
Driver.connect("jdbc:weblogic racle", props);
20 years ago
Please:

[ August 04, 2002: Message edited by: James Hu ]
20 years ago
Admiring.
Thank you very much.I like to discuss something about Bea weblogic application/web server with you.You give me a lot of suggestion,and solve my problem.Thanks.
20 years ago
Oh,thank you very much.the problem is not show when I use the wls6.1 or other versions of bea weblogic app server.
By the way,I change my name.Now my name is James Hu.
20 years ago
thanks.
Now I solve the problem.I use you meoth that setting the jsp workingDir,but only that can'w working well.And I must set the jsp-param-keepgenerated true in webloigc.xml。
thank you very much.
20 years ago
Thanks!
But the method what you tell me can't solve the problem.I set the server's staging mode to "no-stage" and even set the jsp workingDir to a new directory.but the jsp pages must be parsed again,and the WLS delete the new jsp working dir againt.I don't want to use precomiler method,beause i don't waste much time in debugging the wap app.
20 years ago
why jsp pages must be parsed again when the wls7 restart??
Now I'm using the webloigc application server 7.0 as a web server.I deploy my web app on it,but when I restart the server again,the jsp pages must be must be parsed again,even if I the pages had been parsed on last.
I found the weblogic7 like to delete the directory "%wls_home%/user_projects/mydomain/myserver/.wlnotdelete",so my jsp pages must be parsed again.
Now,What can I do for this,Can you tell me how to deal with.Thanks.
20 years ago
hi,I want use PJA(Pure Java Awt) to replace Sun Awt.I put it on Weblogic or Tomcat environment and use successfully. But when I use Webshpere3.5,I don't know how to deploy it.
20 years ago