Exception ex Error
Hi all, my test.jsp got the "Exception ex" error; however, I don't see any Exception ex in my test.jsp code plus "'}' expected" error. Can any one tell me what's wrong in test.jsp and how to fix it.
Thanks a ton
[05/May/2003:17:23:15] info ( 1276): Internal Info: loading servlet /regionalnews.jsp
[05/May/2003:17:23:16] info ( 1276): JSP: JSP1x compiler threw exception
org.apache.jasper.JasperException: Unable to compile class for JSPC:\iPlanet\Servers\https-sjw1bnguyen01.NA.RTA\config\..\ClassCache\_jsps\_regionalnews_jsp.java:626: 'catch' without 'try'.
} catch (Exception ex) {
^
C:\iPlanet\Servers\https-sjw1bnguyen01.NA.RTA\config\..\ClassCache\_jsps\_regionalnews_jsp.java:637: '}' expected.
^
C:\iPlanet\Servers\https-sjw1bnguyen01.NA.RTA\config\..\ClassCache\_jsps\_regionalnews_jsp.java:638: 'try' without 'catch' or 'finally'.
^
3 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:427)
[05/May/2003:17:23:16] warning ( 1276): Internal error: Failed to get GenericServlet. (uri=/regionalnews.jsp,SCRIPT_NAME=/regionalnews.jsp)
Here is my test.jsp file: ********************
<%@ page import = "java.sql.*,oracle.jdbc.driver.*,java.util.Date, java.text.*" %>
<%
String dbUrl = "jdbc:oracle:thin:@sjw1bnguyen01:1521:mydb";
String dbUser = "scott";
String dbPass = "tiger";
//Do the login through database
String queryArtcCatNav = "SELECT DISTINCT CAT_ID FROM ssp01_artc" +
" WHERE RGN_ID " + "= " + "\'" + request.getParameter("RgnId") + "\'" +
" ORDER BY CAT_ID ASC";
String queryArtcYrNav = "SELECT DISTINCT (to_char(ARTC_PUB_DTM, 'YYYY')) as ARTC_PUB_DTM" +
" FROM ssp01_artc" +
" WHERE RGN_ID = " + "\'" + request.getParameter("RgnId") + "\'" +
" ORDER BY ARTC_PUB_DTM DESC";
String queryLatestYr = "SELECT MAX(to_char(ARTC_PUB_DTM, 'YYYY'))FROM ssp01_artc)";
String queryCurYrArtc = "SELECT CAT_ID, RGN_ID, ARTC_FLNM_TRKG_ID, ARTC_HDR_TXT, ARTC_PUB_DTM" +
" FROM ssp01_artc" +
" WHERE to_char(ARTC_PUB_DTM, 'YYYY')" +
" IN (SELECT MAX(to_char(ARTC_PUB_DTM, 'YYYY'))FROM ssp01_artc)" +
" AND RGN_ID = " + "\'" + request.getParameter("RgnId") + "\'" +
" GROUP BY CAT_ID, ARTC_FLNM_TRKG_ID, ARTC_HDR_TXT, ARTC_PUB_DTM" +
" ORDER BY CAT_ID, ARTC_PUB_DTM DESC";
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection con = DriverManager.getConnection(dbUrl, dbUser,dbPass);
Statement st = con.createStatement();
ResultSet rsArtcCatNav = st.executeQuery(queryArtcCatNav);
ResultSet rsArtcYrNav = st.executeQuery(queryArtcYrNav);
ResultSet rsCurYrArtc = st.executeQuery(queryCurYrArtc);
ResultSet rsLatestYr = st.executeQuery(queryLatestYr);
%>
<html>
<head>
<title>Test Page</title>
<table border="0" width="515" cellspacing="0" cellpadding="0">
<tr>
<td>
<h4 align="center"><font color="#000000" face="Verdana, arial"> <br>
<%
if(request.getParameter("RgnId").equals("na")) {
%>
</font><font face="verdana, arial">Semiconductor Press Room
- North America</font></h4>
<% }
else if(request.getParameter("RgnId").equals("eu")) { %>
</font><font face="verdana, arial">Semiconductor Press Room
- Europe</font></h4>
<% } %>
<hr width="515">
<!--- Display corporate news article header --->
<p align="center"><font face="verdana, arial"><b>Corporate News</b></font></a></p>
<!--- Set message flag variable to control the display for warning message --->
<% boolean blnMsgFlg = false; %>
<ul>
<% while(rsCurYrArtc.next()) { %>
<li>
<%
if(rsCurYrArtc.getString("RGN_ID").equals("na") && rsCurYrArtc.getString("CAT_ID").equals("crp")) {
%>
<% blnMsgFlg = true; %>
<li>
<!--- If the region is North America then show the hyperlink with MM/DD/YYYY format
If the region is Europ then show the hyperlink with MM/YYYY format --->
<%
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss.S");
String dateString = rsCurYrArtc.getString("ARTC_PUB_DTM");
ParsePosition pos = new ParsePosition(0);
Date currentTime_2 = formatter.parse(dateString, pos);
formatter = new SimpleDateFormat ("MMM d, yyyy");
dateString = formatter.format(currentTime_2); %>
<!-- Call html file -->
<p align="left"><font size="2" face="verdana, arial"><a href="/press/releases/<%= rsCurYrArtc.getString(ARTC_FLNM_TRKG_ID") %">.htm">
<%= dateString %></a> - <%= rsCurYrArtc.getString("ARTC_HDR_TXT") %></p></FONT>
<% } //Region=eu
else if(rsCurYrArtc.getString("RGN_ID").equals("eu") && rsCurYrArtc.getString("CAT_ID").equals("crp")) { %>
<% blnMsgFlg = true; %>
<%
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss.S");
String dateString = rsCurYrArtc.getString("ARTC_PUB_DTM");
ParsePosition pos = new ParsePosition(0);
Date currentTime_2 = formatter.parse(dateString, pos);
formatter = new SimpleDateFormat ("MMM, yyyy");
dateString = formatter.format(currentTime_2); %>
<!-- Call html file -->
<p align="left"><font size="2" face="verdana, arial"><A href="/press/releases/<%= rsCurYrArtc.getString("ARTC_FLNM_TRKG_ID") %>.htm">
<%= dateString %></a> - <%= rsCurYrArtc.getString("ARTC_HDR_TXT") %></p></FONT>
</li>
<% } %>
</ul>
<!--- Dispaly the warning message if there is no article --->
<% if(blnMsgFlg) { %>
<p align="center"><font face="verdana, arial" size="2"><b>
No news release for this category.</b></font></a></p>
<% } %>
<hr width="515">
<!--- Display product news article header --->
<p align="center"><font face="verdana, arial"><b>Product News</b></font></a></p>
<!--- Set variable category id counter to control the display of category description under Product News title --->
<% int intCatIdCtr = 0; %>
<!--- Set message flag variable to control the display for warning message --->
<% boolean blnMsgFlg = false; %>
<% while(rsCurYrArtc.next()) { %>
<%
if(rsCurYrArtc.getString("RGN_ID").equals("na") && rsCurYrArtc.getString("CAT_ID") != "crp") {
%>
<% blnMsgFlg = true; %>
<%
if(rsCurYrArtc.getString("CAT_ID") != intCatIdCtr) {
%>
<p align="center"><font face="verdana, arial" size="2"><b><%= rsCurYrArtc.getString("CAT_ID") %></b></font></a></p>
<% intCatIdCtr = rsCurYrArtc.getString("CAT_ID") %>
<% } %>
<ul>
<li>
<!--- If the region is North America then show the hyperlink with MM/DD/YYYY format
If the region is Europ then show the hyperlink with MM/YYYY format --->
<%
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss.S");
String dateString = rsCurYrArtc.getString("ARTC_PUB_DTM");
ParsePosition pos = new ParsePosition(0);
Date currentTime_2 = formatter.parse(dateString, pos);
formatter = new SimpleDateFormat ("MMM d, yyyy");
dateString = formatter.format(currentTime_2); %>
<!-- Call html file -->
<p align="left"><font size="2" face="verdana, arial"><A href="/press/releases/<%= rsCurYrArtc.getString("ARTC_FLNM_TRKG_ID") %>.htm">
<%= dateString %></a> - <%= rsCurYrArtc.getString("ARTC_HDR_TXT") %></p></FONT>
<% }
else if(rsCurYrArtc.getString("RGN_ID").equals("eu") && rsCurYrArtc.getString("CAT_ID") != "crp") { %>
<% blnMsgFlg = true ;%>
<%
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss.S");
String dateString = rsCurYrArtc.getString("ARTC_PUB_DTM");
ParsePosition pos = new ParsePosition(0);
Date currentTime_2 = formatter.parse(dateString, pos);
formatter = new SimpleDateFormat ("MMM, yyyy");
dateString = formatter.format(currentTime_2); %>
<!-- Call html file -->
<p align="left"><font size="2" face="verdana, arial"><A href="/press/releases/<%= rsCurYrArtc.getString("ARTC_FLNM_TRKG_ID") %>.htm">
<%= dateString %></a> - <%= rsCurYrArtc.getString("ARTC_HDR_TXT") %></p></FONT>
</li>
<% } %>
</ul>
<!--- Display the warning message if there is no article --->
<% if(blnMsgFlg) { %>
<p align="center"><font face="verdana, arial" size="2"><b>
No news release is available in the selected category for the selected
year request.getParameter("PubYr"). Please try another year or category</b></font></a></p>
<% } %>
</td>
</tr>
</table>
<% try {
rsArtcCatNav.close();
rsArtcYrNav.close();
rsCurYrArtc.close();
rsLatestYr.close();
st.close();
con.close();
catch
(Exception e) {} %>
</body>
</html></a>
hi there,
again, it's pretty hard to see from your code but the exception you get is synthax related. you probably forgot to close one of the if's. if you format your code nicely these would be easier to catch.
ie. i use following format:
if(something)
for(condition)
do something.
notice how easy it is to see where you open and close {}'s.
have a nice day.
cem.
Similar Messages
-
Where can I find information about exceptions and errors?
I'm new to Java and sometimes run into errors that I don't understand. Is there a list of common errors somewhere that I could look at to at least get a general idea of what's causing my problem?
for instance:
I'm writing a little program where the user inputs a number and depending on their input a message is displayed. I'm using java.awt.*, java.awt.event.*, & javax.swing.* for my events, buttons, and other goodies. My program compiles & I can execute my main but when I click on the button that grabs the input I get the following errors.
java.lang.NullPointerException
at Horoscope$ButtonHandler.actionPerformed(Horoscope.java:44)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
I'm not asking for anyone to solve this for me. It's critical that I learn how to troubleshoot and figure out a solution. I was just wondering if there was a site or link on the web that generally discusses what these (and other) errors mean. Or if anybody could tell me what they mean?The Java API documentation is the first place to look. Each exception or error is a class. For instance, information on java.lang.NullPointerException is in the API for the java.lang package, toward the bottom.
For more than that, just search the internet for the name of the exception/error. -
Hello consultant:
We are trying configurated SSO usind SPNEGO module
We have a portal 7.0 ehp1 and Active Directory Microsoft versión 2003 native
we have followed the steps described in note Sap 1457499"Note 1457499 - SPNego add-on"
When we have logged with user Active Directory and we try access to portal we obtain following error:
Authorization check user error
We have Deploy the Web diagtool from SAP Note 1045019 on the J2EE server, run it and perform the
following steps:
1. Select "Component" = "security" and "Activity" = "all"
2. Click the "Go" button, followed by the "Add All" button
3. Select "Component" = "All" and in the "Search pattern" field write "com.sap.security.spnego"
4. Click the "Go" button, followed by the "Add All" button
5. Start the tool
Then we have reproduce the problem and stop the tool. The generated zip file will contain following error:
15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~p.security.spnego.krb5.crypto.DesCrypto Checksum error! checksum: 0xc46bfed8d0dbc54221ee75405c8cd5ac; calculated checksum: 0x6ead7e801608b729a6957597327f2ba5
15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~m.sap.security.spnego.SPNEGOLoginModule Could not validate SPNEGO token.
java.lang.Exception: Checksum error.
at com.sap.security.spnego.krb5.crypto.DesCrypto.decrypt(DesCrypto.java:43)
at com.sap.security.spnego.krb5.KrbEncryptedData.decrypt(KrbEncryptedData.java:81)
at com.sap.security.spnego.krb5.KrbApReq.decrypt(KrbApReq.java:67)
at com.sap.security.spnego.SPNEGOLoginModule.parseAndValidateSPNEGOToken(SPNEGOLoginModule.java:234)
at com.sap.security.spnego.SPNEGOLoginModule.processAuthorizationHeader(SPNEGOLoginModule.java:385)
at com.sap.security.spnego.SPNEGOLoginModule.login(SPNEGOLoginModule.java:102)
at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:185)
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:181)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:699)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:151)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:634)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:631)
at javax.security.auth.login.LoginContext.login(LoginContext.java:557)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:912)
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.login(AuthenticationService.java:367)
at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:126)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:181)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Could you help us?
Many thanks for your collaboration<< Do not post the same question across a number of forums >>
-
I have been trying to install a piece of software on 2 Windows 7 PCS called Rightfax...during installing I get the error below;
System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).
It then gives me an error log of ;
2015-04-23 14:43:03Z: Error: Unexpected problem occurred in task worker
System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).
at CommonInstall.Tasks.InstallTask.LaunchInstall(String friendlyName, String exe, String args, Int32[] exitCodesToIgnore)
at CommonInstall.Tasks.InstallVSTO.OnRun(ITaskFeedback feedback)
at TaskWizard.Task.Run(ITaskFeedback feedback, Boolean recurse)
at TaskWizard.TaskWorker.RunTasks()
at TaskWizard.TaskWorker.OnDoWork(DoWorkEventArgs e)
2015-04-23 14:43:03Z: Error: Problem in sequence or one of its pages
System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).
at CommonInstall.Tasks.InstallTask.LaunchInstall(String friendlyName, String exe, String args, Int32[] exitCodesToIgnore)
at CommonInstall.Tasks.InstallVSTO.OnRun(ITaskFeedback feedback)
at TaskWizard.Task.Run(ITaskFeedback feedback, Boolean recurse)
at TaskWizard.TaskWorker.RunTasks()
at TaskWizard.TaskWorker.OnDoWork(DoWorkEventArgs e)
at CommonInstall.PreparationWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
2015-04-23 14:43:03Z: Error: Problem in sequence or one of its pages
System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).
at CommonInstall.Tasks.InstallTask.LaunchInstall(String friendlyName, String exe, String args, Int32[] exitCodesToIgnore)
at CommonInstall.Tasks.InstallVSTO.OnRun(ITaskFeedback feedback)
at TaskWizard.Task.Run(ITaskFeedback feedback, Boolean recurse)
at TaskWizard.TaskWorker.RunTasks()
at TaskWizard.TaskWorker.OnDoWork(DoWorkEventArgs e)
at CommonInstall.PreparationWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
2015-04-23 14:43:03Z: Info: Page changed from 'WizardWorkerPage' to 'ResultPage' driven by result 'Next' and exception 'none'
2015-04-23 14:44:06Z: Info: Page changed from 'ResultPage' to 'none' driven by result 'Next' and exception 'none'
2015-04-23 14:44:06Z: Info: Work has not been completed; install state will not be saved.
2015-04-23 14:44:06Z: Info: Reboot status = NotRequired
2015-04-23 14:44:06Z: Info: Exitcode = 0
2015-04-23 14:44:06Z: Info: Logging ended.
I have installed this software succesfully on other machines previously.....Hi RyanWelsh78,
This forum is discussing about Visual Stuido Tools for Office developing, your issue is related with the installing Rightfax add-in which is a third party product. As the reply from Eugene, you could contact Rightfax add-in developers for help.
Thanks for your understanding.
Best Regards,
Edward
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Control exceptions or errors in procedure
Hy , I have a proceducre like this:
CREATE OR REPLACE PROCEDURE "MY_PROCEDURE"( )
AS
BEGIN
INSERT INTO tableBackupTable1 SELECT table1.* FROM table1;
INSERT INTO tableBackupTable2 SELECT table1.* FROM table2;
*/*Disable FK*/*
for i in (select constraint_name, table_name from user_constraints where constraint_type ='R' and status = 'ENABLED')
LOOP
execute immediate 'alter table '||i.table_name||' disable constraint '||i.constraint_name||'';
end loop;
delete * from table1;
delete * from table2;
*/*Enable FK*/*
for i in (select constraint_name, table_name from user_constraints where constraint_type ='R' and status = 'ENABLED')
LOOP
execute immediate 'alter table '||i.table_name||' enable constraint '||i.constraint_name||'';
end loop;
END;
1. If I want to control the errors or exceptions for this procedure from my java code where Im calling this procedure from:
I dont have to declare a block "EXCEPTION......" in the procedure, right?
2. If I want to rollback if an error or exception happens, should I do something in the procedure or in my java code?
3. If I dont want to return anything in my procedure, should I use a sys_refcursor like out parameter?
4. Should I use commit, where?
5. Should I surround the loops for enable or disable fk with begin and end because If I dont surround it and an error ocurrs while enablling FK or disabling them ?
6. All my accesses to the database from my java code are transactional, so if I call this procedure from my java code and this call is transactional and the procedure is itself transactional, is there a problem with this?
Thanks
Edited by: user13162080 on 29-dic-2010 6:40
Edited by: user13162080 on 29-dic-2010 6:46
Edited by: user13162080 on 29-dic-2010 6:56Hi,
I dont want to handle it in the procedure itself because I am controlling all exceptions or errors in the database from java to make rollback or whatever
Can you help me in the others questions? In my opinion this is not the right way to handle database exception. Database exception should be handled in database itself not in java. Oracle will rollback the transaction autometically if any statement fails(exception) and you will not have to put extra efforts(java code) to control the exception. If you wish you can explain your business requirement we may suggest something easier/better.
2. If I want to rollback if an error or exception happens, should I do something in the procedure or in my java code?It should be driven by your business requirement.
3. If I dont want to return anything in my procedure, should I use a sys_refcursor like out parameter?It depends what kind of value you want to return. For a single value sys_refcursor is not the right tool. Refer this link http://download.oracle.com/docs/cd/E11882_01/appdev.112/e17126/static.htm#i7106
4. Should I use commit, where?
It should also driven by your business need. COMMIT will make the changes permanent into the database so whenever you want to commit you can. All the DDLs (CREATE, DROP table etc) are having implicit (auto) COMMIT.
5. Should I surround the loops for enable or disable fk with begin and end because If I dont surround it and an error ocurrs while enablling FK or disabling them ?
I would suggest to have a look on http://download.oracle.com/docs/cd/E11882_01/appdev.112/e17126/toc.htm
6. All my accesses to the database from my java code are transactional, so if I call this procedure from my java code and this call is transactional and the procedure is itself transactional, is there a problem with this?
What do you mean by transactional? do you mean for each row?
Thanks and Regards,
Avinash
Edited by: Avinash Tripathi on Dec 29, 2010 7:04 PM -
SEVERE: An exception or error occurred in the container during the request
hi
I am using tomcat 4.0 as for my serlvets. I get below exception when processing a request. Please let me know under what conditions do we get such exception
Aug 31, 2005 12:20:28 PM org.apache.coyote.tomcat5.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request processing
java.lang.NullPointerExceptionnull at java.io.Writer.write(Writer.java:126)null at java.io.PrintWriter.newLine(PrintWriter.java:254)null at java.io.PrintWriter.println(PrintWriter.java:405)null at java.io.PrintWriter.println(PrintWriter.java:516)null at org.apache.catalina.logger.LoggerBase.log(LoggerBase.java:266)null at org.apache.catalina.core.StandardWrapperValve.log(StandardWrapperValve.java:376)null at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)null at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)null at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)null at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)null at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)null at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)null at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)null at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)null at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)null at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)null at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)null at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)null at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)null at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)null at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)null at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)null at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)null at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)null at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)null at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)null at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)null at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)null at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)null at java.lang.Thread.run(Thread.java:534)null
Thanks
RajeshSrikanth,
Problem is that the exception is not form any PrintWriter object i had instantiated in my servlet code. Infact, the exception comes from a class of tomcat when it is trying to log some information. The basic thing is I am contacting a Geographical positioning server from servlet. The contact is fine and I get requested information back from server. But, once the control comes back to server, I get that exception. If I dont contact the geo server, I dont get any exception.
Thanks for your immediate reply.
Rajesh -
Hi,
I have created a web service in SAP ECC from a RFC.
While configuring the web service in SOA management to publish it, getting error SRT Framework exception: ICF: Error when creating service node. [rc:wrong_icf_name] No special characters allowed in name
How to resolve the same.
Thanks
TanmayHello Tanmay,
Are you including quotes (') in the name, I assume not?
Regards,
Siddhesh -
Native exception: IDispatch error #17460
Hi all!
Have you ever seen error message like this?
The request is not yet finished. The request was waiting for a reply from the host.] (612,PTDispatch.cpp)]
com.plumtree.server.marshalers.PTException: Native exception: IDispatch error #17460 (0x80044634): [Exception thrown at HttpGadgetProviderObject.cpp(1601): The Portal Server timed out while waiting for a reply from the host for this gadget. If this problem persists, please alert a system administrator.[/pre][pre]
The request is not yet finished. The request was waiting for a reply from the host.] (612,PTDispatch.cpp)
at com.plumtree.server.marshalers.PTDispatch.invokeRetObject(Native Method)
at com.plumtree.server.CIPTGadgetGateway.GetContent(CIPTGadgetGateway.java:65)
at com.plumtree.portalpages.browsing.gateway.GatewayControl.CheckActionSecurityAndExecute(GatewayControl.java:291)I get it, when I use setSettingValue(__) method of IPortletContext object, and there are too long setting values. (I think so.)
But I have no idea for the real reason :o/
Do you have?
But more important is: How can I solve this problem?
Cheers;
TociI'm crawling SQLDatabase. Actually, in that DB, there are indexed text which is already indexed from the other backend system.
The getDocument method is returning the url that a text is located in the other backend system.
I'm not using DocFetch, but now I think I have to use that.
Thank you for your helping
-Young-Jin -
SLD server exception: IO error: Read timed out
Hi,
I have deployed the components for NWDI and after that when i am creating the Domain,I am doing update CMS data for creating a Track. I am getting the following error:
SLD server exception: IO error: Read timed out
Can any one help on this.
Thanks
Ravi.SHi,
My SLD is a PI 7.0 system and my NWDI is configured on a standalone Java system.
I have done the SLDDataSupplier check, and it connects fine to the SLD.
Also on my http://<hostname>:<port>/devinf/main in the NWDI system, the SLD link points to the right SLD and im able to connect.
Still at the CMS update stage it gives the error -
SLD (URL http://<hostname>:<port>/) server exception: IO error: Read timed out -
Hi All.
I hope someone can help.
I have recently installed Oracle XE on my Vista Ultimate laptop and it is up and running with no apparent problems. I then connected to the HR schema on XE with no problems using SQL Developer 1.2.1.3213 (OLD Version). I noticed that SQL Developer 1.5.4.59.40 (NEW version) was available and downloaded it (the offering without JDK included) and renamed the "C:\Program Files\SQLDeveloper" folder holding the older version to "C:\Program Files\SQLDeveloper_Orig" and placed the new version of SQL Developer in the Prog Files directory to give "C:\Program Files\SQLDeveloper".
I then ran SQLDeveloper.exe (NEW) and when requested gave the JDK path as "C:\Program Files\Java\JDK_1.6.0_11\bin\java.exe" ('Java -version' gives 1.6.0_11-b03) and migrated over the settings from the previous version of SQLDeveloper (OLD).
The Application loads fine but when i attempt to connect to XE's HR schema i get the following error:
"IO Exception: Undefined Error
VENDOR CODE 17002"
I have searched to try and find out what is going on but cannot find any solutions that work. The previous 17002 error solutions on this forumn have all failed.
These included changing the JDK.conf file to hold route to JDK directory and also creating a 'bat' file.
My system does not have the directory for the JDK in it's PATH environment setting (either USER or SYSTEM) but does include a directory path under SYSTEM environment vars to another version fo JDK on my machine under "C:\Program Files\Sun\JDK\". I thought this may be causing a conflict but it is version 1.6.0.05_b13 and is also compatible-is it not? I also have Java JRE6 (1.6.0_12-b04) on my machine - this does not have a PATH variable and was not referenced when loading SQL Developer when loading the first time.
Can anyone help me resolve this, why can the previous version still connect OK to XE and not new version? is there something i am missing? Do i require the Java JDK Directory to be placed under a PATH environment SYSTEM variable?
Thanks in advance,
M
Edited by: user592047 on 16-Mar-2009 10:08Taken from about SQL Developer:
Version:
CVS Version Internal to Oracle SQL Developer (client-only)
Java(TM) Platform 1.6.0_11
Oracle IDE 1.5.4.59.40
Versioning Support 1.5.4.59.40
Properties:
apple.laf.useScreenMenuBar true
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name "SQL_Developer"
com.apple.mrj.application.growbox.intrudes false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
http.agent Mozilla/5.0 (Java 1.6.0_11; Windows Vista 6.0 x86; en_GB) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 10390897243225
ide.build MAIN-5940
ide.conf C:\Program Files\sqldeveloper_new\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\Program Files\sqldeveloper_new\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun false
ide.java.minversion 1.5.0
ide.launcherProcessId 2672
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Users\M\AppData\Roaming\SQL Developer
ide.pref.dir.base C:\Users\M\AppData\Roaming
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\Program Files\sqldeveloper_new\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\Program Files\sqldeveloper_new\sqldeveloper.exe
ide.startingcwd C:\Program Files\sqldeveloper_new
ide.user.dir C:\Users\M\AppData\Roaming\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Users\M\Documents\SQL Developer
ide.work.dir.base C:\Users\M\Documents
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Program Files\Java\jdk1.6.0_11\jre\lib\endorsed
java.ext.dirs C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\Program Files\Java\jdk1.6.0_11\jre
java.io.tmpdir C:\Users\M\AppData\Local\Temp\
java.library.path C:\Program Files\sqldeveloper_new;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oracle\xe\app\oracle\product\10.2.0\server\bin;C:\Program Files\CodeGear\RAD Studio\5.0\bin;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Microsoft Network Monitor 3\;C:\PROGRA~1\DISKEE~1\DISKEE~1\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_11;C:\Program Files\Sun\SDK\bin;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Program Files\Nmap
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_11-b03
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_11
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 11.0-b16
jdbc.library /C:/Program Files/sqldeveloper_new/jdbc/lib/ojdbc5.jar
line.separator \r\n
oracle.home C:\Program Files\sqldeveloper_new
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/Program Files/sqldeveloper_new/jlib/orai18n.jar
os.arch x86
os.name Windows Vista
os.version 6.0
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sun.arch.data.model 32
sun.boot.class.path C:\Program Files\Java\jdk1.6.0_11\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_11\jre\classes
sun.boot.library.path C:\Program Files\Java\jdk1.6.0_11\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 1
user.country GB
user.dir C:\Program Files\sqldeveloper_new\sqldeveloper\bin
user.home C:\Users\M
user.language en
user.name M
user.timezone Europe/London
user.variant
windows.shell.font.languages -
Hi,
I'm using SQL Server 2008R2 Reporting Services.
When i click on Web Services URL link it throws the below error.
"Report Server has encountered a SharePoint error. (rsSharePointError) Get Online Help
The system cannot find the path specified. (Exception from HRESULT: 0x80070003)"
and in the Event viewer i can see the below error for reporting services.
"Failed to unload app domain DefaultDomain. The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015)."
Any help would be greatly appreciated.Related thread has a solution:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e97b0c14-c428-4b83-b5a2-dc58eb6be258/ssrs-2008-failed-to-unload-app-domain-defaultdomain-exception-from-hresult-0x80131015?forum=sqlreportingservices
Kalman Toth Database & OLAP Architect
Free T-SQL Scripts
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
Sudden exit of Thread without Exception or Error
Hi @all,
I've got some strange problem.
Within my socket server I handle each request within a Thread. Inside this Thread, the whole code is surrounded by...
try
catch( Throwable th )
Sometimes a Thread dies without occurence of any Exception or Error.
Especially strage is, that (if it crashes) always objects of the same class and exactly the same line of code is executed last.
There is kind of logging, that is executed last, like ...
logLogger.debug( "" );
Next should be getting the instance of a Singleton, which is a database connection pool, and getting a database connection out of it.
DbConnectionPool.getInstance().getDbConnection();
Within "getInstance()", the first line of code is logging, as well as the first line of "getDbConnection()".
The logger that I use is log4j. The same code is used in many classes, but the error only occurs in few of them.
Do you have any idea, what this error could be about?
Could it be, that there is no Throwable risen in case of an error, but only the concerning Thread dies, but the whole virtual machine and other functionality works well, as before?
My system :
Suse Linux Enterprise Server Version 8 /
Suse Linux Enterprise Server Version 10
At least 4 CPUs and 8 GiB of RAM, as well as enough space on hard disk.
Java virtual machine :
Java(TM) SE Runtime Environment (build 1.6.0_20-b02), Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode) /
Java(TM) SE Runtime Environment (build 1.6.0-b105), Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
Many thanks in advance.
Bye ... ChristianThe concerning code is as follows.
The Thread class :
try
// Get AddressCount parameter from configuration.
int iAddressCount = 0;
try
iAddressCount = Integer.parseInt( elmF1755.getAttributeValue( ATT_ADDRESSCOUNT ) );
logLogger.debug( "Received AddressCount from configuration : " + iAddressCount ); *// This is the last executed line of code.*
catch( Exception ex )
throw new Exception( String.format( "Invalid configuration attribute <%1$s : %2$s : %3$s>.", Constants.FUNCTIONPARAMETER, Constants.ELM_F1755, Constants.ATT_ADDRESSCOUNT ), ex );
// Get free database connection from the pool.
clsDB = DbConnectionPool.getInstance().getDbConnection();
if( clsDB == null )
throw new Exception( "No free database connection available." );
catch( Throwable th )
String strError = th.getClass().getSimpleName() + " occured. (" + th.getMessage() + ")";
logLogger.error( strError, th );
clsResponse.clear();
clsResponse.setTag( SSI_T002_FUNCID, GLF1755_ID );
clsResponse.setFuncOrRetVal( SSI_E999_SYSERROR, strError );
return clsResponse.getResponseString();
finally
// Clean-up
if( result != null )
result.close();
logLogger.debug( "End execute." );
The DbConnectionPool code :
public static DbConnectionPool getInstance()
throws Exception
logLogger.debug( "Get instance of the DbConnectionPool." ); *// This should be executed next*
if( instance == null )
instance = new DbConnectionPool();
return ( instance );
public synchronized Connection getConnection()
logLogger.debug( "Start getConnection." ); *// This should be executed as well*
} -
Too many exception"ACCESS.ERROR: Authorization check"
We found there are too many Exception "ACCESS.ERROR: Authorization check for caller assignment to J2EE security role" occur in our Portal System with a 10 seconds interval after checking the defalutTrace file. Can anyone help us to resolve the problem?
thanks in advance.
Date : 10/29/2007
Time : 15:29:58:057
Message : ACCESS.ERROR: Authorization check for caller assignment to J2EE security role [service.jms.default.authorization : administrators] referencing J2EE security role [SAP-J2EE-Engine : administrators].
Severity : Error
Category : /System/Security/Audit/J2EE
Location : com.sap.engine.services.security.roles.SecurityRoleReference
Application : sap.com/irj
Thread : Thread[Thread-54,5,SAPEngine_Application_Thread[impl:3]_Group]
Datasource : 1193643286133:/usr/sap/EP0/DVEBMGS00/j2ee/cluster/server0/log/defaultTrace.trc
Message ID : 001125C013B40061000030D50071607A00043D9CAAE34B57
Source Name : com.sap.engine.services.security.roles.SecurityRoleReference
Argument Objs : ACCESS.ERROR,service.jms.default.authorization,administrators,SAP-J2EE-Engine,administrators,
Arguments : ACCESS.ERROR,service.jms.default.authorization,administrators,SAP-J2EE-Engine,administrators,
Dsr Component :
Dsr Transaction : 0c229a6085c811dc8856001125c013b4
Dsr User :
Indent : 0
Level : 0
Message Code :
Message Type : 1
Relatives : /System/Security/Audit/J2EE
Resource Bundlename :
Session : 3572
Source : com.sap.engine.services.security.roles.SecurityRoleReference
ThreadObject : Thread[Thread-54,5,SAPEngine_Application_Thread[impl:3]_Group]
Transaction :
User : J2EE_GUEST
Date : 10/29/2007
Time : 15:29:38:017
Message : ACCESS.ERROR: Authorization check for caller assignment to J2EE security role [SAP-J2EE-Engine : administrators].
Severity : Error
Category : /System/Security/Audit/J2EE
Location : com.sap.engine.services.security.roles.SecurityRoleImpl
Application : sap.com/irj
Thread : Thread[Thread-54,5,SAPEngine_Application_Thread[impl:3]_Group]
Datasource : 1193643286133:/usr/sap/EP0/DVEBMGS00/j2ee/cluster/server0/log/defaultTrace.trc
Message ID : 001125C013B40061000030C70071607A00043D9CA9B17F21
Source Name : com.sap.engine.services.security.roles.SecurityRoleImpl
Argument Objs : ACCESS.ERROR,SAP-J2EE-Engine,administrators,
Arguments : ACCESS.ERROR,SAP-J2EE-Engine,administrators,
Dsr Component :
Dsr Transaction : 0c229a6085c811dc8856001125c013b4
Dsr User :
Indent : 0
Level : 0
Message Code :
Message Type : 1
Relatives : /System/Security/Audit/J2EE
Resource Bundlename :
Session : 3570
Source : com.sap.engine.services.security.roles.SecurityRoleImpl
ThreadObject : Thread[Thread-54,5,SAPEngine_Application_Thread[impl:3]_Group]
Transaction :
User : J2EE_GUESTHi Jan,
I have implemented these patches usage Type EP.
CAF 13.1
SAP-JEE 13.1
SAP-JEECOR 13.3
SAP_JTECHF 13.1
SAP_JTECJS 13.1
UMEADMIN 13.2
Take a look at:
Support Packages and Patches -> SAP NetWeaver -> SAP NETWEAVER -> SAP NETWEAVER 7.0 (2004S) -> Entry by Component -> Development Infrastructure
Uwe -
The incident starts after all the members are removed from the DCS Stack DefaultCoreGroup view and added back again by WebSphere Application Server. Following exceptions are seen after LiveCycle was added back in again to the view.
We have a clustered environment with two nodes 2A and 2B. Server 2A crashed and therefore all members on 2B node were removed from the DCS view. Later the new core group view was installed but LiveCycle did resume operations as expected.
Errors below:
Exception caught while dealing with cache : Action - Get, ObjectType - UM_CLUSTER_INVALIDATION_CACHE, Exception message - Error accessing the cache container - Error on GET action for cache Replicated:UM_CLUSTER_INVALIDATION_CACHE
ServiceRegist W Cache get failed for service EncryptionService Reason: Error accessing the cache container - Error on GET action for cache
Error accessing the cache container - Error on GET action for cache Local:SERVICE_FACTORY_CACHE
The following message appeared for several different services:
Cache put failed for service [CredentialService, ReaderExtensionsService,EncryptionService, etc]
SSOSessionCle W Error in cleaning stale sessions from the database. These sessions would be deleted in next trigger
java.lang.RuntimeException: com.adobe.livecycle.cache.CacheActionException: Error accessing the cache container - Error on ENTRYSET action for cache Local:UM_ASSERTION_CACHE
at com.adobe.idp.um.businesslogic.authentication.AssertionCacheManager.removeExpiredResults( AssertionCacheManager.java:125)
at com.adobe.idp.um.scheduler.SSOSessionCleanupJob.execute(SSOSessionCleanupJob.java:69)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: com.adobe.livecycle.cache.CacheActionException: Error accessing the cache container - Error on ENTRYSET action for cache Local:UM_ASSERTION_CACHE
at com.adobe.livecycle.cache.adapter.GemfireLocalCacheAdapter.entrySet(GemfireLocalCacheAdap ter.java:219)
at com.adobe.idp.um.businesslogic.authentication.AssertionCacheManager.removeExpiredResults( AssertionCacheManager.java:99)
... 3 more
Caused by: com.gemstone.gemfire.distributed.DistributedSystemDisconnectedException: GemFire on 2B<v1>:9057/51073 started at Sun Aug 17 08:57:23 EDT 2014: Message distribution has terminated, caused by com.gemstone.gemfire.ForcedDisconnectException: This member has been forced out of the distributed system. Reason='this member is no longer in the view but is initiating connections'
at com.gemstone.gemfire.distributed.internal.DistributionManager$Stopper.generateCancelledEx ception(DistributionManager.java:746)
at com.gemstone.gemfire.distributed.internal.InternalDistributedSystem$Stopper.generateCance lledException(InternalDistributedSystem.java:846)
at com.gemstone.gemfire.internal.cache.GemFireCacheImpl$Stopper.generateCancelledException(G emFireCacheImpl.java:1090)
at com.gemstone.gemfire.CancelCriterion.checkCancelInProgress(CancelCriterion.java:59)
at com.gemstone.gemfire.internal.cache.LocalRegion.checkRegionDestroyed(LocalRegion.java:669 4)
at com.gemstone.gemfire.internal.cache.LocalRegion.checkReadiness(LocalRegion.java:2587)
at com.gemstone.gemfire.internal.cache.LocalRegion.entries(LocalRegion.java:1815)
at com.gemstone.gemfire.internal.cache.LocalRegion.entrySet(LocalRegion.java:7941)
at com.adobe.livecycle.cache.adapter.GemfireLocalCacheAdapter.entrySet(GemfireLocalCacheAdap ter.java:209)
... 4 more
Caused by: com.gemstone.gemfire.ForcedDisconnectException: This member has been forced out of the distributed system. Reason='this member is no longer in the view but is initiating connections'
at com.gemstone.org.jgroups.protocols.pbcast.ParticipantGmsImpl.handleLeaveResponse(Particip antGmsImpl.java:106)
at com.gemstone.org.jgroups.protocols.pbcast.GMS.up(GMS.java:1289)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.VIEW_SYNC.up(VIEW_SYNC.java:202)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:276)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.UNICAST.up(UNICAST.java:294)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:625)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:187)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:504)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.FD.up(FD.java:438)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.Discovery.up(Discovery.java:258)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.TP.handleIncomingMessage(TP.java:1110)
at com.gemstone.org.jgroups.protocols.TP.handleIncomingPacket(TP.java:1016)
at com.gemstone.org.jgroups.protocols.TP.receive(TP.java:923)
at com.gemstone.org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1320)
at java.lang.Thread.run(Thread.java:773)
[22/08/14 0:28:10:237 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:29:10:252 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:30:10:268 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:31:10:283 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:32:10:298 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:33:10:313 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:34:10:328 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:35:10:343 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:36:10:358 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:37:10:373 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:38:10:389 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerExceptionor
I have tried looking for the root cause about why LiveCycle was not able to resume normally, didn't find anything related.LiveCycle uses Gemfire as distributed cache for cluster members. If you are using TCP Locators (caching based on TCP instead of UDP), below are the possible situations which might lead to “ForcedDisconnectException” :
- There is time difference between two nodes.
- These is network connectivity issues.
- The high CPU usage by the member crashed.
-Wasil -
Get a popup an exception runtime error has occurred in script unable to jit debug
i get a pop up window, just-in-time debugging
An exception 'runtime error' has occurred in script.
However, no debuggers are registered that can debug this exception. Unable to JIT debug.'''I think I solved it myself yesterday, indirectly''' by deleting a Googleupdater.exe file dated 042511. It has been over 24 hours now and no sign of the 'Just-In-Time Debugger' pop-up. Whew...it was incessant.
Not sure how I got the Googleupdater.exe file on my computer. I did download Microsoft Security Essentials to help find the JIT problem, but it failed to install properly and run. The next day I remembered it probably only runs on Internet Explorer (which we deleted in 2009) after testing out Firefox. I then also deleted Security Essentials.
I also downloaded on April 25th the free version of MS Visual Basics because I read on eHow that you can adjust settings in the 'TOOL' menu to stop JIT Debugging pop-ups. However, the free version was 'MS Visual Studio Basic 2008 Express Edition - SP1' which did NOT provide access to JIT Debugging settings (so it was not a solution).
I must say I switched Internet Security programs to AVAST! on TU | Apr26th and love it so far. Highly recommend looking into AVAST! ver 6.0 at CNET downloads - free. The anti-virus program is free, but everything else costs about $30US for a year. WORTH IT Love the options | settings | flexibility|user friendly windows.
Trend Micro was then deleted. It had always blocked usage of our internal CD|DVD drive. To use the CD|DVD drive we had to shut off Trend Micro and then turn it back on again after we finished using the CD|DVD drive. NOT a preference - for sure. Jaykay
Maybe you are looking for
-
When I drag and drop a website icon from the Forefox address bar to the desk top, the short cut is created but the icon that appears is the firefox Icon. I want to disply the icon from the website that the short cut refers to. I have checked all I ca
-
I called in for help last week. I am trying to move my library from my old compurter (PC)to my new laptop. I am 71 songs short. I go to itunes, they to purchased, then click on "not in my library" then hit download. I keep getting an error message
-
Rogue email address in mail accounts
Hi, I had a mobile me account. When I transferred this to iCloud another email address (not mine) appeared, and is locked in my mail accounts. I currently can read emails, but not reply from my iCloud account via the website, nor my iPhone, but th
-
ITunes just starts playing randomly.
Hi, first time this happened. Recently iTunes just starts playing by itself randomly even hours after I stop playing it. Sometimes I am doing something else and sometimes the computer is just sitting there idle and it starts playing. iTunes is alw
-
Drill down reports using SVG component
I've created and dynamic report and an SVG chart following the examples of the tutorials. I was wondering if, and how, it was possible to create drill-down reports i.e report on colour, then clicking on that colour would reveal the types of car and s