Exception in CurrentOptionServer: java.io.FileNotFoundException: ..\webapps
Hi,
tomcat has unpacked the cardemo webapp as it is described on the jsf pages to fix this problem.
All properties are available as requested:
Exception in CurrentOptionServer: java.io.FileNotFoundException: ..\webapps\cardemo\resources\CarOptions1.properties (System could not find the path)
I'm using jwsdp1.0.1 and tomcat standalone on NT/Win2000 - IE5.5/6.
Any ideas why I still have those problems ?
Thanx
OL
Could be caching issue. I would also suggest using a later version of tomcat as sombody had pointed out in the forum.
-Jayashri
Similar Messages
-
Java.io.FilenotFoundException (bad File Discriptor)
in my project i am facing one exception that is :
Java.io.FileNotFoundException (Bad File Discriptor)
when this exception coming tell me brieflyEither your filesystem has gone awry or you are doing something wrong in your code. I suspect the latter.
Please post your formatted code using the code tags. -
AC-00023: Error: Exception: java.io.FileNotFoundException
Hi,
We are using Oracle Apps 11i on Windows 2003. Sometimes when I run autoconfig on Application Tier I get the following error.
This happens when Maintenance Mode is Enabled. But sometimes happens even when the Maintenance Mode is Disabled. Sometimes re-booting the server resolves this issue. This comes mostly for JTF_TOP.
Configuring IGS_TOP.......COMPLETED
Configuring IBY_TOP.......COMPLETED
Configuring PA_TOP........COMPLETED
Configuring JTF_TOP.......AC-00023: Error: Exception: java.io.FileNotFoundException: E:
\EBSTEST\ebstestappl\admin\EBSTEST_dvlp004.xml (The requested operation cannot be performed on
a file with a user-mapped section open) occured while writing Context file - E:\EBSTEST\ebstest
appl\admin\EBSTEST_dvlp004.xml
COMPLETED
Configuring MWA_TOP.......COMPLETED
Configuring CN_TOP........COMPLETED
Configuring CSI_TOP.......COMPLETED
Configuring WIP_TOP.......COMPLETED
Configuring CSE_TOP.......COMPLETED
Any suggestion to resolve this issue will be appreciated.
Thanks,
ThiruHi,
Even when the error comes the autoconfig completes sucessfully. Even today I go this error and I rebooted the server and it worked fine.
Very strange.
Actually I was applying Autoconfig Rollup Patch S (6372396). Many times I have seen this error in Windows platform.
Rgds -
Post Author: privet
CA Forum: JAVA
Hello !I'm geting this error but report is generating fine .Could anybody help to solve this exception Thanks[2007-07-26 19:35:57:982] DEBUG com.businessobjects.reports.sdk.JRCCommunicationAdapter :<init> :: PageViewRequestHandler has been successfully created ::(?:?) [http-8080-Processor23][2007-07-26 19:35:58:591] ERROR com.crystaldecisions.reports.exporters.format.page.rtf.b.c :logThrowable :: RTFEditableFormatted::startExport(): ::(?:?) [http-8080-Processor23]java.io.FileNotFoundException: debug.props (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at com.crystaldecisions.reports.exporters.format.page.rtf.b.c.c(Unknown Source) at com.crystaldecisions.reports.exporters.format.page.rtf.b.c.if(Unknown Source) at com.crystaldecisions.reports.a.e.a(Unknown Source) at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source) at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source) at com.businessobjects.reports.sdk.b.i.int(Unknown Source) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source) at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source) at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source) at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)Post Author: krishna.moorthi
CA Forum: JAVA
We are using the ASP.Net and Crystal Reports10.0 in our application.
we had a same problem while putting the debugger in the application.But the report is working fine.
We are using xml as a datasource for report desinging.but we are not assinging at runtime in the integeration part.When we are creating the object for ReportDocument(.NET Technology) then it is giving the IOFilenotfound exception.
If you got the solution please reply to me.
thanks in advance -
Hi All,
am getting the following error, help me out. Thanks in advance...
java.io.FileNotFoundException: test.txt (The system cannot find the file specified)
java.io.FileInputStream.open(Native Method)
java.io.FileInputStream.<init>(FileInputStream.java:106)
java.io.FileInputStream.<init>(FileInputStream.java:66)
BinaryStreamServlet.doGet(BinaryStreamServlet.java:13)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
I have placed "test.txt" in the path"D:\Backup\Tomcat web server\apache-tomcat-6.0.14\webapps\examples\WEB-INF\classes\test.txt".
web.xml entry is as follows,
<servlet>
<servlet-name>demoservlet2</servlet-name>
<servlet-class>BinaryStreamServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>demoservlet2</servlet-name>
<url-pattern>/demoservlet2</url-pattern>
</servlet-mapping>
Source code:
import java.io.*;
import java.net.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class BinaryStreamServlet extends HttpServlet{
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException{
response.setContentType("text/plain"); /* set the MIME type */
File f= new File("test.txt");
byte[] arBytes = new byte[(int) f.length()];
FileInputStream is= new FileInputStream("test.txt");
is.read(arBytes);
OutputStream os = response.getOutputStream();
os.write(arBytes);
os.flush();
}I have one Drivers.xml file in /WEB-INF that i want to read .but everytime i get exception file not found..
i m trying to read this xml file in DriverUtilties.java (a non servlet class)
inside of /WEB-INF/classess folder is there and hierarchy for non-servlet class DriverUtilties is :- com.dds.apps.ptes.pidentifier.admin.util.common.DriverUtilties
what code shall i write so that i can read the xml file. ???
where i set in classpath ?
MYCODE is like this :
public static final String DEFAULT_FILE = "/WEB-INF/drivers.xml";
InputStream in = new FileInputStream(DEFAULT_FILE);
Thanks in advance -
Hi,
I have a system developed in NetBeans 5.5 that uses a secured web service, developed on the same machine. Using the IDE I am able to configure security and get everything working. Today I installed the Sun Java Application Platform SDK on a machine to host only the secured web service portion of the system. After setting everything up, a web app on a second computer accesses the secured web service which causes a very long exception dump.
To configure access manager I've logged into the amserver webapp to configure a UserNameToken account: Access Control > Realm - sun > Subject - UserNameTokenWSP. I have added the following to the "Agent key values" list:
UserCredential=UserName:user|UserPassword:password
Except with a different username and password. I save, then deploy the web services to the app server. When the web app on an other computer calls into the web service, I get a very long stack dump. The interesting parts are:
java.io.FileNotFoundException: d:SunSDKaddonsaccessmanager\.storepass (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at com.sun.identity.saml.xmlsig.JKSKeyProvider.initialize(JKSKeyProvider.java:94)
at com.sun.identity.saml.xmlsig.JKSKeyProvider.<init>(JKSKeyProvider.java:131)
java.io.FileNotFoundException: d:SunSDKaddonsaccessmanager\.keypass (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at com.sun.identity.saml.xmlsig.JKSKeyProvider.initialize(JKSKeyProvider.java:113)
at com.sun.identity.saml.xmlsig.JKSKeyProvider.<init>(JKSKeyProvider.java:131)
[#|2007-02-22T17:09:22.030-0500|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.core.security|_ThreadID=13;_ThreadName=httpWorkerThread-8080-0;_RequestID=fc566d5e-84da-4159-ace4-2c95ba4b9038;|AMClientAuthModule.secureResponse: Failed in securing the response.|#]
[#|2007-02-22T17:09:22.046-0500|WARNING|sun-appserver-pe9.0|javax.enterprise.system.stream.err|_ThreadID=13;_ThreadName=httpWorkerThread-8080-0;_RequestID=fc566d5e-84da-4159-ace4-2c95ba4b9038;|
java.lang.NullPointerException
at com.sun.identity.wss.security.BinarySecurityToken.<init>(BinarySecurityToken.java:130)
at com.sun.identity.wss.security.AMTokenProvider.getSecurityToken(AMTokenProvider.java:142)
at com.sun.identity.wss.security.SecurityTokenFactory.getSecurityToken(SecurityTokenFactory.java:125)
at com.sun.identity.wss.security.handler.SOAPRequestHandler.secureResponse(SOAPRequestHandler.java:266)
I'm new to access manager and don't know where to start looking.
Thanks,
RyanMy previous answer was completely wrong. You are trying to open a directory as a file. You can't do that. You can use the File API to list what's in the directory, or you can open a file inside the directory.
Message was edited by:
ejp -
PeopleSoft XML Publisher report error with java.io.FileNotFoundException
Hi,
I have created two reports using XML Publisher in Peoplesoft Financials. The two reports are not related and they were submitted for processing separately. The first report completes without any issues. The second report results in error with the following message:
09.11.17 ..(CIS_POTRPT.XML_FILE.Step03) (PeopleCode)
[012309_091118154][oracle.apps.xdo.template.FOProcessor][EXCEPTION] IOException is occurred in FOProcessor.setData(String) with 'files/cis_potrpt.xml'.
[012309_091118500][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.io.FileNotFoundException: files/cis_potrpt.xml (A file or directory in the path name does not exist.)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
at java.io.FileInputStream.<init>(FileInputStream.java:89)
at oracle.apps.xdo.template.FOProcessor.getInputStream(FOProcessor.java:1316)
at oracle.apps.xdo.template.FOProcessor.getXMLInput(FOProcessor.java:1100)
at oracle.apps.xdo.template.FOProcessor.setData(FOProcessor.java:372)
at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:53)
2009-01-23-09.11.18.000418 AePcdExecutePeopleCode [174] Exception logged: RC=100.
Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51552 Statement:1153
Called from:CIS_POTRPT.XML_FILE.GBL.default.1900-01-01.Step03.OnExecute Statement:8
2009-01-23-09.11.18.000617 DoStepActions [1797] Exception logged: RC=100.
Process 598607 ABENDED at Step CIS_POTRPT.XML_FILE.Step03 (PeopleCode) -- RC = 24 (108,524)
In the process monitor detail > view log/trace page, the xml file is accessible so the file was generated to a valid directory.
The weird thing is I was able to run this report without any issues few weeks ago although another user also ran into same error. The PeopleCode step that has been identified is essentially same in the two reports. I checked the app server and the directory does exist as well as the xml files for the two reports. The problem does not occur in test environment, just in production. Any help would be appreciated.We encounter the same problem. Did you get the answer for this issue? Thanks in advance.
-
Hi all, I'm getting the next exception:
java.io.FileNotFoundException: C:\OP2\< (The name of the file, directory or volumn's label is not invalid)
Which file is talking that exception about?
I've no idea of what do this exception means.
Please help me as it's very urgent.
Thanks on advance.here you are the code:
package com.saincotrafico.optimus.jms;
import javax.jms.*;
import com.saincotrafico.optimus.xml.*;
import javax.xml.parsers.*;
import org.xml.sax.*;
import org.xml.sax.helpers.*;
import java.io.*;
import com.saincotrafico.optimus.client.gui.*;
import javax.swing.SwingUtilities;
* Description of the Class
*@author root
*@created 15 de febrero de 2002
public class XMLListener implements MessageListener
DataManager dm;
InputSource input = new InputSource();
DefaultHandler mh = null;
SAXParserFactory spf = null;
XMLReader xmlReader = null;
* Constructor for the XMLListener object
*@param dm Description of the Parameter
public XMLListener(DataManager dm)
System.out.println("AQUI");
this.dm = dm;
//mh=dm.getHandler();
spf = SAXParserFactory.newInstance();
try
SAXParser saxParser = spf.newSAXParser();
xmlReader = saxParser.getXMLReader();
} catch (Exception ex)
System.err.println(ex);
//System.exit(1);
* Description of the Method
*@param message Description of the Parameter
public void onMessage(Message message)
if (message instanceof TextMessage)
TextMessage msg = (TextMessage) message;
try
creaObjeto(msg.getText());
Runnable doSetDatos =
new Runnable()
private DefaultHandler miHandler=mh;
public void run()
System.out.println("EN RUN!!!");
dm.setDatos(miHandler);
try { Thread.sleep(30);}catch (Exception ex) { ex.printStackTrace();}
SwingUtilities.invokeLater(doSetDatos);
} catch (JMSException e)
System.out.println("Exception in onMessage(): " + e.toString());
* Description of the Method
*@param msg Description of the Parameter
private void creaObjeto(String msg)
mh = dm.getHandler();
xmlReader.setContentHandler(mh);
try
System.out.println(msg);
input.setCharacterStream(new StringReader(msg));
xmlReader.parse(msg);
}catch(Exception ex){ex.printStackTrace();}
the exception happens at xmlReader.parse(msg). -
Hello,
I am in the processing porting a J2EE based application deployed originally in OC4J to WLS. I am not changing anything as far as J2EE/Web configuration files such as web.xml. Whenever I hit the URL of the application, I am getting the below exception.
What does usually "java.io.FileNotFoundException: Response: '404: Not Found' for url...." indicate?
If you could please give me some pointers to narrow down the places to look, I would appreciate it.
Thanks,
Mustafa
java.io.FileNotFoundException: Response: '404: Not Found' for url: 'http://cayc
001geo1:7001/IUS_Editor/mapservlet'
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnectionjava:487)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConection.java:37)
at oracle.lbs.mapclient.MapViewer.getXMLResponse(MapViewer.java:6013)
at oracle.lbs.mapclient.MapViewer.getDataSources(MapViewer.java:629)
at gov.census.geo.maftiger.interactiveupdate.navigation.mapservlet.ISGegraphyController.getMapviewerDS(ISGeographyController.java:730)
at gov.census.geo.maftiger.interactiveupdate.navigation.mapservlet.ISGegraphyController.doPost(ISGeographyController.java:161)
at gov.census.geo.maftiger.interactiveupdate.navigation.mapservlet.ISGegraphyController.doGet(ISGeographyController.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.ru(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurtyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.ja
a:300)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.ja
a:184)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActiHello,
I was able to sort out this issue. I was comparing the web.xml and found out that the servlet-mapping was missing.
Thanks,
Mustafa -
File Making Directories Problem. java.io.FileNotFoundException
When ever I run my program it is SUPPOSED to make the directories, instead it tells me the file doesn't exist and fails.
Here is my Code:
* To change this template, choose Tools | Templates
* and open the template in the editor.
package passworddatamacsetup;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
* @author jacobgarber
public class Main {
* @param args the command line arguments
public static void main(String[] args) {
try {
File PasswordDATA = new File("/Applications/PasswordDATA");
PasswordDATA.mkdirs();
File passwords = new File("/Applications/PasswordDATA/PasswordFiles");
passwords.mkdirs();
File main = new File("./PasswordDATA_-_MAC.jar");
File out = new File(PasswordDATA.getPath()+"/PasswordDATA.jar");
copy(main, PasswordDATA);
JOptionPane.showMessageDialog(null, "Framework setup complete!", "Completed!", JOptionPane.INFORMATION_MESSAGE);
} catch(Exception ex) {
JOptionPane.showMessageDialog(null, ex);
// Copies src file to dst file.
// If the dst file does not exist, it is created
public static void copy(File src, File dst) throws IOException {
try {
InputStream in = new FileInputStream(src);
OutputStream out = new FileOutputStream(dst);
// Transfer bytes from in to out
byte[] buf = new byte[1024];
int len;
while ((len = in.read(buf)) > 0) {
out.write(buf, 0, len);
in.close();
out.close();
} catch (FileNotFoundException ex) {
JOptionPane.showMessageDialog(null, ex);
}Here is my exception:
java.io.FileNotFoundException: /Applications/PasswordDATAThis looks suspicious:
File out = new File(PasswordDATA.getPath()+"/PasswordDATA.jar");
copy(main, PasswordDATA);You probably meant:
File out = new File(PasswordDATA.getPath()+"/PasswordDATA.jar");
copy(main, out); -
Java.io.FileNotFoundException when running jsp
hi,all.i'm using jdev 10.1.3,migrated from 10.1.2.
when i built a new application,application template is "Web Application[JSF ADF BC]",and build a new jsp(wrote nothing),then run this jsp page,embedded OC4J Server panel prompted:NOTIFICATION J2EE JSP0008 Unable to dispatch JSP Page. and error message:java.io.FileNotFoundException: D:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\default-web-app\dandee5-ViewController-context-root\qscover.jsp
what's wrong?tiaI'm having the same problem. The error is:
2006-03-10 08:54:37.425 NOTIFICATION J2EE JSP0008 Unable to dispatch JSP Page : Exception:java.io.FileNotFoundException: C:\JDev10.1.3\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\default-web-app\partnerexpress-app\jsp\en\access\loginset.jsp (The system cannot find the path specified.
)2006-03-10 08:54:37.425 NOTIFICATION J2EE JSP0008 Unable to dispatch JSP Page : Exception:java.io.FileNotFoundException: C:\JDev10.1.3\jdev\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\default-web-app\partnerexpress-app\jsp\en\access\loginset.jsp (The system cannot find the path specified.
We are migrating from 10.1.2 environment and 10.1.3 has 2 BIG problems!
1) You cannot run your applications under JDK 1.4 !!! Our production environment is 10.1.2 app server...this means we would have to build our apps in 1.4 yet be FORCED to develop in 1.5 in order to use OC4J. Not very backwards compatible.
2) The side application navigator is not very flexible. We cannot right click a file and refactor it for example add a new file or move files via drag and drop. In addition you can't rename a file easily...you have to go to the file menu.
Any solutions to these problems ? The JDK problem is a big one for anyone moving over
to this IDE.
Help!!
Gurinder -
DMSConsole Runtime Exception stack trace: java.lang.NoClassDefFoundError
I think this is the right place to post the problem.
I've already posted my problem here ->
https://forums.oracle.com/forums/thread.jspa?threadID=2386699&tstart=0
Can you please let me know where am I missing?
Thanks.
It is removed from this link.
Edited by: OraNew2 on May 9, 2012 9:12 AMHere is the post again ->
Hi All,
I'm not sure whether this is a right area to post this problem or not. Not finding any suitable site to post.
Kindly direct me in case if it is the wrong area.
Let start my problem.
We are configuring our cognos in Linux environment. And, our DB is Oracle 11g Release 2.
Kindly find the details are as follows -
*1. Oracle version ->*
[oracle@pult ~]$ sqlplus xx/xx@BPI
SQL*Plus: Release 11.2.0.1.0 Production on Wed May 9 20:07:33 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
SQL>
SQL>
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL>
SQL>*2. Kindly find the Java version ->*
[cognos@pult ~]$ which java
/opt/jdk1.6.0_32/bin/java
[cognos@pult ~]$ java -version
java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) Server VM (build 20.7-b02, mixed mode)
[cognos@pult ~]$*3. Kindly find the JAVA path details ->*
#Java Settings
export JAVA_HOME=/opt/jdk1.6.0_32
export PATH=$PATH:/opt/jdk1.6.0_32/bin:/opt/jdk1.6.0_32/lib:/home/cognos/c8:/home/cognos/c8/webapps/p2pd/WEB-INF/lib
export CLASSPATH=$CLASSPATH:/home/cognos:/opt/jdk1.6.0_32/bin:/opt/jdk1.6.0_32/lib:/home/cognos/c8:$ORACLE_HOME/lib:/home/cognos/c8/webapps/p2pd/WEB-INF/lib*4. To start the cognos we have to copy few files from Oracle lib directory to under the following cognos directory ->*
/home/cognos/c8/webapps/p2pd/WEB-INF/lib*5. And, those copied files are ->*
-rwxr-xr-x 1 cognos cognos8 168461 Oct 30 2009 CognosCCL4J.jar
-rwxr-xr-x 1 cognos cognos8 20355 May 7 12:17 simplefan.jar
-rwxr-xr-x 1 cognos cognos8 2111220 May 7 12:17 ojdbc6.jar
-rwxr-xr-x 1 cognos cognos8 3401519 May 7 12:17 ojdbc6_g.jar
-rwxr-xr-x 1 cognos cognos8 2655741 May 7 12:17 ojdbc6dms.jar
-rwxr-xr-x 1 cognos cognos8 3423263 May 7 12:17 ojdbc6dms_g.jar
-rwxr-xr-x 1 cognos cognos8 1996228 May 7 12:17 ojdbc5.jar
-rwxr-xr-x 1 cognos cognos8 3081328 May 7 12:17 ojdbc5_g.jar
-rwxr-xr-x 1 cognos cognos8 2429777 May 7 12:17 ojdbc5dms.jar
-rwxr-xr-x 1 cognos cognos8 3101875 May 7 12:17 ojdbc5dms_g.jar
[cognos@pult lib]$
[cognos@pult lib]$*6. Linux version (32 bit) ->*
[cognos@pult ~]$ cat /proc/version
Linux version 2.6.18-274.7.1.el5PAE ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Mon Oct 17 12:05:46 EDT 2011
[cognos@pult ~]$
[cognos@pult ~]$*7. Cognos Version ->*
Cognos 8.4.1 Linux (32 bit)Now, the problem is ->
Whenever we tries to start the cognos service - It throws the following errors ->
Successfully launched a test JVM with the memory setting of '768'. Note that this does not guarantee that IBM Cognos 8 will start and run successfully.
To see which JVM options are based on this setting, view c8_location/bin/bootstrap_<OS>.xml and see your JVM documentation for an explanation of those options.
10:57:12, 'LogService', 'StartService', 'Success'.
10:57:15, 'ContentManager', 'getActiveContentManager', 'Failure'.
DPR-CMI-4006 Unable to determine the active Content Manager. Will retry periodically.
10:57:15, 'ContentManager', 'getActiveContentManager', 'Failure'.
DPR-CMI-4006 Unable to determine the active Content Manager. Will retry periodically.
10:57:16, 'AgentService', 'StopService', 'Success'.
10:57:16, 'AgentService', 'StopService', 'Success'.
10:57:16, 'MonitorService', 'StopService', 'Success'.
10:57:16, 'MonitorService', 'StopService', 'Success'.
10:57:16, 'DeliveryService', 'StopService', 'Success'.
10:57:16, 'DeliveryService', 'StopService', 'Success'.
10:57:16, 'JobService', 'StopService', 'Success'.
10:57:16, 'JobService', 'StopService', 'Success'.
10:57:16, 'com.cognos.pogo.services.DefaultHandlerService', 'pogo', 'Failure'.
DPR-DPR-1035 Dispatcher detected an error.
10:57:16, 'com.cognos.pogo.services.DefaultHandlerService', 'pogo', 'Failure'.
DPR-DPR-1035 Dispatcher detected an error.
10:57:16, 'CPS Producer Registration Service', 'StopService', 'Success'.
10:57:16, 'CPS Producer Registration Service', 'StopService', 'Success'.
10:57:15, 'com.cognos.pogo.contentmanager.coordinator.ActiveCMControl', 'pogo', 'Failure'.
DPR-DPR-1035 Dispatcher detected an error.
10:57:15, 'com.cognos.pogo.contentmanager.coordinator.ActiveCMControl', 'pogo', 'Failure'.
DPR-DPR-1035 Dispatcher detected an error.
10:57:15, CM-SYS-5007 Content Manager build 8.4.6013.0 failed to start!
Review the Content Manager log files and then contact your system administrator or customer support.
Cause: oracle/dms/console/DMSConsole Runtime Exception stack trace:
java.lang.NoClassDefFoundError: oracle/dms/console/DMSConsole
at oracle.jdbc.driver.DMSFactory.<clinit>(DMSFactory.java:45)
at oracle.jdbc.driver.PhysicalConnection.createDMSSensors(PhysicalConnection.java:4203)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:629)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:218)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:29)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:538)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at com.cognos.cm.dbstore.CMDbStoreFactory.getJDBCConnection(CMDbStoreFactory.java:2087)
at com.cognos.cm.dbstore.CMDbStoreFactory.getInitialConnection(CMDbStoreFactory.java:1937)
at com.cognos.cm.dbstore.CMDbStoreFactory.initContentIndependentBeforeLock(CMDbStoreFactory.java:2111)
at com.cognos.cm.dbstore.CMDbStore.initializeContentIndependentBeforeLock(CMDbStore.java:4596)
at com.cognos.cm.server.CMServlet.initializeContentStoreContentIndependentBeforeLock(CMServlet.java:2321)
at com.cognos.cm.server.CMServlet.init(CMServlet.java:2046)
at com.cognos.cm.server.ContentManager.start(ContentManager.java:314)
at com.cognos.cm.server.ContentManagerLifecycleHandler.start(ContentManagerLifecycleHandler.java:73)
at com.cognos.pogo.services.DefaultHandlerService.start(DefaultHandlerService.java:111)
at com.cognos.pogo.services.DispatcherServices.startInititalServices(DispatcherServices.java:426)
at com.cognos.pogo.transport.PogoServlet$PogoStartup.run(PogoServlet.java:688)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: oracle.dms.console.DMSConsole at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1444)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)
at com.cognos.pogo.isolation.ParanoidClassLoader.findClassParentLast(ParanoidClassLoader.java:186)
at com.cognos.pogo.isolation.ParanoidClassLoader.loadClass(ParanoidClassLoader.java:164)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 20 more
10:57:15,
CM-SYS-5007 Content Manager build 8.4.6013.0 failed to start!
Review the Content Manager log files and then contact your system administrator or customer support.
Cause: oracle/dms/console/DMSConsole Runtime Exception stack trace: java.lang.NoClassDefFoundError: oracle/dms/console/DMSConsole
at oracle.jdbc.driver.DMSFactory.<clinit>(DMSFactory.java:45)
at oracle.jdbc.driver.PhysicalConnection.createDMSSensors(PhysicalConnection.java:4203)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:629)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:218)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:29)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:538)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at com.cognos.cm.dbstore.CMDbStoreFactory.getJDBCConnection(CMDbStoreFactory.java:2087)
at com.cognos.cm.dbstore.CMDbStoreFactory.getInitialConnection(CMDbStoreFactory.java:1937)
at com.cognos.cm.dbstore.CMDbStoreFactory.initContentIndependentBeforeLock(CMDbStoreFactory.java:2111)
at com.cognos.cm.dbstore.CMDbStore.initializeContentIndependentBeforeLock(CMDbStore.java:4596)
at com.cognos.cm.server.CMServlet.initializeContentStoreContentIndependentBeforeLock(CMServlet.java:2321)
at com.cognos.cm.server.CMServlet.init(CMServlet.java:2046)
at com.cognos.cm.server.ContentManager.start(ContentManager.java:314)
at com.cognos.cm.server.ContentManagerLifecycleHandler.start(ContentManagerLifecycleHandler.java:73)
at com.cognos.pogo.services.DefaultHandlerService.start(DefaultHandlerService.java:111)
at com.cognos.pogo.services.DispatcherServices.startInititalServices(DispatcherServices.java:426)
at com.cognos.pogo.transport.PogoServlet$PogoStartup.run(PogoServlet.java:688)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: oracle.dms.console.DMSConsole
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1444)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)
at com.cognos.pogo.isolation.ParanoidClassLoader.findClassParentLast(ParanoidClassLoader.java:186)
at com.cognos.pogo.isolation.ParanoidClassLoader.loadClass(ParanoidClassLoader.java:164)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 20 more
10:57:16, 'ContentManagerService', 'StopService', 'Success'.
10:57:16, 'ContentManagerService', 'StopService', 'Success'.
10:57:16, 'MetadataService', 'StopService', 'Success'.
10:57:16, 'MetadataService', 'StopService', 'Success'.
10:57:16, 'SystemService', 'StopService', 'Success'.
10:57:16, 'SystemService', 'StopService', 'Success'.
10:57:16, 'BatchReportService', 'StopService', 'Success'.
10:57:16, 'BatchReportService', 'StopService', 'Success'.
10:57:16, 'ReportDataService', 'StopService', 'Success'.
10:57:16, 'ReportDataService', 'StopService', 'Success'.
10:57:16, 'EventService', 'StopService', 'Success'.
10:57:16, 'EventService', 'StopService', 'Success'.
10:57:16, 'ReportService', 'StopService', 'Success'.
10:57:16, 'ReportService', 'StopService', 'Success'.
10:57:16, 'LogService', 'StopService', 'Success'.
10:57:16, 'LogService', 'StopService', 'Success'.
[ ERROR ] CFG-ERR-0103 Unable to start IBM Cognos 8 service.
Execution of the external process returns an error code value of '1'.Not sure where went wrong. Already followed many suggestions are already there in different sites. But, so far no luck.
Is there any path I need to add in CLASSPATH other than what I have?
Also, check few oracle docs regarding the same. But, nothing can eliminate this problem.
Can you please suggest?
Really appreciate your time for reading this.
Thanks. -
Java.io.FileNotFoundException: The system cannot find the path specified
hi all.
have this problem
i have a jsp with the codes as follows:
try{
File f=new File("C:/Program Files/Apache Group/Tomcat 4.1/webapps/iiso/account.xml");
FileWriter fw=new FileWriter(f,false);
XMLConverter xmlc=new XMLConverter();
String msg=xmlc.ConvertToXML("account");
fw.write(msg);
fw.flush();
System.out.println("file printed");
}catch(IOException ioe)
System.out.println(ioe);
}it works prefectly on my comp but however when i posted it up on the dev server
which is running on tomcat 4.0
i got this error:
java.io.FileNotFoundException: P:\Program Files\Apache Tomcat 4.0\webapps\IISOelearn\account.xml (The system cannot find the path specified)
the dev server is running on P drive.
tried installing tomcat 4.0 on my com and the code runs well.
could there be other sources tt i miss out causing the error?
many thanx in advance!
=)Most probably the server has a different path setup from you.
Instead of hardcoding the full file path into your app, you should have the following
ServletContext application = getServletConfig().getServletContext();
String fileName = application.getRealPath("/account.xml");
File f = new File(fileName);The method ServletContext.getRealPath takes a WEBSITE relative link, and turns it into a real location on disk.
This makes your code completely independant of what machine it is installed on.
Cheers,
evnafets -
OracleJSP error: java.io.FileNotFoundException when submitting form
I auto-generated a task form for a very simple test and receive this error when SUBMIT-ing the form.
OracleJSP error: java.io.FileNotFoundException:
Set the init-param debug_mode to "true" to see the complete exception message
I am guessing it has something to do with the generated ADF task flow?
Details of the test:
BPM 11.1.1.4
Process: none start > Initiator user task > none end
Data: process data object based on BO based on a (simple) complex type xsd
User is Weblogic, assigned to the single process role.
That's it. The form accepts the data entry (I confirmed this previously by adding a file writer). It just generates the error in the form's pop-up window.Below is the file Empty1.jspx that you need -- (put it into public_html). No idea why it is needed, but removing it from the unbounded flow does not work. Hope this helps others.
Anthony
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<af:document id="d1">
<af:form id="f1"></af:form>
</af:document>
</f:view>
</jsp:root> -
Dear all,
I am using Blazix server, when i executing third command in the build file , i got this exception , so now i am unable to create EJB jar , please send me reply for this doubt
D:\mania\java\kum>blxejbc Jelly.jar JellyEjb.jar
Blazix EJB Compiler 1.2
Copyright (C) Desiderata Software, 2001-2006
All rights reserved
Configuration file: C:\Blazix\ejb.ini
JRMP Version
Processing Session bean "Jelly"
Validating bean classes
Generating bean support classes
Jelly: Compiling classes with javac
Jelly: Generating RMI classes
Jelly: Adding to JAR file JellyEjb.jar
java.io.FileNotFoundException: C:\Blazix\ejbtemp\pack1\JellyBeanCtx_Skel.class (
The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at desisoft.ejbtools.EjbCompiler.addZipEntry(EjbCompiler.java:79)
at desisoft.ejbtools.EjbCompiler.compileAndAddToJar(EjbCompiler.java:133
8)
at desisoft.ejbtools.EjbCompiler.compileBeans(EjbCompiler.java:449)
at desisoft.ejbtools.EjbCompiler.compile(EjbCompiler.java:224)
at desisoft.ejbtools.EjbCompiler.main(EjbCompiler.java:1513)how can we know the third command in your build file unless you put the build file here???
Maybe you are looking for
-
LaTeX cannot open files using reader 9
For some reason LaTeX and adobe reader 9 don't get along. Normally, I code my document in Latex, hit compile, and it makes the pdf and has reader open the document for viewing. However, after updating to reader 9.3 I started getting error messages sa
-
Running a report in the back groud using a another report
i have a parent program and a child program. now the child program is run using the parent program in which i must have the out put of the child program either in the back ground and in the foregroud. i'm using <b>submit</b>(in the parent program) t
-
I have a 20 page PDF, I want to create a print button which when clicked will print only pages 5 to 15. I have the following so far this.print(false, this.pageNum, this.pageNum); Cheers Chris
-
Transformation - select package in PSA
Hi, is it possible to select the PSA package durring the DTP run. The problem is, when we have more then one package already in PSA and DTP by default takes all of them and load them in the InfoProvider. You should always check the PSA first and dele
-
Weu2019re on BI7. We have been extracting the 0Material from our ECC6 into BW for few years now. The Product Hierarchy is the attribute of 0Material also. Now for some reason, the number range for the Material has been changed in ECC6. What is the im