IFS as a service
Hi. How can I make "ifsstart" to run as a service on the server (Win 2k advanced server), and not just as a regular application.
The way it is now, I need to have my user logged in on the server in order for ifs to be up!
If you are familiar with how to write code to create an NT service and are willing to do some programming, you can write a service which will simply run ifsstart when the service is started and run ifsstop when the service is stopped. You will also need to put in some kind of delay to make sure the database is ready before running ifsstart.
You will need to refer to the Windows SDK for information on creating a service.
null
Similar Messages
-
Can iFS be started as a service without passing a username/password?
Ashley,
Do you mean a NT Service. If so 9iFS does not have any services on NT.
If you don't mean NT service please describe if you mean protocols or something else. Also what version of 9iFS are important.
Hanne. -
Mapping the IFS from a Windows 2003 service
Hi,
We are trying to install Esker inbound faxing. The process involves their software receiving a file to a Windows server and transfering the file directily to the IFS using a service. My question is how do you get the service user mapping to be available to a service? We can't write the file so I'm assuming the IFS is not availablle to the service.
Thanks,
CraigHi Victor,
I think I am getting closer to understanding the problem but maybe not the solution.
The iSeries V5R4M5 has a domain of BRC.GBL defined locally (CFGTCP option 12) with a *DFT domain search list. The Host name search priority is *LOCAL.
Our Active Directory also has the BRC.GBL Domain definition.
But - when we interactivly map a drive from the windows server to the iSeries we need to use hostname/userid which to me indicates that we are requesting to use a local (not domain) user id. Then we log out and back in but the mapping is gone even though we have checked off reconnect.
Also for the user ID defined for the service, we cannot use hostname/userid but rather have to use the domain/userid. when I try and use hostname/userid in the service login I get an error that the user is not defined.
I'm not sure this helps, but hopefully my problem definition will be more clear.
Thanks,
Craig -
Running ifs and ctx as service
I am trying to run ctx and ifs as a service so that I can log off the administrator. I have created a service using the windows2000 resource toolkit, and start ifs and ctx in a .bat file for the service to run. I added two dependencies to the service: OracleTNSListener and OracleServiceORCL817. I get these errors in the log files:
**Ctx Error**
11-14-04 08/27/02 === OCO server startup ===
11-14-04 08/27/02 Initialized CORE
11-14-12 08/27/02 === Server failure ===
11-14-13 08/27/02 DRG-11100: unable to connect to the database
11-14-13 08/27/02 ORA-12560: TNS:protocol adapter error
11-14-14 08/27/02 Fail to OCIServerAttach...
11-14-15 08/27/02 === Server shutting down ===
**Agents and protocol log **
Tue Aug 27 11:00:08 CDT 2002
IfsException in starting ServerManager; FATAL
oracle.ifs.common.IfsException: IFS-10620: Unable to construct connection pool
oracle.ifs.common.IfsException: IFS-10633: Unable to create library connection
oracle.ifs.common.IfsException: IFS-10600: Unable to construct library connection
java.sql.SQLException: ORA-12560: TNS:protocol adapter error
Server Manager exiting.
My question is if it is even possible to do this and if so why don't these start?
** File Service runs**
call c:\oracle\ora817\ifs1.1\bin\ifsstart.bat
call c:\oracle\ora817\bin\ctxsrv -user ctxsys/ctxsys -log c:\oracle\ifsconfig\ctxm.log
Urgently need advice.If you have database and iFS on one computer, your problem is probably the sequence of starting services.
You probably don't have database or/and listener started by the time you start iFS.
Maybe the solution is to modify your scripts to check that database is started or to wait some time before starting iFS.
Alexandre -
I am currently trying to find a way to connect to IFS remotely and obtain a LibrarySession.
So far I have a 9i client installed and I have a file called service.properties (altered copy of IfsDefault.properties) in an identical file structure to that of the IFS server ('D:\oracle\ora90\9ifs\settings\oracle\ifs\server\properties').
I have altered the service.properties to include the following lines.
IFS.SERVICE.JDBC.Schema=myschema
IFS.SERVICE.JDBC.User=myuser
IFS.SERVICE.JDBC.CredentialManagerIfsSchema=myCredentialManager
IFS.SERVICE.JDBC.DatabaseUrl=jdbc:oracle:oci8:@myDbUrl
My problem is when I try to run the follwing code to connect to the LibraryService.
public LibraryService startService()
String serviceName = getServiceName();
String schemaPassword = getSchemaPassword();
LibraryService service = null;
try
service = LibraryService.findService(serviceName);
catch (Throwable e)
e.printStackTrace();
return service;
All this returns is:
oracle.ifs.common.IfsException: IFS-20100: Unable to find service (IfsDefault)
oracle.ifs.common.IfsException: IFS-20120: Invalid service name (serviceName)
at oracle.ifs.server.S_LibraryService.findService(S_LibraryService.java:1328)
Can anybody help, as the documentation is a little light on this topic.
Its gotta be worth it for a beer right?First off, what does your getServiceName() method return? It looks like it's returning "IfsDefault" which is bad, since your service configuration file is called "service.properties". (Meaning, the service name would be "service".)
Secondly, when you start up a new application (in a standalone JVM), you're not going to have any running LibraryService instances. So of course, LibraryService.findService is not going to find your service. So here's how you can obtain a connected LibrarySession to a 9iFS LibraryService:
public LibrarySession getLibrarySession( String username,
String password,
String service,
String schemaPassword )
throws IfsException
CleartextCredential cc =
new CleartextCredential(username, password);
ConnectOptions co = new ConnectOptions();
if( LibraryService.isServiceStarted(service) )
return LibraryService.findService(service).connect(cc, co);
else
return LibraryService.startService(
service, schemaPassword ).connect(cc, co);
} -
Jdeveloper problem with webstarterapp2
Hi all;
I tried to setup a single development machine using webstarterapp2. I have Oracle CM SDK and Application Server installed on another machine. Following the readme from Oracle, I did everything required.
When I start the webstarterapp2 on my development machine, the logon page appears. I logon using system/password user. However, the following error message is displayed on the index.jsp:
IFS-20103: Unable to get sessions
Checking the log file, I also found the following error lines. What could be missing?
Please help.
05/02/26 19:58:59 Started
05/02/26 19:59:01 TAV-DYS-webapp: JDevOJSP: init
05/02/26 19:59:01 TAV-DYS-webapp: Version: 1.0 LOGGING: init
05/02/26 19:59:02 TAV-DYS-webapp: Version: 1.0 LOGGING: Debugging is on
05/02/26 19:59:02 TAV-DYS-webapp: Version: 1.0 LOGGING: [WebStarterAppServlet 1] init() called.
05/02/26 19:59:02 TAV-DYS-webapp: Version: 1.0 LOGGING: [WebStarterAppServlet 1] standalone mode.
05/02/26 19:59:02 TAV-DYS-webapp: LOGGING: Unable to start service: WebStarterAppServer
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (WebStarterAppServer)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (null)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (SmallServiceConfiguration)
oracle.ifs.common.IfsException: IFS-20012: Invalid service configuration name (SmallServiceConfiguration)
at oracle.ifs.common.IfsException.<init>(IfsException.java:300)
at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:732)
at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:503)
at oracle.ifs.beans.LibraryService.startService(LibraryService.java:366)
at common.StandaloneIfsServer.<init>(StandaloneIfsServer.java:35)
at view.WebStarterAppServlet.init(WebStarterAppServlet.java:181)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2094)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4523)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4617)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:765)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:497)
at com.evermind.server.Application.getHttpApplication(Application.java:886)
at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:688)
at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:420)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:422)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
05/02/26 19:59:02 TAV-DYS-webapp: 9.0.4.0.0 Started
05/02/26 19:59:11 TAV-DYS-webapp: Version: 1.0 LOGGING: LogonAction: FileAction: executeAction() entered
05/02/26 19:59:11 TAV-DYS-webapp: Version: 1.0 LOGGING: LogonAction: logon the user saving database session in logonBean
05/02/26 19:59:11 TAV-DYS-webapp: Version: 1.0 LOGGING: [LogonAction] Exception:
oracle.ifs.common.IfsException: IFS-20103: Unable to get sessions
at oracle.ifs.common.IfsException.<init>(IfsException.java:344)
at model.LogonBean.connect(LogonBean.java:92)
at view.LogonAction.doAction(LogonAction.java:77)
at view.FileAction.executeAction(FileAction.java:97)
at view.FileAction.execute(FileAction.java:57)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at view.WebStarterAppServlet.process(WebStarterAppServlet.java:246)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:778)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)Probably an issue with the JRE used by JDev. on Win 2k. Have you tried 3.2x? I haven't seen that type of issue with it on Win 2k.
-
I am using CMSDK API to connect to oracle CM SDK by using the following statement
service = LibraryService.startService(serviceName, schemapassword, serviceConfig, domain);
but i have following exception
oracle.ifs.common.IfsException: IFS-20100: Unable to find service (MODService)
oracle.ifs.common.IfsException: IFS-20120: Invalid service name (MODService)
at oracle.ifs.common.IfsException.<init>(IfsException.java:300)
at oracle.ifs.server.S_LibraryService.findService(S_LibraryService.java:1540)
at oracle.ifs.beans.LibraryService.findService(LibraryService.java:274)
at com.raya.mod.cmsdk.IfsManager.connectToRepository(IfsManager.java:25)
at com.raya.mod.cmsdk.IfsManager.main(IfsManager.java:78)
i need to know if i am using wrong service name , where can i find the right service name ?and what is the Service name ?There is a table in the CMSDK that will give you the service name. You can also login to the Application Server Control and under the CMSDK pages it will tell you the default service. It is usually IfsDefaultService, unless you change it.
-
Unable to start ifs service after database is restarted
Hi All,
I am getting this weird problem with iFS. I have web application where I connect to iFS to read some of the documents. The problem is when the database is stopped and started with App server still running (ifs is also up and running)... I am getting the following error message.
Any help will be greatly appreciated. I have also attached the java class which I am using to get connection...
oracle.ifs.common.IfsException: IFS-21008: Unable to connect to iFS service
oracle.ifs.common.IfsException: IFS-11013: Unable to start inter-service event exchanger
java.sql.SQLException: No more data to read from socket
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:857)
at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:731)
at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:690)
at oracle.jdbc.ttc7.Oopen.receive(Oopen.java:103)
at oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:466)
at oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:413)
at oracle.jdbc.driver.OracleConnection.privateCreateStatement(OracleConnection.java:470)
at oracle.jdbc.driver.OracleConnection.createStatement(OracleConnection.java:379)
at oracle.ifs.server.S_LibraryServiceRdbmsEventExchanger.start(S_LibraryServiceRdbmsEventExchanger.java:243)
at oracle.ifs.server.S_LibraryService.addSession(S_LibraryService.java:2695)
at oracle.ifs.server.S_LibrarySession.<init>(S_LibrarySession.java:1961)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.ifs.server.S_LibraryService.constructSession(S_LibraryService.java:2566)
at oracle.ifs.server.S_LibraryService.connect(S_LibraryService.java:2359)
at oracle.ifs.beans.LibraryService.connect(LibraryService.java:977)
at com.comp.test.utils.iFSSession.getIfsConnection(iFSSession.java:73)
at com.comp.test.controller.ReportRequestAction.processRequest(ReportRequestAction.java:95)
at com.comp.test.controller.ReportRequestAction.execute(ReportRequestAction.java:64)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
--java code
if(!LibraryService.isServiceStarted(serviceName)) {
service = LibraryService.startService(serviceName,servicepasswd);
} else {
service = LibraryService.findService(serviceName);
//CredentialManager to authenticate a user
CleartextCredential cred = new CleartextCredential(name, password);
ConnectOptions connectOpt = new ConnectOptions();
//Sets and gets the Locale of the new session.
connectOpt.setLocale(Locale.getDefault());
//Connects to iFS, establishing a new LibrarySession
ifsSession = service.connect(cred, connectOpt);
//Set the administrator mode state for this session
ifsSession.setAdministrationMode(true);
return ifsSession;I am using the following class to get ifs session from IfsHttpLogin
public class TestIfsSession implements IfsHttpLogin {
* The <code>LibrarySession</code>.
private LibrarySession m_session;
* The <code>FolderPathResolver</code>.
private FolderPathResolver m_resolver;
* Default constructor required by the jsp spec for the USEBEAN tag
* @exception IfsException
public TestIfsSession() throws IfsException {
public void init(LibrarySession libSession)
this.m_session = libSession;
* Return the login's session object.
* @return The <code>LibrarySession</code> object.
public LibrarySession getSession() {
return m_session;
* Return the login's path resolver.
* @return The <code>FolderPathResolver</code> object.
public FolderPathResolver getResolver() {
return m_resolver;
* Called when this object is bound to the HTTP session object.
* @param event
* The event when the object is bound to the Http session.
public void valueBound(HttpSessionBindingEvent event) {
// do nothing
m_category.debug("value bound : ");
* Called when this object is unbound from the HTTP session object.
* @param event
* The event when the object is unbound to the Http session.
public void valueUnbound(HttpSessionBindingEvent event) {
m_resolver = null;
try {
if (m_session != null) {
m_category.debug("removing connection: valueUnbound " + m_session);
m_session.disconnect();
} catch (IfsException e) {
e.printStackTrace();
} finally {
m_session = null; // release the resources
System.gc(); -
IFS-20010 Unable to get service configuration
Hi,
I'm trying to connect to iFS from a Java application. Basically it's a remote server which we'll connect to using RMI for some integration work. It will run on the same server as CM SDK.
Anyway, I try and connect to the service using:
LibraryService.startService(name, schemaPassword, serviceConfig, domainName)
and it comes back with this error:
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (SmallServiceConfiguration)
java.lang.NullPointerException
at oracle.gss.util.NLSLocale.getNLSLanguage(NLSLocale.java:675)
I'm running it from the command line, I have a batch file to set the classpath. Interestingly, if I run an Agent (i.e., a java class that extends oracle.ifs.management.domain.IfsServer) standalone, it works fine.
This makes me think there's some element of the classpath that I'm missing, but I'm not entirely sure what!
Could anyone shed any light on this? Metalink doesn't seem to have anything!
Cheers,
Phill
P.S. -- my CLASSPATH is as follows:
set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%\ifs\cmsdk\lib\cmsdk.jar;%ORACLE_HOME%\lib;
set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%\jdbc\lib\classes12.zip;%ORACLE_HOME%\j2ee\home\lib;
set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%\j2ee\home\jazn.jar
set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%\jdbc\lib\nls_charset12.jar
set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%\ifs\cmsdk\settings\Just FYI, the solution to this was that the java security policy was denying access. I changed the java.policy to
grant {
permission java.security.AllPermission;
And this solved the problem. -
Hi,
i am trying to make XML/SOAP based Web services work with iFS
Let me give u the exact details of the what i am trying to achieve.
I have a stateless session bean method which i am exposing as a webservice.
This method invokes the IFS API.
I do something like this :
// inside the webservice method
callingIFS( );
=====================================================
public void callingIFS() {
LibraryService service = LibraryService.startService("IfsDefault", "ifssys");
CleartextCredential cred = new CleartextCredential("system","system");
====================================================
When it comes to the LibraryService it fails to start the service.
======================================================
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (IfsDefault)
=========================================================
It is unable to locate the properties file.
Could someone tell me what the problem could be
Thanks in advance
ArvindThe problem is that your webservice JVM cannot locate the LibraryService properties file named "IfsDefault.properties" which comes with the iFS software installation. This means that either the CLASSPATH used by your webservice JVM does not include the location of the properties file or the file is not in the location specified in the CLASSPATH. It depends on how you have configured your environment.
Note that in later versions of iFS, the LibraryService properties are stored in the database, and you no longer need to have the properties file location specified in the database. -
IFS 9 : TNS:could not resolve service name
Hello,
I have this message when Trying to connect in Java to IFS 1.2 :
oracle.ifs.common.IfsException: IFS-21008: Unable to connect to
iFS service
java.sql.SQLException: ORA-12154: TNS:could not resolve service
name
I have been developing with IFS 1.16 for a while but now I have
to upgrading to IFS 9 (1.2). To set up my development
environment I did the same thing that I did for the version 1.1.6
1- Copying all Jar from D:\oracle\ora90\9ifs\lib and I had
them to my classpath
2- Copying the folders under D:\oracle\ora90\9ifs\settings
to have access to the IfsDefault.properties. file.
3- I got the new JDBC driver and Oracle Client 9 on my
developer station.
IfsDefault.properties is pointing to the right TSN. When I test
my TSN (orcl) with the SQL+ it works just fine. I tried to use a
Invalid Ifs Service Name instead of IfsDefault too see if I got
a different error message and no, I got the same error. It looks
like the environment doesn’t find the IfsDefault.properties
file ?
Any Idea of it could be ?
There is the code that I use to connect :
LibraryService service = new LibraryService();
CleartextCredential cred = new CleartextCredential
(username, password);
ConnectOptions options = new ConnectOptions();
options.setLocale(Locale.getDefault());
options.setServiceName(repository);
options.setServicePassword(repositoryPass);
_ifsSession = service.connect(cred, options);
// Doit mettre explicitement le Admin flag dans la
Session
DirectoryUser user = _ifsSession.getDirectoryUser();
_ifsSession.setAdministrationMode(user.isAdminEnabled
_logger.info("user " + user +" is now connected to
Ifs " + repository + ", " + _loggedUserCounter + " connected.");
Thank youLooks like your TNSnames is not properly configured .. Did you
try to do a sqlplus from the command prompt to see if you can
connect to SQLPlus ?? -
Multiple ifs services each with its own agents
I would like to be able to do the following:
Ability to run multiple ifs applications on the same box (beefy one) each with its own set of agents. Ifs 1.0 config tool (ifsconfig) always creates IfsDefault.props file. Can I rename that file to something else and use the new name as the service name in the application?
What about the agents defs? Do I need different server managers? How do I tell which service relates to which server manager?
I would like to know how to do this on both ifs 1.0 and ifs 1.1.
Thanks.
nullDoes anyone know the answer to this?
-
IFS-20010 : Unable to get service configuration properties
Hi all,
I am trying to connect to IFS using JDeveloper. I have coded a JSP which makes a call to my java class to connect.
I know that I can connect from my machine because I can run a simple application from the command line to create
a file in IFS.
Anyway, I set up my classpath under Project Settings as follows (same as my classpath on command line):
C:\oracle\JDeveloper\9ifs\settings;.;C:\DOCUMENT\jars\adk.jar;C:\DOCUMENT\jars\email.jar;
C:\DOCUMENT\jars\repos.jar;C:\DOCUMENT\jars\utils.jar;C:\DOCUMENT\jars\xmlparserv2.jar;
C:\oracle\ora90\jdbc\lib\classes12.zip
When I run the jsp under JDeveloper I get the following output on my developer console.
Should the classpath value be what I have entered for my classpath under Project Settings?
Any help is appreciated,
Paul
C:\jdev9i_902\jdk\bin\javaw.exe -ojvm -classpath C:\jdev9i_902\j2ee\home\oc4j.jar com.evermind.server.OC4JServer -config C:\jdev9i_902\jdev\system\oc4j-config\server.xml
[Starting OC4J using the following ports: HTTP=9011, RMI=23916, JMS=9252.]
[waiting for the server to complete its initialization...]
Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
Target URL -- http://127.0.0.1:9011/maps-ifs-context-root/docScreens/test.jsp
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (IfsDefault)
void oracle.ifs.common.IfsException.<init>(int, java.lang.Object[])
oracle.ifs.common.AttributeValue[] oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(java.lang.String)
oracle.ifs.beans.LibraryService oracle.ifs.beans.LibraryService.startService(java.lang.String, java.lang.String)
oracle.ifs.beans.LibrarySession com.fujitsu.docHandler.dao.BusinessDocument_IFS_DAO.connect(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
void com.fujitsu.docHandler.dao.BusinessDocument_IFS_DAO.<init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
void docscreens.testForm._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run()Did anyone find a solution to the problem described in this thread?
I have made a simple stateless session bean in JDeveloper from which I try to connect to iFS. If I use the
embedded oc4j container in JDeveloper, I get the following exception:
Standard output of the EJB:
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (IfsDefault)Print stacktrace:
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (IfsDefault)
void oracle.ifs.common.IfsException.<init>(int, java.lang.Object[])
oracle.ifs.common.AttributeValue[] oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(java.lang.String)
oracle.ifs.beans.LibraryService oracle.ifs.beans.LibraryService.startService(java.lang.String, java.lang.String)
oracle.ifs.beans.LibrarySession xpackage1.impl.XSessionEJBBean.startSession(java.lang.String, java.lang.String)
oracle.ifs.beans.LibrarySession XSessionEJB_StatelessSessionBeanWrapper0.startSession(java.lang.String, java.lang.String)
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run()
The test client gets these messages:
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (IfsDefault)
If I use oc4j in the application server, then I get the following exception:
Standard output of the EJB:
Localized message: IFS-20102: Message unavailableMessage: IFS-20102: Message una
vailableTo string :oracle.ifs.common.IfsException: IFS-20102: Message unavailabl
e
oracle.ifs.common.IfsException: IFS-20122: Message unavailable
oracle.ifs.common.IfsException: IFS-12000: Message unavailable
java.util.MissingResourceException: Can't find bundle for base name oracle.ifs.b
eans.resources.LibraryResources, locale no_NOPrint stacktrace:
oracle.ifs.common.IfsException: IFS-20102: Message unavailable
oracle.ifs.common.IfsException: IFS-20122: Message unavailable
oracle.ifs.common.IfsException: IFS-12000: Message unavailable
java.util.MissingResourceException: Can't find bundle for base name oracle.ifs.b
eans.resources.LibraryResources, locale no_NO
void java.util.ResourceBundle.throwMissingResourceException(java.lang.St
ring, java.util.Locale)
java.util.ResourceBundle java.util.ResourceBundle.getBundleImpl(java.lan
g.String, java.util.Locale, java.lang.ClassLoader)
java.util.ResourceBundle java.util.ResourceBundle.getBundle(java.lang.St
ring, java.util.Locale)
void oracle.ifs.common.Localizer.<init>(java.util.Locale, oracle.ifs.bea
ns.LibrarySession)
void oracle.ifs.common.Localizer.<init>(java.util.Locale)
void oracle.ifs.common.Localizer.<init>()
void oracle.ifs.server.S_LibraryService.<init>(java.lang.String, java.la
ng.String, oracle.ifs.common.AttributeValue[])
oracle.ifs.server.S_LibraryService oracle.ifs.server.S_LibraryService.st
artService(java.lang.String, java.lang.String, oracle.ifs.common.AttributeValue[
oracle.ifs.beans.LibraryService oracle.ifs.beans.LibraryService.startSer
vice(java.lang.String, java.lang.String, oracle.ifs.common.AttributeValue[])
oracle.ifs.beans.LibraryService oracle.ifs.beans.LibraryService.startSer
vice(java.lang.String, java.lang.String)
oracle.ifs.beans.LibrarySession xpackage1.impl.XSessionEJBBean.startSess
ion(java.lang.String, java.lang.String)
oracle.ifs.beans.LibrarySession XSessionEJB_StatelessSessionBeanWrapper0
.startSession(java.lang.String, java.lang.String)
java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.
lang.Object[])
void com.evermind.server.rmi.RMICallHandler.run(java.lang.Thread)
void com.evermind.util.ThreadPoolThread.run()
The test client gets theese messages:
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
oracle.ifs.common.IfsException: IFS-20122: Unable to construct service
oracle.ifs.common.IfsException: IFS-12000: Unable to construct localizer
java.util.MissingResourceException: Can't find bundle for base name oracle.ifs.beans.resources.LibraryResources, locale no_NO
java.util.MissingResourceException: Can't find bundle for base name oracle.ifs.beans.resources.LibraryResources, locale no_NO
The classpath of the actual project in JDeveloper is:
C:\oracle\ora92ias\9ifs\settings;C:\oracle\ora92ias\9ifs\lib\adk.jar;C:\oracle\ora92ias\9ifs\lib\email.jar;C:\oracle\ora92ias\9ifs\lib\repos.jar;C:\oracle\ora92ias\9ifs\lib\utils.jar;C:\oracle\ora92\jdbc\lib\classes12.jar;C:\oracle\ora92ias\lib\xmlparserv2.jar;C:\oracle\ora92ias\j2ee\home\oc4j.jar;C:\oracle\ora92ias\j2ee\home\ejb.jar;C:\oracle\ora92ias\j2ee\home\jaas.jar;C:\oracle\ora92ias\j2ee\home\jaxp.jar;C:\oracle\ora92ias\j2ee\home\jdbc.jar;C:\oracle\ora92ias\9ifs\lib\http.jar;C:\oracle\ora92ias\9ifs\lib\provider.jar;C:\oracle\ora92ias\9ifs\lib\webui.jar;C:\oracle\ora92ias\jlib\javax-ssl-1_2.jar;C:\oracle\ora92ias\jlib\jssl-1_2.jar
Other information:
I have oracle 9i, application server and iFS installed on one machine with the windows advanced server 2000 os.
Does anyone know what I can do in order to solve this problem?
Thanks,
Anne Sommerhein -
Help needed!!: Running two the same Ifs services on the same database.
Hello!
I would like to know if it is ok to have started two LibraryServices at the same time on the same database.
For example:
One LibraryService that is using "IfsDefault.properties" and running on default Apache Jserv (default IFS configuration).
Second LibraryService that is using the same "IfsDefault.properties" (the same database) and running on Tomcat.
I wanted to connect to LibraryService that is already started, but I have read in the documentation that I can do this by finding LibraryService, but only when it is running in the same process. So to have access I have to start my own service connecting to the same database as one that is already running in Jserv.
Is it ok to have such configuration?
Or maybe there is allowed only one LibraryService for one database?
Can somebody help?
Piotr Walendziakyou can have multiple LibraryService instances, each pointing to different databases, or all pointing to the same database. LibraryService instances are name-unique, however, so you must give each one its own name. also, they can all be active in the same process (JVM).
-
IFS-10110: Unable to construct directory service
just installed ifs1.1, tried to run the HelloWorld example and I am getting the following exception when I am trying to connect:
IFS-10110: Unable to construct directory service
CleartextCredential me = new CleartextCredential("system", "manager");
ConnectOptions connectOpts = new ConnectOptions();
connectOpts.setLocale(Locale.getDefault());
connectOpts.setServiceName("IfsDefault");
connectOpts.setServicePassword("ifspassword");
LibrarySession ifsSession = ifsService.connect(me,connectOpts);
The IfsDefault.properties is on my classpath, code compiles fine, what I am doing wrong?
Thanks, Markus
nullI am using 8.1.7 drivers, I also saw posts from last year talking about java 1.2 versus 1.8. Does that still apply?
oracle.ifs.common.IfsException: IFS-10110: Unable to construct directory service
oracle.ifs.common.IfsException: IFS-10140: Unable to instantiate credential manager Ifs
java.lang.reflect.InvocationTargetException at oracle.ifs.server.IfsCredentialManager.getVersionNumber(IfsCredentialManager.java:725)
at oracle.ifs.server.IfsCredentialManager.verifyVersion(IfsCredentialManager.java:1046)
at oracle.ifs.server.IfsCredentialManager.<init>(IfsCredentialManager.java:195)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.ifs.server.DirectoryService.<init>(DirectoryService.java, Compiled Code)
at oracle.ifs.server.S_LibraryService.<init>(S_LibraryService.java, Compiled Code)
at oracle.ifs.server.S_LibraryService.startService(S_LibraryService.java:1129)
at oracle.ifs.beans.LibraryService.connectLocal(LibraryService.java:408)
at oracle.ifs.beans.LibraryService.connect(LibraryService.java:280)
Maybe you are looking for
-
My main page has disapeared I can only see the piano roll editor
In one of my songs in Logic Pro X only the piano roll is visible - I cant see the main page or access any other editors
-
Web AS 640 Sneak preview Installation fails
Hello All, I recieve an Error while installing WAS 640. I downloaded the file WAS installer , Extracted it and as described started the sapinst.exe Installation starts but when it reaches Second step that is "SAP System Installation" it fails with
-
No service - Bon Wier, Tx
I have used Verizon cell phones for many years, and all of the sudden, the last 2 weeks, my service has been horrible to non-existant. Previously, I could talk on my phone @ home without and problems. I would have great service, usually 5 bars. Th
-
Is it possible to automate Firefox using Excel VBA
We have done automating Internet explorer using VBA, Now we have few projects which supports and do working on Mozilla only , ..so need to automate the applications in firefox using VBA excel macros . I heard it is possible by adding and regestring s
-
How to Calculate over head for a material?
Dear Experts, How to Calculate over head for a material? please explain me step by step. Regards, Santhosh Moderator: Please, avoid asking basic questions