JSP hanging when 9i database invoked through JSP
Hi
I have just installed Oracle 9i DB on Win 2000 server. When I try to invoke a SQL from a jsp on the application server on the same machine, it hangs.
The jsp is able to connect to the Oracle 8i database on a different machine. We are having classes13.zip in the classpath.
Has somebody faced this problem before? Pl. help me out
Its urgent.
Thanks in advance
Ashish.
hi Vipul
Following is the file that we are using to connect to the database. The following file is invoked from the command prompt and it takes very long (8 minutes on the same machine) to connect to Oracle 9i. With JSP (tested on JRun and Oracle9iAS), we are never able to connect. The JSP and java file from command prompt both give instantaneous results even from a remote database if the DB is Oracle 8i.
Thanks
import java.io.*;
import java.sql.*;
public class DBInserter {
Connection connection = null;
CallableStatement callableStatement = null;
PreparedStatement preparedStatement = null;
ResultSet resultSet = null;
java.sql.Date date1 = new java.sql.Date(System.currentTimeMillis());
public DBInserter(String custCode , String itemCode , String uomCode , String itemQty , String itemRate , String discPerc , String docNo) {
getDBConnection();
// insertValues(custCode , itemCode , uomCode , itemQty , itemRate , discPerc , docNo);
getValues();
public DBInserter() {
getDBConnection();
getValues();
public void getDBConnection() {
try {
Class.forName("oracle.jdbc.OracleDriver");
System.out.println("Abt to get the connection " + System.currentTimeMillis());
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
connection = DriverManager.getConnection("jdbc:oracle:thin:@129.1.2.116:1521:ORCL","SCOTT","TIGER");
System.out.println("After getting the connection " + System.currentTimeMillis());
catch(Exception ex) {
System.out.println("Connection refused : " + ex.getMessage());
public void getValues() {
try {
preparedStatement = connection.prepareStatement("SELECT * FROM DEPT");
resultSet = preparedStatement.executeQuery();
while(resultSet.next()) {
System.out.println(resultSet.getString("DEPTNO"));
catch(Exception ex) {
public void insertValues(String custCode , String itemCode , String uomCode , String itemQty , String itemRate , String discPerc , String docNo) {
try {
callableStatement = connection.prepareCall("{ CALL SO_INSERT_XML(?,?,?,?,?,?,?,?,?,?) }");
callableStatement.setString(1,custCode);
callableStatement.setString(2,itemCode); // ItemCode
callableStatement.setString(3,uomCode); // ItemUomCode
callableStatement.setInt(4,Integer.parseInt(itemQty)); // Item Qty
callableStatement.setInt(5,Integer.parseInt("0")); // Item Ls Qty
callableStatement.setInt(6,Integer.parseInt(itemRate)); // Item Rate
callableStatement.setInt(7,Integer.parseInt(discPerc)); // Item Disc Perc
callableStatement.setDate(8,date1);
callableStatement.setInt(9,Integer.parseInt(docNo));
callableStatement.registerOutParameter(10,Types.INTEGER);
System.out.println("Abt to insert the values");
callableStatement.executeUpdate();
System.out.println("After inserting the values");
System.out.println("The Value inserted is : " + callableStatement.getInt(10));
catch(Exception ex) {
System.out.println("Exception while inserting the values : " + ex.getMessage());
public static void main(String args[]) {
//DBInserter dbi = new DBInserter(args[0],args[1],args[2],args[3],args[4],args[5],args[6]);
DBInserter dbi = new DBInserter();
null
Similar Messages
-
BUG JDeveloper hangs when Completion Insight invoked with accelerator
JDeveloper 10.1.2 build 1811
Windows XP Professional Version 2002 Service Pack 2
Nondeterministic... occurs about once a day on average.Occurs the first time that you invoke completion insight after starting JDeveloper (ctrl-space for me, by the way) .
-
Different response when BPEL PM invokes and when Java stub invokes
I have the same Web Service invocation one from a Java stub and the other from the BPEL process manager behave differently with the latter being wrong. The REQUEST/RESPONSE pairs are shown below. Also in the latter case, although the response comes back very swiftly (as evidenced on the TCP Tunnel), the BPEL process just hangs and times out.
Can anyone let me know how to debug such cases.
Thanks and Regards.
REQUEST (FROM BPEL PROCESS VIEWED THROUGH TCP TUNNEL)
POST /CurrencyConvertor.asmx HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/#axisVersion#
Host: localhost:1235
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "http://www.webserviceX.NET/ConversionRate"
Content-Length: 497
Connection: close
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ConversionRate xmlns="http://www.webserviceX.NET/">
<FromCurrency xmlns="http://xmlns.oracle.com/ExternalCurrencyConverterService">SGD</FromCurrency>
<ToCurrency xmlns="http://xmlns.oracle.com/ExternalCurrencyConverterService">INR</ToCurrency>
</ConversionRate></soapenv:Body></soapenv:Envelope>
RESPONSE (FROM REMOTE WEB SERVICE VIEWD THROUGH TCP TUNNEL)
HTTP/1.0 200 OK
Date: Thu, 01 Dec 2005 09:50:50 GMT
Content-Length: 377
Content-Type: text/xml; charset=utf-8
Cache-Control: private, max-age=0
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Via: 1.1 apac-nc03 (NetCache NetApp/5.6.2R1)
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ConversionRateResponse xmlns="http://www.webserviceX.NET/">
<ConversionRateResult>0</ConversionRateResult>
</ConversionRateResponse></soap:Body></soap:Envelope>
REQUEST FROM JAVA STUB (VIEWED THROUGH JDEVELOPER TCP MONITER)
POST http://www.webservicex.net/CurrencyConvertor.asmx HTTP/1.1
Host: www.webservicex.net
Proxy-Connection: Keep-Alive
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: RPT-HTTPClient/0.3-3
SOAPAction: "http://www.webserviceX.NET/ConversionRate"
Accept-Encoding: gzip, x-gzip, compress, x-compress
Content-type: text/xml; charset=utf-8
Content-length: 461
<?xml version = '1.0' encoding = 'UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ConversionRate xmlns="http://www.webserviceX.NET/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FromCurrency>SGD</FromCurrency>
<ToCurrency>INR</ToCurrency>
</ConversionRate>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
RESPONSE (VIEWED THROUGH JDEVELOPER TCP MONITER)
HTTP/1.1 100 Continue
Date: Thu, 01 Dec 2005 09:31:55 GMT
Via: 1.1 apac-nc03 (NetCache NetApp/5.6.2R1)
HTTP/1.1 200 OK
Date: Thu, 01 Dec 2005 09:31:52 GMT
Content-Length: 383
Content-Type: text/xml; charset=utf-8
Cache-Control: private, max-age=0
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Via: 1.1 apac-nc03 (NetCache NetApp/5.6.2R1)
<?xml version = '1.0' encoding = 'utf-8'?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ConversionRateResponse xmlns="http://www.webserviceX.NET/">
<ConversionRateResult>27.1899</ConversionRateResult>
</ConversionRateResponse>
</soap:Body>
</soap:Envelope>Just want to add that the BPEL PM also hangs when I "invoke" this web service. The debug level trace is as follows:
Appreciate any help.
Best Regards.
<2005-12-01 18:11:57,242> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::l
ogError> Error while invoking bean "delivery": Waiting for response has timed ou
t. The conversation id is cce7adadf6056580:1fd6bea:107e45eb2e6:-7f01. Please che
ck the process instance for detail.
com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response ha
s timed out. The conversation id is cce7adadf6056580:1fd6bea:107e45eb2e6:-7f01.
Please check the process instance for detail.
at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:112)
at IDeliveryBean_StatelessSessionBeanWrapper22.request(IDeliveryBean_Sta
telessSessionBeanWrapper22.java:288)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryServi
ce.java:101)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryServi
ce.java:65)
at ngDoInitiate.jspService(_ngDoInitiate.java:253)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:5
6)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:810)
at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequ
estDispatcher.java:121)
at com.evermind.server.http.EvermindPageContext.include(EvermindPageCont
ext.java:267)
at displayProcess.jspService(_displayProcess.java:700)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:5
6)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:810)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:322)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequ
estDispatcher.java:220)
at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:152)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:649)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:322)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:798)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:278)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:120)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Caused by: com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for
response has timed out. The conversation id is cce7adadf6056580:1fd6bea:107e45eb
2e6:-7f01. Please check the process instance for detail.
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyTyp
e(DeliveryHandler.java:524)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(Deliv
eryHandler.java:426)
at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHand
ler.java:133)
at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:97)
... 29 more -
Hangs when installing comUS.msb
Hi, i have a copy of Oracle8i, personal edition version 8.1.5 - each time i try to install it, it hangs when trying to install file called "comUS.msb" which is 76% of way through installation.
Does anyone know of a work around to this? I tried cancelling the installation of that component and that only caused the installation to hang even further.
Hope someone can help!
Kind regards
Nick HoareThis forum is meant for discussions about OTN content/site and services.
Questions about Oracle products and technologies will NOT be answered in this forum. Please post your product or technology related questions in the appropriate product or technology forums, which are monitored by Oracle product managers.
Product forums:
http://forums.oracle.com/forums/index.jsp?cat=9
Technology forums:
http://forums.oracle.com/forums/index.jsp?cat=10
As a general guideline, please first search the forum to see if your question is already answered. You will find answers for the most frequently asked questions by simply searching the forum. This will help you to find the answer right away and will save time for all of us. -
Windows 2003 R2 Server hangs when starting Oracle 9.2 service
Hi,
I've been having an error with an Oracle 9.2.0.7 installation where the server will hang to the point where it needs to be powered off as it is completely unresponsive. It hangs when I start the Oracle service.
I've tried installing the system from scratch a few times(OS, OS patches, Oracle 9.2, Oracle 9.2.0.7 Patch set, Database) a few times however I keep having this same issue issue. I had the system running properly up until yesterday and I thought the issue was SP2 for Windows 2003 as I didn't patch the OS before installing everything however it is happening again now.
The listener is started and I can't even connect to an Idle instance through SQLPlus when this happens. I just get a TNS Listener error which I will list below. SInce this keeps happening, I'm wondering if it may be a hardware issue (Installed on an HP ML350) but I'm also wondering if it may be SP2 for WIndows 2003 server and was wondering if anyone else has seen this issue. I havne't found anything in the forum nor on Google so I thought I'd post here.
Here are the last entries in the DB log when it hangs;
ARC1: Archival started
Mon Mar 10 14:18:59 2008
ARCH: STARTING ARCH PROCESSES COMPLETE
Mon Mar 10 14:18:59 2008
ARC0: Becoming the 'no FAL' ARCH
Mon Mar 10 14:18:59 2008
ARC1: Becoming the heartbeat ARCH
Mon Mar 10 14:18:59 2008
ARC0: Becoming the 'no FAL' ARCHARC0: Thread not mounted
Mon Mar 10 14:18:59 2008
ARC1: Becoming the heartbeat ARCHARC1: Thread not mounted
Mon Mar 10 14:19:00 2008
Oracle Data Guard is not available in this edition of Oracle.
Mon Mar 10 14:19:00 2008
alter database mount exclusiveHi,
Since the server locks up when the service is starting, it's hard to determine how high it gets but after it starts, it quickly gets up to around 277MB and just stays there.
I was thinking it may be a memory issue as well as it displays the symptoms of a "light speed" memory leak. I had 4GB of memory in the server and realized that WIndows 2003 only saw 3.5GB so I decided to remove 1 GB but that didn't make a difference.
How would I go about ensuring that the memory consumption on my DB server does not get swapped much? -
JNDI hanging when trying to BIND
We are currently having problems with our application hanging when it tries to obtain LDAP context. I have attached a thread dump. Once all the threads start hanging the weblogic server cannot do any work and needs to be restarted. Any help would be appreciatted.
I can make it happen by creating a load on the server.
Code snippet:
we call a static method to return us a context instance, context is not shared.
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://"+directoryHost+":"+directoryPort);
env.put(Context.SECURITY_PRINCIPAL, name);
env.put(Context.SECURITY_CREDENTIALS, password);
env.put(Context.REFERRAL,"follow");
DirContext ctx = new InitialDirContext(env);
return ctx;
Thread dump (there are a few threads like this)
"ExecuteThread: '36' for queue: 'default'" daemon prio=5 tid=0x2718c808 nid=0x77
c waiting on monitor [0x2852f000..0x2852fdc0]
at java.lang.Object.wait(Native Method)
- waiting on <55e31f0> (a com.sun.jndi.ldap.LdapRequest)
at com.sun.jndi.ldap.Connection.readReply(Connection.java:283)
- locked <55e31f0> (a com.sun.jndi.ldap.LdapRequest)
at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:310)
- locked <55e31d8> (a com.sun.jndi.ldap.LdapClient)
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:163)
- locked <55e31d8> (a com.sun.jndi.ldap.LdapClient)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2386)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:239)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.jav
a:74)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
60)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.jav
a:78)
at com.truecontext.wasabi.business.util.LDAPUtil.getContext(LDAPUtil.jav
a:318)
at com.truecontext.wasabi.business.devman.dao.SynchronizationProfileDAOi
Planet.getObjectsByFilter(SynchronizationProfileDAOiPlanet.java:562)
at com.truecontext.wasabi.business.devman.dao.SynchronizationProfileDAOi
Planet.getObjectsByFilter(SynchronizationProfileDAOiPlanet.java:544)
at com.truecontext.wasabi.business.devman.dao.SynchronizationProfileDAOi
Planet.findSynchronizationProfileDataByDeviceAndUser(SynchronizationProfileDAOiP
lanet.java:1319)
at com.truecontext.wasabi.business.devman.ejb.DeviceMgrEJB.findSynchroni
zationProfileDataByDeviceAndUser(DeviceMgrEJB.java:6502)
at com.truecontext.wasabi.business.devman.ejb.DeviceMgrEJB_fo5kg5_EOImpl
.findSynchronizationProfileDataByDeviceAndUser(DeviceMgrEJB_fo5kg5_EOImpl.java:7
010)
at com.truecontext.wasabi.business.devman.ejb.DeviceMgrSyncSessionEJB.fi
ndSynchronizationProfileDataByDeviceAndUser(DeviceMgrSyncSessionEJB.java:880)
at com.truecontext.wasabi.business.devman.ejb.DeviceMgrSyncSessionEJB_th
6b7o_EOImpl.findSynchronizationProfileDataByDeviceAndUser(DeviceMgrSyncSessionEJ
B_th6b7o_EOImpl.java:166)
at com.truecontext.wasabi.business.sync.ejb.SFSyncEngineEJB.beginSync(SF
SyncEngineEJB.java:1008)
at com.truecontext.wasabi.business.sync.ejb.SFSyncEngineEJB.doProcess(SF
SyncEngineEJB.java:867)
at com.truecontext.wasabi.business.sync.ejb.SFSyncEngineEJB.doProcess(SF
SyncEngineEJB.java:782)
at com.truecontext.wasabi.business.sync.ejb.SFSyncEngineEJB_62algz_EOImp
l.doProcess(SFSyncEngineEJB_62algz_EOImpl.java:199)
at com.truecontext.wasabi.presentation.sync.servlet.SFSyncListener.onMes
sage(SFSyncListener.java:352)
at com.truecontext.wasabi.presentation.sync.servlet.SFSyncListener.doPos
t(SFSyncListener.java:284)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5445)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:780)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3105)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2588)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
Environment:
iplanet directory server 5.1 Service Pack 2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_08-b03) (also tried 1.4.2)
OS Name Microsoft Windows 2000 Server
Version 5.0.2195 Service Pack 4 Build 2195
BEA Weblogic Server 7.0 sp2We are having the same problem as well and this has been reported else where as well.
We were able to reproduce this problem on the full blown Weblogic application, with a simple program which creates a large number of connection in quick succession - after a certain number of connections ( about 60), the client simply hangs! It turns out that this is a known problem with iPlanet 5.1 with SSL: http://www.openldap.org/lists/openldap-software/200205/msg00567.html
I have also posted this message to the Directory Server forum at Sun, but have not heard anything yet!
http://swforum.sun.com/jive/thread.jspa?threadID=46914&tstart=0
There have been quite a few other cases of this problem ( probably manifesting itself in other forms!)
http://forum.java.sun.com/thread.jsp?forum=51&thread=358357
Let me know if you come up with a solution to your problem -
Java VM hangs when I start Derby Server
Hey everyone,
Help will be much appreciated so cheers in advance.
I've made a desktop app through Netbeans that runs fine within the IDE but can't get it to work from outside (unless I've connected to the server from within Netbeans first so guessing its not the app itself rather the conenction to the server?)
I'm using Java version 1.6.0_17 and am confuzled as to why the VM hangs when I try to start the Derby server from a Batch file.
my batch file reads:
set DERBY_HOME = M:\Business\Registers\Lodgements Registers\LodgementsDB\Sun\JavaDB
Path = %DERBY_HOME%\bin;%Path%
java -jar "%DERBY_HOME%\lib\derbyrun.jar" server start
java -jar "M:\Business\Registers\Lodgements Registers\LodgementsDB\Lodgements\dist\Lodgements.jar"
echo "Press any key to shutdown Server"
pause
java -jar "%DERBY_HOME%\lib\derbyrun.jar" server shutdown
I've checked the Derby log file and its reading
2010-02-16 09:00:37.530 GMT : Apache Derby Network Server - 10.5.3.0 - (802917) started and ready to accept connections on port 1527
Just running java -jar "M:\Business\Registers\Lodgements Registers\LodgementsDB\Lodgements\dist\Lodgements.jar"
gives all the usual java.sql.SQLNonTransientConnectionException .... I gather because it can't find the database if the server isn't open.
The only other info I have to go on is the problem reporting in Vista which states the obvious (that the Java SE binary stopped working and was closed, tagging it with an AppHangB1)
Also, in advance, is there a more common way of starting the server from outside nettbeans (eg code) that doesn't rely on command prompt- seems daft to me not to have this (and yes I am a first time derby user, used the Toplink persistence libs throughout my code if that helps?).Nothing is hanging, this is a misunderstanding of how a batch file works. A batch file is processed line by line, and only when the execution of the task or program (in this case your first call to Java) returns, execution will continue on the next line. As the first call starts Derby and only completes when Derby is stopped, your batch file will not continue with the next line until you kill Derby.
You either need to start Derby separately, inside your application or using a batch command to launch Derby in a separate process so the batch file won't wait until completion. AFAIK this can be achieved using the command START (eg START java (rest of the commandline)) -
Kaspersky URL Advisor 8.0.6 causes Firefox 9.0.1 to hang when visiting secure websites and will not allow a redirect to another site. banking sites, facebook, auctionsniper, all these are affected.
Please also contact Kaspersky Tech support and Forum and let them know the issue, if its really a bug, they will fix it through patch via database update
* https://my.kaspersky.com/en/support/helpdesk
* http://forum.kaspersky.com/index.php?showforum=117 -
IE 5.0 hanging when one is reading HTML from Weblogic 6.0
I have following configuration:
Local network (TCP/IP, Wins server)
SERVER: NT 2000 AdvServer & Weblogic Eval 6.0 Sp2 & Oracle 8.1.7
CLIENTS
1) Win 2000Pro & IE 5.0
2) Win 98 & IE 5.0
Quite often IE (client one) is hanging when one is reading static HTML pages.
Also IE (client two) says that there is fail in Kernel and display dump of memory.
In last case it is occured less often.
I located these static HTML pages in Webdefault catalog.
Also I have two simple JSP pages, one of them is genering current time and is
working constantly.
This situation was not changed when I did the following:
1. Disable Java Plugin
2. Set Weblogic Sp1.
What did I wrong?
Thanks in advance
Eugenia
[email protected]I play the mp3 files as sprites in the score that are
streaming from the web server. If you selecr "Insert->Media
Element->Shockwave Audio" from the menu in Director you can
choose to import a mp3/swa file. This file will import as a cast
member which will have an external link address. (e.g.
http://www.adobe.com/mysound/myfile.mp3)
I have then dragged this cast member onto channel 1 in the score
spanning for instance 10 frames.
It does not make a difference wether the soundfile is of type
mp3 or swa, I have tried both. -
Form call report,but form hang when report sun slowly,how to set server?
In version 10.1.2
Form call report, form hang when report sun slowly,
finally the report will done,I can see the output in the server disk,but form hang,
I think it's out of the report session, ,how to set server?
thanks for any help!
lindHello,
If you are using the "Paper Layout", check the Reports's "Before Report Value" property:
Before Report Value :
<meta http-equiv="Content-Type" content="text/html; charset=&Encoding">
If you are using the "Web Layout", take a look to the document :
http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_nls.htm#i1006142
18.3 Specifying a Character Set in a JSP or XML File
Regards -
Publisher hangs when I try to open an image file
Publisher hangs when I try to open an image file from:
right-click on image->Change Picture->Change Picture
The image is on my hard drive.
It also happens with powerpointFew Questions:
a. What version of publisher/PowerPoint are you using ?
b. Are you able to insert this image through Insert -> Image ? Image itself could be corrupt. Try to open it with some other editor ? -
Adobe Reader 9.0 has delay when downloading PDF file through proxy server
There is an issue with the Adobe Reader (and Acrobat) 9.0 PDF Link Helper ActiveX control for Internet Explorer (6 or 7) on Windows computers with respect to proxy servers. Due to this issue, there is a 2 minute delay for any Internet Explorer web browser on the Deere network before any PDF file will open from the Internet within the IE web browser if In-Place activation (Display PDF in Browser) is enabled in Adobe Reader 9. This problem does not affect Adobe Reader 8.
What we are seeing is that when someone on the Deere network clicks on a links to a PDF file in the Internet, the PDF file downloads immediately. But then, after the PDF file is downloaded, the Adobe Reader 9 PDF Link Helper ActiveX control tries to talk directly to the Internet web site. The Adobe Reader 9 PDF Link Helper ActiveX control does not know how to negotiate our proxy server. So after a minute or two, the Adobe Reader 9 PDF Link Helper ActiveX control times out (gives up) and allows the IE browser to display the downloaded PDF file in the IE browser.
We work around this issue by disabling In Place Activation for PDF files in IE (uncheck Display PDF in Browser). But we would like a fix for the PDF Link Helper ActiveX control.
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\9.0\Originals]
"bBrowserIntegration"=dword:00000000
[HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\9.0\Originals]
"bBrowserIntegration"=dword:00000000
Here's what our proxy people see when they do a trace of a PDF file download through their proxy server with IE 7 and Adobe Reader 9 with Display PDF in Browser checked.
The browser tells the proxy to download the pdf, it does and sends it to the browser. Before the browser opens it something in Acrobat ( or I.E. ? ) tries to make a connection back to the content server that hosted the pdf. Unfortunately this agent does not ask the proxy to make the request for it, but rather asks local DNS to resolve the Internet server name. This request dies because our internal private network does not know anything about the Internet. Only the DNS used by the proxy can resolve Interent names. After two unsuccessful DNS queries into the private network, the agent tries to resolve the same Internet name with NBNS ( netbios name service) queries again into the private network, with the same results. These requests persists for more than two minutes ( over 200 unresolved queries ). Then for whatever reason the agent gives up and the already downloaded pdf file loads into the browser.
I have a TCP capture file if you want it.Hi,
I have the same problem with some specific PDF files. For more than 90% it hangs when opening the file, but sometimes it works (with the same file).
The workflows where it sometimes worked:
a) Loading the PDF, the reader is started the first time and displays license dialog.
b) The reader was already runing and file is loaded with Drag&Drop or File/Open in the Reader
But most times it does not load.
I could not find out which file is missing or trying to be opened. So I tried with the CP949.TXT.
I found no CP949.TXT in Reader 8 installation, so I took it from the link, pasted into notepad and stored in the respective directory
C:\Program Files (x86)\Adobe\Reader 9.0\Resource\TypeSupport\Unicode\Mappings\win\
Now it seems to work fine, opening PDFs with double click from exporer.
But why did Adobe Reader 8 not have the TypeSupport directory at all?
Even when having found a fix (hack?), I think I did not understand the cause of this problem.
Regards,
TheLastReader -
I have an applet which has been functioning fine, but with the introduction of IE7 and tabs, I suddenly have an issue. We run a web site for our users, through which, they view PDF files. Simply, users view PDF files through a web browser (with the AcrobatReader plug-in), which are displayed via 'getAppletContext.showDocument(URL, "_blank")'. This is a fairly small user community, and we require that AcrobatReader is present on their machines. As I mentioned, this has been working fine with no issues until IE7. Now that users can configure their web browsers to open all pop-ups in a tab, rather than a new browser instance, we have constant reports of the browser 'hanging' when they try to close the tab containing the PDF viewer. Again, there is no issue if their browser is configured to open a new browser instance. Any ideas?
DrClap wrote:
It's been a while since this happened, but I had a problem where Acrobat wouldn't start up, it would just hang with a blank screen. When I went and cleared out the temp directories that problem went away.The acrobat plugin has been broken for many, many, many years. Possibly forever.
It's not uncommon to launch IE. Open PDFs through IE. Close IE. Find one or even multiple orphaned acrobat processes running. When you get enough of these they will crash acrobat if you attempt to open new ones. -
Aperture 3.5.1 on OS X 10.9.2 hangs when trying to update the backup
Aperture 3.5.1 on OS X 10.9.2 hangs when trying to update the backup. I get the rotating beach ball cursor for hours but not get the confirmation dialog known from 3.4.2 aksing whether I really want to back up.
On old Mac Mini with OS X 10.6.8 and Aperture 3.4.2 there was no such issue.Creating a new vault and populating it always works but then turning around and updating that vault hangs? The drive is formatted OS X Extended, correct?
That is strange. Before abandoning vaults, they should and do work in 3.5.1, I'd try this
Run a library repair on the library. I always do this now as it seems to cut down and hangs when updating a vault.
Before starting the vault update open the Aperture activity window Aperture->Window->Show Activity.
Now do the update. I can't give you anything specific to look for, just try to get an idea of where the hang is happening (if it happens after the repair).
As for rsync, it should work OK but keep in mind as a lot of the data now in 3.5 is in database files any change to Aperture will result in reync seeing a lot of files has having been changed so I'm not sure now much of a savings that will be over just copying the library. To be honest I've never tried rsync on an Aperture library so this may not be an issue but something to keep in mind. BTW do you have much rsync experience? It can be a bit of a bear to setup if you're not familiar with it.
Another option is to look at one of the cloning programs Carbon Copy Cloner or SuperDuper. They have the ability to make clones and then update only the changes since the last clone operation. In reality, I believe one or both actually use rsyn as the backend but give you a much nicer way to set it up and schedule it. -
Poor performance with Oracle Spatial when spatial query invoked remotely
Is anyone aware of any problems with Oracle Spatial (10.2.0.4 with patches 6989483 and 7003151 on Red Hat Linux 4) which might explain why a spatial query (SDO_WITHIN_DISTANCE) would perform 20 times worse when it was invoked remotely from another computer (using SQLplus) vs. invoking the very same query from the database server itself (also using SQLplus)?
Does Oracle Spatial have any known problems with servers which use SAN disk storage? That is the primary difference between a server in which I see this poor performance and another server where the performance is fine.
Thank you in advance for any thoughts you might share.OK, that's clearer.
Are you sure it is the SQL inside the procedure that is causing the problem? To check, try extracting the SQL from inside the procedure and run it in SQLPLUS with
set autotrace on
set timing on
SELECT ....If the plans and performance are the same then it may be something inside the procedure itself.
Have you profiled the procedure? Here is an example of how to do it:
Prompt Firstly, create PL/SQL profiler table
@$ORACLE_HOME/rdbms/admin/proftab.sql
Prompt Secondly, use the profiler to gather stats on execution characteristics
DECLARE
l_run_num PLS_INTEGER := 1;
l_max_num PLS_INTEGER := 1;
v_geom mdsys.sdo_geometry := mdsys.sdo_geometry(2002,null,null,sdo_elem_info_array(1,2,1),sdo_ordinate_array(0,0,45,45,90,0,135,45,180,0,180,-45,45,-45,0,0));
BEGIN
dbms_output.put_line('Start Profiler Result = ' || DBMS_PROFILER.START_PROFILER(run_comment => 'PARALLEL PROFILE')); -- The comment name can be anything: here it is related to the Parallel procedure I am testing.
v_geom := Parallel(v_geom,10,0.05,1); -- Put your procedure call here
dbms_output.put_line('Stop Profiler Result = ' || DBMS_PROFILER.STOP_PROFILER );
END;
SHOW ERRORS
Prompt Finally, report activity
COLUMN runid FORMAT 99999
COLUMN run_comment FORMAT A40
SELECT runid || ',' || run_date || ',' || run_comment || ',' || run_total_time
FROM plsql_profiler_runs
ORDER BY runid;
COLUMN runid FORMAT 99999
COLUMN unit_number FORMAT 99999
COLUMN unit_type FORMAT A20
COLUMN unit_owner FORMAT A20
COLUMN text FORMAT A100
compute sum label 'Total_Time' of total_time on runid
break on runid skip 1
set linesize 200
SELECT u.runid || ',' ||
u.unit_name,
d.line#,
d.total_occur,
d.total_time,
text
FROM plsql_profiler_units u
JOIN plsql_profiler_data d ON u.runid = d.runid
AND
u.unit_number = d.unit_number
JOIN all_source als ON ( als.owner = 'CODESYS'
AND als.type = u.unit_type
AND als.name = u.unit_name
AND als.line = d.line# )
WHERE u.runid = (SELECT max(runid) FROM plsql_profiler_runs)
ORDER BY d.total_time desc;Run the profiler in both environments and see if you can see where the slowdown exists.
regards
Simon
Maybe you are looking for
-
Can I use Oralce9i database to depoly BC4J without using Ora9ias
Oralce9i database has so many components help you develop application, for example JSP,SERVLET,I want to know when I need oracle9ias for developing,in what case I only need oracle9i database for developing including its components?
-
Repeating Table in Template -- Can't Edit It
Hi -- I created a template http://www.practice.thelegatogroup.com/Templates/employee_list.dwt ) to be used as a list of employees for a client. For the employee list I used a repeating table. All seemed to go OK when I created the initial list of emp
-
PhoneGap Dreamweaver CS5.5 Android App Fail
I am attempting the to create an Android app using Dreamweaver CS 5.5 and PhoneGap. The build always fails with the following message at the end of the error log: -dex: [echo] Converting compiled files and external libraries into C:\Users\ROG\De
-
I have just downloaded Lion from the apple store having previously paid and installed it on another macbook. However, when I try to install I get a message telling me that the software can not be verified because it has been corrupted or tampered w
-
Slideshow/CD/DVD?
Hello: Is it possible to burn a slideshow created in iPhoto to CD, DVD, or transfer to a flashdrive? Thanks, Medren