IfsException: IFS-10600
Hi.
I have followed all the steps I have been able to find for creating a connection from a NT workstation to IFS 1.1 on a Solaris Box.
Important error messages:
IfsException: IFS-10600: Unable to construct library connection
java.sql.SQL
Exception: ORA-12154: TNS:could not resolve service name
I have installed oracle NT client 8.1.7
I think the tnsnames.ora file may be in the wrong place (the client is installed in D:\oracle). Do I need to put it's location in the class path? Please help.
I am putting the whole stack trace below:
C:\Program Files\Oracle\JDeveloper 3.2\jdk1.3.0_01\jre\bin\java" -XXdebug -mx50m -classpath "C:\Program Files\Oracle\JDeveloper 3.2\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDeveloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\webtogo.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\ojsp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\servlet.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbcl2.0.zip;C:\Program Files\Oracle\JDeveloper 3.2\jfc\lib\swingall.jar;C:\Program Files\Oracle\JDeveloper 3.2\ifs\lib\adk.jar;C:\Program Files\Oracle\JDeveloper 3.2\ifs\lib\email.jar;C:\Program Files\Oracle\JDeveloper 3.2\ifs\lib\release.jar;C:\Program Files\Oracle\JDeveloper 3.2\ifs\lib\repos.jar;C:\Program Files\Oracle\JDeveloper 3.2\ifs\lib\utils.jar;C:\Program Files\Oracle\JDeveloper 3.2\ifs\settings;C:\Program Files\Oracle\JDeveloper 3.2\jdk1.3.0_01\lib\dt.jar;C:\Program Files\Oracle\JDeveloper 3.2\jdk1.3.0_01\jre\lib\rt.jar;C:\Program Files\Oracle\JDeveloper 3.2\jdk1.3.0_01\jre\lib\i18n.jar" package2.Dgw
System Output: oracle.ifs.common.IfsException: IFS-10620: Unable to construct connection pool
System Output: oracle.ifs.common.IfsException: IFS-10633: Unable to create library connection
System Output: oracle.ifs.common.IfsException: IFS-10600: Unable to construct library connection
System Output: java.sql.SQL
System Output: Exception: ORA-12154: TNS:could not resolve service name
System Output:
System Output:
System Output: oracle.ifs.server.S_LibraryService oracle.ifs.server.S_LibraryService.startService(java.lang.String, java.lang.String) (S_LibraryService.java:1129)
System Output: oracle.ifs.server.S_LibrarySessionInterface
System Output: oracle.ifs.beans.LibraryService.connectLocal(oracle.ifs.common.Credential, oracle.ifs.common.ConnectOptions) (LibraryService.java:408)
System Output: oracle.ifs.beans.LibrarySession oracle.ifs.beans.LibraryService.connect(oracle.ifs.common.Credential, oracle.ifs.commo
System Output: n.ConnectOptions) (LibraryService.java:280)
System Output: java.lang.String[] package2.ListFolder.getContents(java.lang.Long) (ListFolder.java:57)
System Output: void package2.Frame1.setPanelVisible(int) (Frame1.java:170)
System Output: void package2.Frame1$1.actionPerformed(java.awt.event.Act
System Output: ionEvent) (Frame1.java:544)
System Output: void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent) (AbstractButton.java:1450)
System Output: void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent) (AbstractButton.java:150
System Output: 4)
System Output: void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent) (DefaultButtonModel.java:378)
System Output: void javax.swing.DefaultButtonModel.setPressed(boolean) (DefaultButtonModel.java:250)
System Output: void javax.swing.plaf.basic.BasicButtonListene
System Output: r.mouseReleased(java.awt.event.MouseEvent) (BasicButtonListener.java:216)
System Output: void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent) (Component.java:3717)
System Output: void java.awt.Component.processEvent(java.awt.AWTEvent) (Component.java:3546)
System Output: void j
System Output: ava.awt.Container.processEvent(java.awt.AWTEvent) (Container.java:1164)
System Output: void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent) (Component.java:2595)
System Output: void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent) (Container.java:1213)
System Output: void java.a
System Output: wt.Component.dispatchEvent(java.awt.AWTEvent) (Component.java:2499)
System Output: void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent) (Container.java:2451)
System Output: boolean java.awt.LightweightDispatcher.processMouseEvent(j
System Output: ava.awt.event.MouseEvent) (Container.java:2216)
System Output: boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent) (Container.java:2125)
System Output: void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent) (Container.java:1200)
System Output: void java.awt.Window.dis
System Output: patchEventImpl(java.awt.AWTEvent) (Window.java:912)
System Output: void java.awt.Component.dispatchEvent(java.awt.AWTEvent) (Component.java:2499)
System Output: void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent) (EventQueue.java:319)
System Output: boolean java.awt.EventDispatchThread.p
System Output: umpOneEvent() (EventDispatchThread.java:103)
System Output: void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional) (EventDispatchThread.java:93)
System Output: void java.awt.EventDispatchThread.run() (EventDispatchThread.java:84)
System Output:
null
Originally posted by Luis:Did you install iFS on the Windows box, into the same ORACLE_HOME as the Oracle client? Or did you just copy the .jar files over (or use the ones that come with JDeveloper) and then write and compile a custom app?
I did not install iFS on the Windows box at all (Do I need to?). I'm using the .jar files that came with JDeveloper.Where did you get the
C:\Program Files\Oracle\JDeveloper 3.2\ifs\settings directory?
I copied the whole \settings directory (with no changes) from the server where iFS is installed into the existing ifs directory on my NT workstation under Oracle/JDeveloper.you should be able to cd to: ...\ifs\settings\oracle\ifs\server\properties -- do so and then you should see at least one .properties file. Hopefully you'll find a ServerManager.properties file, since that's the service name you specified in the code you're using to connect to iFS.
Yes, ServerManager.properties is there. I'm going to paste it below along with TNS name. Unfortunately it appears that the service name "World" is in both files. Or if that is not correct could you say exactly how it should be written.TNS names:
# TNSNAMES.ORA Network Configuration File: D:\Oracle\Ora81\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
WORLD.US.SAS.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = sonoma.unx.sas.com)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = world)
ServerManager.properties: (not everything, this file is long):
AuroraService=false
Driver=oracle.jdbc.driver.OracleDriver
User=IFSSYS
DatabaseUrl=jdbc:oracle:oci8:@world
JdbcTracing=false
DefaultRowPrefetch=0
CaseSensitiveAuthentication=false
CredentialManagers=Ifs
CredentialManagerIfsClassname=oracle.ifs.server.IfsCredentialManager
CredentialManagerIfsAlternateNames=IFS, DEFAULT
CredentialManagerIfsSchema=IFSSYS$CM
CredentialManagerIfsRdbmsUserMustExist=false
CredentialManagerIfsAcceptCleartextCredential=true
CredentialManagerIfsAcceptChallengeResponseCredential=true
CredentialManagerIfsAcceptHttpDigestCredential=true
CredentialManagerIfsAcceptTokenCredential=true
NOTE: sonoma.unx.sas.com is the server where the oracle database is located. However munin.unx.sas.com is the server where ifs is located. When I use sql*plus I am connecting to sonoma and the database, not iFS. I believe this is correct and this is what my java app should also connect to (sonoma not munin). munin doesn't have a service name and there is no way for the client software to connect to it. Is this correct or could this be causing the problem?
Thanks so much for your help.
-Nick
null
Similar Messages
-
IfsException (IFS-10811) starting the example LoggingAgent
Hi,
I am trying to write my own Agent for iFS 9.0.1.
The compilation goes fine but when trying to launch it in standalone mode,
an exception occurs.
To be sure it is not an implementation problem, I tried to launch the
LoggingAgent provided in the "samplecode" folder. I get the same error:
10/10/02 4:22 PM LoggingAgent: Requested to start
10/10/02 4:22 PM LoggingAgent: Starting
10/10/02 4:22 PM LoggingAgent: Start request
10/10/02 4:22 PM LoggingAgent: Pre-run failed
10/10/02 4:22 PM LoggingAgent: oracle.ifs.common.IfsException
oracle.ifs.common.IfsException: IFS-45360: Unable to connect default session
oracle.ifs.common.IfsException: IFS-45206: Unable to get credential
oracle.ifs.common.IfsException: IFS-21008: Unable to connect to iFS service
oracle.ifs.common.IfsException: IFS-10811: Unable to construct LibraryObject Cache for
class oracle.ifs.server.cache.BoundedLibraryObjectCache (invalid class path specification)
at oracle.ifs.server.S_LibrarySession.constructBoundedLibraryObjectCache(S_LibrarySession.java:3449)
at oracle.ifs.server.S_LibrarySession.<init>(S_LibrarySession.java:1900)
at java.lang.reflect.Constructor.newInstance(Native Method)
at oracle.ifs.server.S_LibraryService.constructSession(S_LibraryService.java:2575)
at oracle.ifs.server.S_LibraryService.connect(S_LibraryService.java:2368)
at oracle.ifs.beans.LibraryService.connect(LibraryService.java:977)
at oracle.ifs.management.domain.Server.getCredential(Server.java:374)
at oracle.ifs.management.domain.IfsServer.connectSession(IfsServer.java:1034)
at oracle.ifs.examples.servers.LoggingAgent.preRun(LoggingAgent.java:150)
at oracle.ifs.management.domain.IfsServer$ServerRunner.run(IfsServer.java:2123)
10/10/02 4:22 PM LoggingAgent: Stopping
10/10/02 4:22 PM LoggingAgent: Timer stopped
10/10/02 4:22 PM LoggingAgent: Stop request
10/10/02 4:22 PM LoggingAgent: Timer stopped
10/10/02 4:22 PM LoggingAgent: java.lang.NullPointerException
java.lang.NullPointerException
at oracle.ifs.examples.servers.LoggingAgent.disableEventListening(LoggingAgent.java:320)
at oracle.ifs.examples.servers.LoggingAgent.postRun(LoggingAgent.java:198)
at oracle.ifs.management.domain.IfsServer$ServerRunner.run(IfsServer.java:2155)
10/10/02 4:22 PM LoggingAgent: Stopped
The message complains about an "invalid class path specification". However,
I am sure the class "oracle.ifs.server.cache.BoundedLibraryObjectCache" is
present in the classpath (in the repos.jar library).
Is this problem related to cache size ? If so, how can I increase the cache ?
I know the Agent reads its configuration file (LoggingAgent.def) correctly and
uses the appropriate service name and schema password because the main method
succeeds to start the service and to initialize the LoggingAgent instance.
The failure happens when the connectSession() method is invoked in the
preRun() method.
Any help will be greatly appreciated,
TristanI hate to suggest this, but this impliens that the IFS repos did not install properly. Can you try re-running the ifsconfig process and either create a new repos, or re-initialize your existing repos (Be careful re-initializing an existing repos will cause all info in the repos in the lost).
-
IfsException: IFS-10407: Invalid Attribute name
I'm trying to programmaticaly create an instance of the custom class AsapPublisher that I have created. When I attempt to set the attribute jobTitle I get the IFS exception 10407. The attribute jobTitle exists so I unsure why I'm getting this error. Below is my code and stack trace. If anyone can see where I'm going wrong I would appreciate input. Thanks!
instantiatePublisher.jsp
<%@ page contentType="text/html;charset=WINDOWS-1252"%>
<%@ page import="oracle.ifs.common.IfsException" %>
<%@ page import="oracle.ifs.beans.LibrarySession" %>
<%@ page import="oracle.ifs.beans.LibraryService" %>
<%@ page import="java.util.Locale" %>
<%@ page import="oracle.ifs.beans.ClassObject" %>
<%@ page import="java.io.*" %>
<%@ page import="publishasap.AsapPublisher" %>
<%@ page import="publishasap.definition.AsapPublisherDef" %>
<%@ page import="publishasap.definition.AsapPublisherContactDef" %>
<%@ page import="oracle.ifs.common.CleartextCredential" %>
<%@ page import="oracle.ifs.common.ConnectOptions" %>
<%
String username = "system";
String password = "manager";
String serviceName = "IfsDefault";
String servicePassword = "ifssys";
try
LibraryService ifsService = new LibraryService();
CleartextCredential credentials = new CleartextCredential(username,password);
ConnectOptions connectOpts = new ConnectOptions();
connectOpts.setLocale(Locale.getDefault());
connectOpts.setServiceName(serviceName);
connectOpts.setServicePassword(servicePassword);
LibrarySession ifsSession = ifsService.connect(credentials,connectOpts);
ifsSession.setAdministrationMode(true);
//set the AsapPublisher attributes and create a publisher instance
AsapPublisherDef publisher = new AsapPublisherDef(ifsSession);
publisher.setCompanyName(request.getParameter("pubName"));
publisher.setAddress1(request.getParameter("address1"));
publisher.setAddress2(request.getParameter("address2"));
publisher.setCity(request.getParameter("city"));
publisher.setState(request.getParameter("state"));
publisher.setPostalCode(request.getParameter("postalCode"));
publisher.setCountry(request.getParameter("country"));
publisher.setPhoneNumber(request.getParameter("phoneNumber"));
publisher.setPublisherDescription(request.getParameter("pubDescription"));
out.println("here");
//create the publisher contact object
AsapPublisherContactDef contact = new AsapPublisherContactDef(ifsSession);
contact.setClassObject(ClassObject.getClassObjectFromLabel(ifsSession,publishasap.AsapPublisherContact.CLASS_NAME));
contact.setJobTitle(request.getParameter("jobTitle"));
contact.setPrefix(request.getParameter("prefix"));
contact.setFirstName(request.getParameter("fName"));
contact.setMInitial(request.getParameter("mInitial"));
contact.setLastName(request.getParameter("lName"));
contact.setSuffix(request.getParameter("suffix"));
contact.setEmail1(request.getParameter("email1"));
contact.setEmail2(request.getParameter("email2"));
contact.setFax(request.getParameter("fax"));
contact.setWkPhone(request.getParameter("workPhone"));
contact.setUsername(request.getParameter("username"));
contact.setPassword(request.getParameter("password"));
publisher.setAsapPublisherContact(contact);
AsapPublisher createPub = (AsapPublisher) ifsSession.createPublicObject(contact);
ifsSession.disconnect();
catch(IfsException e)
out.println("System was unable to create an author object");
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw, true);
e.printStackTrace(pw);
String trace = sw.toString();
sw.close();
pw.close();
out.println(trace);
IfsException.setVerboseMessage(true);
String message = e.getMessage();
out.println(message);
%>
AsapPublisher.java
// Copyright (c) 2000 Thin Data Solutions
package publish asap;
import oracle.ifs.beans.*;
import oracle.ifs.common.*;
import oracle.ifs.server.S_LibraryObjectData;
import publishasap.AsapCustomer;
import publishasap.AsapPublisherContact;
import publishasap.definition.AsapPublisherContactDef;
* A Bean class.
* <P>
public class AsapPublisher extends AsapCustomer {
public static final String CLASS_NAME= "AsapPublisher";
public static final String PUBLISHER_CONTACT= "AsapPublisherContact";
public static final String PUBLISHER_DESCRIPTION="publisherDescription";
private LibrarySession m_IfsSession= null;
* Constructor
public AsapPublisher( LibrarySession ifs,
java.lang.Long id,
java.lang.Long classId,
S_LibraryObjectData data)
throws IfsException{
// Construct a Document object - standard variant.
super(ifs,id,classId,data);
m_IfsSession= ifs;
public void setAsapPublisherContact(AsapPublisherContact newValue)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute(PUBLISHER_CONTACT, av);
public void setAsapPublisherContact(AsapPublisherContactDef newValue)
throws IfsException{
PublicObject po= m_IfsSession.createPublicObject(newValue);
AttributeValue av= AttributeValue.newAttributeValue(po);
setAttribute(PUBLISHER_CONTACT, av);
public void setPublisherDescription(String newValue)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute(PUBLISHER_DESCRIPTION, av);
public String getPublisherDescription()
throws IfsException{
AttributeValue av= getAttribute(PUBLISHER_DESCRIPTION);
return av.getString(getSession());
public AsapPublisherContact getAsapPublisherContact()
throws IfsException{
AttributeValue av= getAttribute(PUBLISHER_CONTACT);
return (AsapPublisherContact)av.getObject(getSession());
AsapPublisherDef.jav
// Copyright (c) 2000 Thin Data Solutions
package publishasap;
import oracle.ifs.beans.*;
import oracle.ifs.common.*;
import oracle.ifs.server.S_LibraryObjectData;
import publishasap.AsapCustomer;
import publishasap.AsapPublisherContact;
import publishasap.definition.AsapPublisherContactDef;
* A Bean class.
* <P>
public class AsapPublisher extends AsapCustomer {
public static final String CLASS_NAME= "AsapPublisher";
public static final String PUBLISHER_CONTACT= "AsapPublisherContact";
public static final String PUBLISHER_DESCRIPTION="publisherDescription";
private LibrarySession m_IfsSession= null;
* Constructor
public AsapPublisher( LibrarySession ifs,
java.lang.Long id,
java.lang.Long classId,
S_LibraryObjectData data)
throws IfsException{
// Construct a Document object - standard variant.
super(ifs,id,classId,data);
m_IfsSession= ifs;
public void setAsapPublisherContact(AsapPublisherContact newValue)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute(PUBLISHER_CONTACT, av);
public void setAsapPublisherContact(AsapPublisherContactDef newValue)
throws IfsException{
PublicObject po= m_IfsSession.createPublicObject(newValue);
AttributeValue av= AttributeValue.newAttributeValue(po);
setAttribute(PUBLISHER_CONTACT, av);
public void setPublisherDescription(String newValue)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute(PUBLISHER_DESCRIPTION, av);
public String getPublisherDescription()
throws IfsException{
AttributeValue av= getAttribute(PUBLISHER_DESCRIPTION);
return av.getString(getSession());
public AsapPublisherContact getAsapPublisherContact()
throws IfsException{
AttributeValue av= getAttribute(PUBLISHER_CONTACT);
return (AsapPublisherContact)av.getObject(getSession());
AsapPublisherContact.java
// Copyright (c) 2000 Movement Inc.
package publishasap;
import publish asap.*;
import oracle.ifs.beans.*;
import oracle.ifs.common.*;
import oracle.ifs.server.S_LibraryObjectData;
* A Bean class.
* <P>
public class AsapPublisherContact extends AsapPerson {
public static final String PUBLISHER_ID= "publisherId";
public static final String JOB_TITLE= "jobTitle";
public static final String CLASS_NAME= "AsapPublisherContact";
* Constructor
public AsapPublisherContact( LibrarySession ifs,
java.lang.Long id,
java.lang.Long classId,
S_LibraryObjectData data)
throws IfsException{
// Construct a Document object - standard variant.
super(ifs,id,classId,data);
public void setPublisherId(String newId)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newId);
setAttribute(PUBLISHER_ID, av);
public void setJobTitle(String newTitle)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newTitle);
setAttribute(JOB_TITLE, av);
public String getPublisherId()
throws IfsException{
AttributeValue av= getAttribute(PUBLISHER_ID);
return av.getString(getSession());
public String getJobTitle()
throws IfsException{
AttributeValue av= getAttribute(JOB_TITLE);
return av.getString(getSession());
AsapPublisherContactDef.java
// Copyright (c) 2000 Movement Inc.
package publishasap.definition;
import publishasap.AsapPublisherContact;
import oracle.ifs.beans.*;
import oracle.ifs.common.*;
* A Bean class.
* <P>
public class AsapPublisherContactDef extends AsapPersonDef {
* Constructor
public AsapPublisherContactDef(LibrarySession ifs)
throws IfsException
// Construct a Document object - standard variant.
super(ifs);
this.setClassObject(ClassObject.getClassObjectFromLabel(ifs,publishasap.AsapPublisherContact.CLASS_NAME));
public void setPublisherId(String newId)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newId);
setAttribute(AsapPublisherContact.PUBLISHER_ID, av);
public void setJobTitle(String newTitle)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newTitle);
setAttribute(AsapPublisherContact.JOB_TITLE, av);
AsapPublisherContact.xml
<ClassObject>
<Name>AsapPublisherContact</Name>
<Description>Stores the information on the main contact person for the publisher.</Description>
<SuperClass RefType="name">AsapPerson</SuperClass>
<BeanClassPath>publishasap.AsapPublisherContact</BeanClassPath>
<!-- Attribute list for the object -->
<Attributes>
<!-- Store the primary key of the publisher whom this person is the contact for. -->
<Attribute>
<Name>publisherId</Name>
<DataType>String</DataType>
<DataLength>10</DataLength>
</Attribute>
<!-- Store the contact person's job title or position. -->
<Attribute>
<Name>jobTitle</Name>
<DataType>String</DataType>
<DataLength>70</DataLength>
</Attribute>
</Attributes>
</ClassObject>
AsapPublisher.xml
<ClassObject>
<Name>AsapPublisher</Name>
<Description>Stores the information about publishers in the database.</Description>
<SuperClass RefType="name">AsapCustomer</SuperClass>
<BeanClassPath>publishasap.AsapPublisher</BeanClassPath>
<!-- Attribute list for the object. -->
<Attributes>
<!-- A reference to the main contact person at the publisher. -->
<Attribute>
<Name>asapPublisherContact</Name>
<DataType>PublicObject</DataType>
<ClassDomain reftype="name">AsapPubContactDomain</ClassDomain>
</Attribute>
<!-- A Descript ion of the publisher. -->
<Attribute>
<Name>publisherDescription</Name>
<DataType>String</DataType>
<DataLength>500</DataLength>
</Attribute>
</Attributes>
</ClassObject>
stack trace
System was unable to create an author object oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject oracle.ifs.common.IfsException: IFS-10407: Invalid Attribute name (JOBTITLE) at oracle.ifs.server.S_LibraryObject.insertRows(S_LibraryObject.java, Compiled Code) at oracle.ifs.server.OperationState.executeAtomicOperations(OperationState.java, Compiled Code) at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryObject.java, Compiled Code) at oracle.ifs.server.S_LibrarySession.newLibraryObject(S_LibrarySession.java, Compiled Code) at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:6853) at oracle.ifs.server.S_LibrarySession.newPublicObject(S_LibrarySession.java:6835) at oracle.ifs.server.S_LibrarySession.DMNewPublicObject(S_LibrarySession.java:6623) at oracle.ifs.beans.LibrarySession.DMNewPublicObject(LibrarySession.java:7226) at oracle.ifs.beans.LibrarySession.NewPublicObject(LibrarySession.java:4795) at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySession.java:2789) at publishasap.definition.AsapPublisherDef.setAsapPublisherContact(AsapPublisherDef.java:41) at ifs.files._ifs._jsp_25_2dbin._admin._instantiatePublisher._jspService(_instantiatePublisher.java:166) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java, Compiled Code) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java, Compiled Code) at oracle.jsp.JspServlet.doDispatch(JspServlet.java, Compiled Code) at oracle.jsp.JspServlet.internalService(JspServlet.java, Compiled Code) at oracle.ifs.protocols.dav.impl.IfsDavServlet.processJsp(IfsDavServlet.java, Compiled Code) at oracle.ifs.protocols.dav.impl.IfsDavServlet.doGet(IfsDavServlet.java, Compiled Code) at oracle.ifs.protocols.dav.impl.IfsDavServlet.doPost(IfsDavServlet.java, Compiled Code) at oracle.ifs.protocols.dav.DavServlet.processRequest(DavServlet.java, Compiled Code) at oracle.ifs.protocols.dav.DavServlet.service(DavServlet.java, Compiled Code) at oracle.ifs.protocols.dav.impl.IfsDavServlet.service(IfsDavServlet.java, Compiled Code) at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code) at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code) at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code) at java.lang.Thread.run(Thread.java, Compiled Code) IFS-30002: Unable to create new LibraryObjectSorry Mark. Here are the rest of the files.
AsapPerson.java
// Copyright (c) 2000 PublishASAP
package publishasap;
import oracle.ifs.beans.ApplicationObject;
import oracle.ifs.beans.LibrarySession;
import oracle.ifs.common.AttributeValue;
import oracle.ifs.common.IfsException;
import oracle.ifs.server.S_LibraryObjectData;
* Superclass of all people involved in Publishasap
* <P>
public class AsapPerson extends ApplicationObject {
// Private class constants.
public static final String CLASS_NAME = "AsapPerson";
public static final String PREFIX= "prefix";
public static final String FIRST_NAME= "firstName";
public static final String INITIAL= "mInitial";
public static final String LAST_NAME= "lastName";
public static final String SUFFIX = "suffix";
public static final String EMAIL_ONE= "email1";
public static final String EMAIL_TWO= "email2";
public static final String WORK_PHONE= "wkPhone";
public static final String FAX= "fax";
public static final String USERNAME= "username";
public static final String PASSWORD= "password";
* Constructor
public AsapPerson(LibrarySession ifs,
java.lang.Long id,
java.lang.Long classId,
S_LibraryObjectData data)
throws IfsException{
super(ifs, id, classId, data);
* Set the value of the PREFIX attribute.
public final void setPrefix( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue( newValue );
setAttribute( PREFIX, av );
* Get the current value of the PREFIX attribute.
public final String getPrefix()
throws IfsException{
AttributeValue av= getAttribute(PREFIX);
String tmp= av.getString(getSession());
return tmp.trim();
* Set the value of the first name attribute.
public final void setFirstName( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue( newValue );
setAttribute( FIRST_NAME, av );
* Get the current value of the FIRST_NAME attribute.
public final String getFirstName()
throws IfsException{
AttributeValue av= getAttribute(FIRST_NAME);
String tmp= av.getString(getSession());
return tmp.trim();
* Set the value of the INITIAL attribute.
public final void setMInitial( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue( newValue );
setAttribute( INITIAL, av );
* Get the current value of the INITIAL attribute.
public final String getMInitial()
throws IfsException{
AttributeValue av= getAttribute(INITIAL);
String tmp= av.getString(getSession());
return tmp.trim();
* Set the value of the LAST_NAME attribute.
public final void setLastName( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue( newValue );
setAttribute( LAST_NAME, av );
* Get the current value of the LAST_NAME attribute.
public final String getLastName()
throws IfsException{
AttributeValue av= getAttribute(LAST_NAME);
String tmp= av.getString(getSession());
return tmp.trim();
* Set the value of the SUFFIX attribute.
public final void setSuffix( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue( newValue );
setAttribute( SUFFIX, av );
* Get the current value of the SUFFIX attribute.
public final String getSuffix()
throws IfsException{
AttributeValue av= getAttribute(SUFFIX);
String tmp= av.getString(getSession());
return tmp.trim();
* Set the EMAIL_ONE attribute.
public final void setEmail1( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute( EMAIL_ONE, av );
* Get the current value of the EMAIL_ONE.
public final String getEmail1()
throws IfsException{
AttributeValue av= getAttribute(EMAIL_ONE);
String tmp= av.getString(getSession());
return t mp.trim();
* Set the EMAIL_TWO attribute.
public final void setEmail2( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute( EMAIL_TWO, av );
* Get the current value of EMAIL_TWO.
public final String getEmail2()
throws IfsException{
AttributeValue av= getAttribute(EMAIL_TWO);
String tmp= av.getString(getSession());
return tmp.trim();
* Set the value of the WORK_PHONE attribute.
public final void setWkPhone( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute( WORK_PHONE, av );
* Get the current value of the WORK_PHONE attribute.
public final String getWkPhone()
throws IfsException{
AttributeValue av= getAttribute(WORK_PHONE);
String tmp= av.getString(getSession());
return tmp.trim();
* Set the value of the FAX attribute.
public final void setFax( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute( FAX, av );
* Get the current value of the FAX attribute.
public final String getFax()
throws IfsException{
AttributeValue av= getAttribute(FAX);
String tmp= av.getString(getSession());
return tmp.trim();
* Set the value of the username and password.
public final void setUsername( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute( USERNAME, av );
* Get the current value of the USERNAME.
public final String getUsername()
throws IfsException{
AttributeValue av= getAttribute(USERNAME);
String tmp= av.getString(getSession());
return tmp.trim();
* Set the value of the PASSWORD attribute.
public final void setPassword( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute( PASSWORD, av );
* Get the current value of the password field.
public final String getPassword()
throws IfsException{
AttributeValue av= getAttribute(PASSWORD);
String tmp= av.getString(getSession());
return tmp.trim();
AsapPersonDef.java
// Copyright (c) 2000 Movement Inc
package publishasap.definition;
import oracle.ifs.beans.ClassObject;
import oracle.ifs.beans.LibrarySession;
import oracle.ifs.beans.LibraryObjectDefinition;
import oracle.ifs.beans.ApplicationObjectDefinition;
import oracle.ifs.common.AttributeValue;
import oracle.ifs.common.IfsException;
import javax.servlet.http.HttpServletRequest;
import oracle.ifs.beans.DocumentDefinition;
* A Bean class.
* <P>
* @author Brooke Supryka
public class AsapPersonDef extends ApplicationObjectDefinition {
* This bean is called to create an instance of a person
* <P>
* @author Brooke Supryka
private static final boolean DEBUG = true;
* Constructs a new instance.
public AsapPersonDef(LibrarySession ifs) throws IfsException
//Construct an AsapAuthor object
super(ifs);
this.setClassObject(ClassObject.getClassObjectFromLabel(ifs,publishasap.AsapPerson.CLASS_NAME));
* Set the value of the PREFIX attribute.
public final void setPrefix( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue( newValue );
setAttribute( publishasap.AsapPerson.PREFIX, av );
* Set the value of the first name attribute.
public final void setFirstName( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue( newValue );
setAttribute( publishasap.AsapPerson.FIRST_NAME, av );
* Set the value of the INITIAL attribute.
public final void setMInitial( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue( newValue );
setAttribute( publishasap.AsapPerson.INITIAL, av );
* Set the value of the LAST_NAME attribute.
public final void setLastName( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue( newValue );
setAttribute( publishasap.AsapPerson.LAST_NAME, av );
* Set the value of the SUFFIX attribute.
public final void setSuffix( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue( newValue );
setAttribute( publishasap.AsapPerson.SUFFIX, av );
* Set the EMAIL_ONE attribute.
public final void setEmail1( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute( publishasap.AsapPerson.EMAIL_ONE, av );
* Set the EMAIL_TWO attribute.
public final void setEmail2( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute( publishasap.AsapPerson.EMAIL_TWO, av );
* Set the value of the WORK_PHONE attribute.
public final void setWkPhone( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute( publishasap.AsapPerson.WORK_PHONE, av );
* Set the value of the FAX attribute.
public final void setFax( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute( publishasap.AsapPerson.FAX, av );
* Set the value of the username and password.
public final void setUsername( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute( publishasap.AsapPerson.USERNAME, av );
* Set the value of the PASSWORD attribute.
public final void setPassword( String newValue )
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newValue);
setAttribute( publishasap.AsapPerson.PASSWORD, av );
AsapCustomer
// Copyright (c) 2000 Movement Inc.
package publishasap;
import oracle.ifs.beans.*;
import oracle.ifs.common.*;
import oracle.ifs.server.S_LibraryObjectData;
* Instance of AsapCustomer.
* <P>
* @author Ian Kulmatycki
public class AsapCustomer extends TieApplicationObject {
public static final String CLASS_NAME= "AsapCustomer";
public static final String COMPANY_NAME= "companyName";
public static final String ADDRESS_1= "address1";
public static final String ADDRESS_2= "address2";
public static final String CITY= "city";
public static final String STATE= "state";
public static final String POSTAL_CODE= "postalCode";
public static final String PHONE_NUMBER= "phoneNumber";
public static final String COUNTRY= "country";
* Constructor
public AsapCustomer( LibrarySession ifs,
java.lang.Long id,
java.lang.Long classId,
S_LibraryObjectData data)
throws IfsException{
// Construct a Document object - standard variant.
super(ifs,id,classId,data);
public void setCompanyName(String newName)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newName);
setAttribute(COMPANY_NAME, av);
public void setAddress1(String newAddress)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newAddress);
setAttribute(ADDRESS_1, av);
public void setAddress2(String newAddress)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newAddress);
setAttribute(ADDRESS_2, av);
public void setCity(String newCity)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newCity);
setAttribute(CITY, av);
public void setState(String newState)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newState);
setAttribute(STATE, av);
public void setPostalCode(String newPostalCode)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newPostalCode);
setAttribute(POSTAL_C ODE, av);
public void setCountry(String newCountry)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newCountry);
setAttribute(COUNTRY, av);
public void setPhoneNumber(String newPhoneNumber)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newPhoneNumber);
setAttribute(PHONE_NUMBER, av);
public String getCompanyName()
throws IfsException{
AttributeValue av= getAttribute(COMPANY_NAME);
return av.getString(getSession());
public String getAddress1()
throws IfsException{
AttributeValue av= getAttribute(ADDRESS_1);
return av.getString(getSession());
public String getAddress2()
throws IfsException{
AttributeValue av= getAttribute(ADDRESS_2);
return av.getString(getSession());
public String getCity()
throws IfsException{
AttributeValue av= getAttribute(CITY);
return av.getString(getSession());
public String getPostalCode()
throws IfsException{
AttributeValue av= getAttribute(POSTAL_CODE);
return av.getString(getSession());
public String getCountry()
throws IfsException{
AttributeValue av= getAttribute(COUNTRY);
return av.getString(getSession());
public String getState()
throws IfsException{
AttributeValue av= getAttribute(STATE);
return av.getString(getSession());
public String getPhoneNumber()
throws IfsException{
AttributeValue av= getAttribute(PHONE_NUMBER);
return av.getString(getSession());
AsapCustomerDef.java
// Copyright (c) 2000 Movement Inc.
package publishasap.definition;
import oracle.ifs.beans.*;
import oracle.ifs.common.*;
import publishasap.AsapCustomer;
* Create the definition for an AsapCustomer object.
* <P>
* @author Ian Kulmatycki
public class AsapCustomerDef extends ApplicationObjectDefinition {
* Constructor
public AsapCustomerDef(LibrarySession ifs)
throws IfsException
// Construct a Document object - standard variant.
super(ifs);
this.setClassObject(ClassObject.getClassObjectFromLabel(ifs,publishasap.AsapCustomer.CLASS_NAME));
public void setCompanyName(String newName)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newName);
setAttribute(AsapCustomer.COMPANY_NAME, av);
public void setAddress1(String newAddress)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newAddress);
setAttribute(AsapCustomer.ADDRESS_1, av);
public void setAddress2(String newAddress)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newAddress);
setAttribute(AsapCustomer.ADDRESS_2, av);
public void setCity(String newCity)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newCity);
setAttribute(AsapCustomer.CITY, av);
public void setState(String newState)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newState);
setAttribute(AsapCustomer.STATE, av);
public void setPostalCode(String newPostalCode)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newPostalCode);
setAttribute(AsapCustomer.POSTAL_CODE, av);
public void setCountry(String newCountry)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newCountry);
setAttribute(AsapCustomer.COUNTRY, av);
public void setPhoneNumber(String newPhoneNumber)
throws IfsException{
AttributeValue av= AttributeValue.newAttributeValue(newPhoneNumber);
setAttribute(AsapCustomer.PHONE_NUMBER, av);
AsapPerson.xml
<?xml version = '1.0' standalone = 'yes'?>
<!-- AsapPerson.xml -->
<ClassObject>
<Name>AsapPerson</Name>
<Description>AsapPerson Object</Description>
<Superclass Reftype = "name">ApplicationObject</Superclass>
<BeanClassPath>publishasap.AsapPerson</BeanClassPath>
<Attributes> ;
<Attribute>
<Name>prefix</Name>
<DataType>String</DataType>
<DATALENGTH>4</DATALENGTH>
</Attribute>
<Attribute>
<Name>firstName</Name>
<DataType>String</DataType>
<DATALENGTH>30</DATALENGTH>
</Attribute>
<Attribute>
<Name>mInitial</Name>
<DataType>String</DataType>
<DATALENGTH>1</DATALENGTH>
</Attribute>
<Attribute>
<Name>lastName</Name>
<DataType>String</DataType>
<DATALENGTH>30</DATALENGTH>
</Attribute>
<Attribute>
<Name>suffix</Name>
<DataType>String</DataType>
<DATALENGTH>4</DATALENGTH>
</Attribute>
<Attribute>
<Name>email1</Name>
<DataType>String</DataType>
<DATALENGTH>50</DATALENGTH>
</Attribute>
<Attribute>
<Name>email2</Name>
<DataType>String</DataType>
<DATALENGTH>50</DATALENGTH>
</Attribute>
<Attribute>
<Name>fax</Name>
<DataType>String</DataType>
<DATALENGTH>20</DATALENGTH>
</Attribute>
<Attribute>
<Name>wkPhone</Name>
<DataType>String</DataType>
<DATALENGTH>20</DATALENGTH>
</Attribute>
<Attribute>
<Name>username</Name>
<DataType>String</DataType>
<DATALENGTH>15</DATALENGTH>
</Attribute>
<Attribute>
<Name>password</Name>
<DataType>String</DataType>
<DATALENGTH>15</DATALENGTH>
</Attribute>
</Attributes>
</ClassObject>
AsapCustomer.xml
<?xml version="1.0" standalone="yes"?>
<!-- AsapCustomer.xml -->
<!-- When parsed, this file will create the definition of an AsapCustomer in the database. -->
<ClassObject>
<Name>AsapCustomer</Name>
<Description>Parent of all customers that are using Publishasap.</Description>
<SuperClass RefType="name">ApplicationObject</SuperClass>
<BeanClassPath>publishasap.AsapCustomer</BeanClassPath>
<!-- Attribute list for the object. -->
<Attributes>
<!-- The company name of the customer. -->
<Attribute>
<Name>companyName</Name>
<DataType>String</DataType>
<DataLength>75</DataLength>
</Attribute>
<!-- The mailing address of the customer. -->
<Attribute>
<Name>address1</Name>
<DataType>String</DataType>
<DataLength>50</DataLength>
</Attribute>
<!-- The secondary mailing address of the customer. -->
<Attribute>
<Name>address2</Name>
<DataType>String</DataType>
<DataLength>50</DataLength>
</Attribute>
<!-- The mailing city of the customer. -->
<Attribute>
<Name>city</Name>
<DataType>String</DataType>
<DataLength>30</DataLength>
</Attribute>
<!-- The mailing state of the customer. -->
<Attribute>
<Name>state</Name>
<DataType>String</DataType>
<DataLength>4</DataLength>
</Attribute>
<!-- The mailing postal code of the customer. -->
<Attribute>
<Name>postalCode</Name>
<DataType>String</DataType>
<DataLength>10</DataLength>
</Attribute>
<!-- The contact phone number of the customer. -->
<Attribute>
<Name>phoneNumber</Name>
<DataType>String</DataType>
<DataLength>14</DataLength>
</Attribute>
<!-- The mailing country of the customer. -->
<Attribute>
<Name>country</Name>
<DataType>String</DataT ype>
<DataLength>30</DataLength>
</Attribute>
</Attributes>
</ClassObject>
null -
Error in starting iFS from NT 4.0
Hi,
Im having difficulty in starting "ifsstart" and I am getting the following error message in the the ifsagent & ifsprotocol log files.
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: Error while trying to retrieve text for error ORA-12705
Server Manager exiting.
Any ideas?If you get an error like:
java.sql.SQLException: Error while trying to retrieve text for error ORA-xxxxx, it usually means that you can't even access the database at all. I think that you might no be able to use SQL*Plus at this point. Of course, you can't start iFS without having a connection to the database. This is what the error means. -
Problem in the iFS map drive...!
Thanks for your concern:
As you know, in window explorer,iFS map drive is very convenient facility.According to install procedure in some documents, i installed these on client-pc and rebooted. But there was no notification for which machine is iFS server when i mapped iFS server to map-drive in local.In set&admin guide,there might be some notification beside machine name in map-network drive diallog box as like "iFS server".
what's wrong?. but,in program group of start menu,iFS utilities are generated correctly.
Only in mapping iFS drive,these problems are occured.
I wonder:
1.When iFS server is started with ifsstart command, Are there any droped,but essential,agent or protocol by my mistake?
thanks......
nullSomething wrong in IfsProtocols.log file..
What should I do?
IfsProtocols.log
Wed Aug 23 15:56:36 JST 2000
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-01033: ORACLE initialization or shutdown in progress
Server Manager exiting.
Wed Aug 23 15:58:18 JST 2000
Server STARTED: IfsProtocols(37416) not managed
Attempting to load agent FtpServerAgent
Agent FtpServerAgent loaded
Attempting to start agent FtpServerAgent
Agent FtpServerAgent started
Attempting to load agent CupServerAgent
Agent CupServerAgent loaded
FtpServerAgent: Start request
Server STARTED: IfsAgents(37415) not managed
FtpServerAgent: passing credentials
FtpServerAgent: starting timer
FtpServerAgent: Timer timeouts remaining set to 4
Attempting to start agent CupServerAgent
Agent CupServerAgent started
Attempting to load agent NtfsServerAgent
Agent NtfsServerAgent loaded
CupServerAgent: Start request
CupServerAgent: passing credentials
CupServerAgent: starting timer
CupServerAgent: Timer timeouts remaining set to 4
Attempting to start agent NtfsServerAgent
Agent NtfsServerAgent started
Attempting to load agent WcpServerAgent
Agent WcpServerAgent loaded
NtfsServerAgent: Start request
NtfsServerAgent: passing credentials
NtfsServerAgent: starting timer
NtfsServerAgent: Timer timeouts remaining set to 4
Attempting to start agent WcpServerAgent
Agent WcpServerAgent started
Attempting to load agent ImapServerAgent
WcpServerAgent: Start request
Agent ImapServerAgent loaded
WcpServerAgent: passing credentials
WcpServerAgent: starting timer
WcpServerAgent: Timer timeouts remaining set to 4
Attempting to start agent ImapServerAgent
Agent ImapServerAgent started
Attempting to load agent SmtpServerAgent
Agent SmtpServerAgent loaded
ImapServerAgent: Start request
ImapServerAgent: passing credentials
ImapServerAgent: starting timer
ImapServerAgent: Timer timeouts remaining set to 4
Attempting to start agent SmtpServerAgent
Agent SmtpServerAgent started
SmtpServerAgent: Start request
SmtpServerAgent: passing credentials
SmtpServerAgent: starting timer
SmtpServerAgent: Timer timeouts remaining set to 4
Server STARTED: CupServer(37600) managed by IfsProtocols(37416)
CupServerAgent: Server STARTED: CupServer(37600) managed by IfsProtocols(37416)
Server STARTED: FtpServer(37619) managed by IfsProtocols(37416)
FtpServerAgent: Server STARTED: FtpServer(37619) managed by IfsProtocols(37416)
Server STARTED: WcpServer(37621) managed by IfsProtocols(37416)
WcpServerAgent: Server STARTED: WcpServer(37621) managed by IfsProtocols(37416)
FtpServerAgent: timer expired with internal status of Starting...
FtpServerAgent: remaining timeouts reduced to 3
FtpServerAgent: Server Created with internal status of Starting...
FtpServerAgent: stopping timer
WcpServerAgent: timer expired with internal status of Starting...
WcpServerAgent: remaining timeouts reduced to 3
WcpServerAgent: Server Created with internal status of Starting...
WcpServerAgent: stopping timer
CupServerAgent: timer expired with internal status of Starting...
CupServerAgent: remaining timeouts reduced to 3
CupServerAgent: Server Created with internal status of Starting...
CupServerAgent: stopping timer
ImapServerAgent: timer expired with internal status of Starting...
ImapServerAgent: remaining timeouts reduced to 3
NtfsServerAgent: timer expired with internal status of Starting...
NtfsServerAgent: remaining timeouts reduced to 3
SmtpServerAgent: timer expired with internal status of Starting...
SmtpServerAgent: remaining timeouts reduced to 3
Server STARTED: ImapServer(37647) managed by IfsProtocols(37416)
ImapServerAgent: Server STARTED: ImapServer(37647) managed by IfsProtocols(37416)
ImapServerAgent: Server Created with internal status of Starting...
ImapServerAgent: stopping timer
Server STARTED: SmtpServer(37658) managed by IfsProtocols(37416)
SmtpServerAgent: Server STARTED: SmtpServer(37658) managed by IfsProtocols(37416)
SmtpServerAgent: Server Created with internal status of Starting...
SmtpServerAgent: stopping timer
NtfsServerAgent: timer expired with internal status of Starting...
NtfsServerAgent: remaining timeouts reduced to 2
Server STARTED: NtfsServer(37667) managed by IfsProtocols(37416)
NtfsServerAgent: Server STARTED: NtfsServer(37667) managed by IfsProtocols(37416)
NtfsServerAgent: Server Created with internal status of Starting...
NtfsServerAgent: stopping timer
null -
IFS on NT and ORacle8i on Linux
Hi there,
I am trying to install IFS on an NT box that talks to an oracle8i server on a Linux box.
I have installed a vanilla Oriacle8i on the Linux box with all the default passwords and made sure I followed the IFS instructions.
I then installed Oracle8i client on the NT box and I can use the DBA Studio to connect to the database on the Linux box.
Then I install IFS and run through the configuration assistant, which creates all the tables in the database and the ifssys user.
Then I try to start IFS using the ifsstart batch file and get asked for the usernames/passwords I use the defaults given in the documentation and receive the error message:
"Error launching iFS PROTOCOLS.
Consult the following log file for details:
E:\ifs\log\IfsProtocols.log
The error reported was:
Unable to start iFS ServerManager
Invalid credentials specified"
then anther box:
"Error launching iFS AGENTS.
Consult the following log file for details:
E:\ifs\log\IfsAgents.log
The error reported was:
Unable to start iFS ServerManager
Invalid credentials specified"
Looking at the log files gives me:
Protocols:
Fri Sep 29 15:18:15 GMT 2000
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: Error while trying to retrieve text for error ORA-12705
Server Manager exiting.
Agents:
Fri Sep 29 15:18:15 GMT 2000
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: Error while trying to retrieve text for error ORA-12705
Server Manager exiting.
Can anyone help?
MarkMark,
look at discussions on error 503, it looks like you have got a similar problem (well the lok is the same)
null -
Connection to iFS from a remote station & .properties file syntax
Hello,
I want to make a java application (running on a simple NT workstation) that is able to connect onto the iFS-1.1.9 server (running on a different unix server).
So I copied all the necessary jar and zip files from the iFS server, installed JDK1.1.8 (would it work with JDK 1.3 since I have iFS-1.1.9 ?), put all necessary jar/zip files in the classpath and I was able to compile the sample program given in the iFS dev guide.
I know that I also need a "service.properties" file that is in oracle.ifs.server.properties directory in my CLASSPATH, that point is ok.
The fact is that I don't have a clue about the exact syntax of that file. I only have as an example the standard servers.properties file on my iFS server itself, but the "DatabaseUrl" attribute is probably not the same because in my case the service is running on a remote machine...
As a result, when I launch my java app on my workstation it says :
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
So is there anything I am missing ? Where can I find the definition and syntax of all attributes in the .properties file ?
Thanks in advance for any help.
Regards,
Arnaud.
null<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Thanks to your advises, here is the simple properties file I created (only 3 lines) :
User=IFSSYS
DatabaseUrl=jdbc:oracle:oci8:haddock/tciDir
CredentialManagerIfsSchema=IFSSYS$CM
<HR></BLOCKQUOTE>
OK, so there are two problems. First of all, I should have explained better. You absolutely need ALL of the other properties in the new service properties file you have created. What I should have said in the last post was that the above three properties are the only ones you need to CHANGE. What you should do is copy IfsDefault.properties from the iFS installation ($OH/ifs1.1/settings/oracle/ifs/server/properties) to your NT machine, and then EDIT those three properties as you have specified above. And make sure to put it in the CLASSPATH correctly, under the same directory hierarchy.
The second problem is your JDBC database URL. The format for the OCI8 connect string using a TNS alias is as follows:
jdbc:oracle:oci8:@<tns_alias>
where <tns_alias> is a name you create with the Oracle Net8 Assistant (it should be on your NT machine under your Start menu: Oracle-<your_oracle_home>/Network Administration).
You should read the Net8 Administration Guide for more information about TNS aliases and how to use "thick" (OCI8) JDBC. -
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 -
Hello,
After installing Oracle 8.1.7 I had problems to connect as sys/change_on_install to shut down my database (i describe the problem under the topic ORA-01031). After ignoring this problem i have installed on the same NT Server iFS 1.1 (I have 1GB RAM, PIII: i think that is ok). After the successful installing and configurating iFS, i tried to logon through the WEb-interface. I got the following message:
Error launching iFS PROTOCOLS.
The error reported was: Invalid credential specified.
IfsProtocols.log has the following contents:
Wed Feb 07 19:04:50 GMT+02:00 2001
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-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Server Manager exiting.
Error launching iFS AGENTS:
The error reported was: Invalid credential specified.
IfsAgents.log has the following contents:
Wed Feb 07 19:04:51 GMT+02:00 2001
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-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Server Manager exiting.
Please help...
Thanx...
nullThe problem was that the database was down. After starting the database everything was ok.
Please ignore my question. -
After I compile following HelloWorld.java, I have gotten a lot of error reports.
How can I solve this probleme. I am expecting your help
Yiping
Following are reports and programme.
//reports
Obtaining LibraryService.
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-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: Zeichensatz nicht unterst|tzt !!: DBConversion
void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
void oracle.jdbc.dbaccess.DBError.check_error(int, java.lang.Object)
void oracle.jdbc.dbaccess.DBConversion.unexpectedCharset(short)
void oracle.jdbc.dbaccess.DBConversion.<init>(short, short, short)
oracle.jdbc.dbaccess.DBConversion oracle.jdbc.oci8.OCIDBAccess.logon(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
void oracle.jdbc.driver.OracleConnection.<init>(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, java.lang.String)
void oracle.ifs.server.LibraryConnection.<init>(long, oracle.ifs.server.S_LibraryService, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.io.PrintStream, int)
oracle.ifs.server.LibraryConnection oracle.ifs.server.ConnectionPool.constructLibraryConnection(int)
void oracle.ifs.server.ConnectionPool.createLibraryConnection()
void oracle.ifs.server.ConnectionPool.<init>(oracle.ifs.server.S_LibraryService, oracle.ifs.server.ConnectionPoolConfiguration)
void oracle.ifs.server.S_LibraryService.resetConnectionPools(boolean)
void oracle.ifs.server.S_LibraryService.<init>(java.lang.String, java.lang.String, oracle.ifs.common.AttributeValue[])
oracle.ifs.server.S_LibraryService oracle.ifs.server.S_LibraryService.startService(java.lang.String, java.lang.String, oracle.ifs.common.AttributeValue[])
oracle.ifs.beans.LibraryService oracle.ifs.beans.LibraryService.startService(java.lang.String, java.lang.String, oracle.ifs.common.AttributeValue[])
oracle.ifs.beans.LibraryService oracle.ifs.beans.LibraryService.startService(java.lang.String, java.lang.String)
void de.adstec.sam.adapter.ifs.HelloWorld.run()
void java.lang.Thread.run()
Process exited with exit code 0.
//Programm
package de.adstec.sam.adapter.ifs;
import oracle.ifs.beans.LibraryService;
import oracle.ifs.beans.LibrarySession;
import oracle.ifs.common.CleartextCredential;
import oracle.ifs.common.ConnectOptions;
import oracle.ifs.common.IfsException;
import oracle.ifs.common.ParameterTable;
public class HelloWorld implements Runnable
ParameterTable params = null;
String username = null;
String password = null;
String servicename = null;
String schemapassword = null;
public HelloWorld(String[] args)
params = new ParameterTable(args);
username = params.getString("user", "system");
password = params.getString("password","manager9ifs");
servicename = params.getString("service","IfsDefault");
schemapassword = params.getString("schemapassword","ifssys");
System.out.println("Running with arguments : ");
System.out.println(" username = " + username);
System.out.println(" password = " + password);
System.out.println(" servicename = " + servicename);
System.out.println(" schemapassword = " + schemapassword);
System.out.println("---------Results----------");
public static void main (String[] args)
new Thread(new HelloWorld(args)).start();
public void run()
try
System.out.println("Obtaining LibraryService.");
LibraryService lsrvc = LibraryService.startService(servicename,schemapassword);
System.out.println("LibraryService obtained for Oracle iFS version: " +
lsrvc.getVersionString());
System.out.println("Obtaining LibrarySession.");
CleartextCredential cr = new CleartextCredential(username,password);
ConnectOptions cop = new ConnectOptions();
LibrarySession session = lsrvc.connect(cr, cop);
System.out.println("LibrarySession obtained for user : " + session.getUser().getName());
catch(IfsException e )
e.printStackTrace();
//Classpath
W:\libs\external\Oracle\9ifs\adk.jar;W:\libs\external\Oracle\9ifs\email.jar;W:\libs\external\Oracle\9ifs\repos.jar;W:\libs\external\Oracle\9ifs\utils.jar;W:\libs\external\Oracle\9ifs\settings;C:\9ifs\jdbc\lib\classes12.zipyou can get the right name for ifsservice by starting
the ifsmgr
the right name are displayed
you shoud start the script on the ifs-Server
if you want to test the script
if you want to start from a other host as ifs-Server i don't known how it work -
Problem getting iFS to start.
I'm running Win2K, Oracle8i Release2, and OEM 2.1. Everything is running on the same machine (PIII 733Mhz, 256MB)
I then installed iFS but when I try to run it I receive these errors:
From the ifsAgent log:
Wed Aug 16 17:31:11 EDT 2000
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-01017: invalid username/password; logon denied
Server Manager exiting.
Wed Aug 16 17:46:03 EDT 2000
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-01017: invalid username/password; logon denied
Server Manager exiting.
Thu Aug 17 10:27:57 EDT 2000
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-01017: invalid username/password; logon denied
Server Manager exiting.
From the ifsProtocols log:
Wed Aug 16 17:26:19 EDT 2000
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-01017: invalid username/password; logon denied
Server Manager exiting.
Wed Aug 16 17:31:11 EDT 2000
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-01017: invalid username/password; logon denied
Server Manager exiting.
Wed Aug 16 17:46:03 EDT 2000
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-01017: invalid username/password; logon denied
Server Manager exiting.
From the ifsConfigOut log:
java.sql.SQLException: ORA-00922: missing or invalid option
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.oci8.OCIDBAccess.check_error(Compiled Code)
at oracle.jdbc.oci8.OCIDBAccess.executeFetch(Compiled Code)
at oracle.jdbc.oci8.OCIDBAccess.parseExecuteFetch(OCIDBAccess.java)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(Compiled Code)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java)
at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement.java)
at oracle.jdbc.driver.OracleStatement.doExecute(Compiled Code)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(Compil ed Code)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java)
at oracle.ifs.utils.sql.SQLCommands.createUser(SQLCommands.java:347)
at oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.createIfsUser(IfsConfiguration.java:489)
at oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.perform(IfsConfiguration.java:464)
at oracle.ifs.utils.action.ActionQueue.performActions(Compiled Code)
at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:244)
at java.lang.Thread.run(Thread.java:466)
recording that configuration failed
saving:D:\Oracle\Ora81\ifs\settings\oracle\ifs\installer\properties\IfsConfig.properties
iFS configuration failed; the following error occurred:
oracle.ifs.utils.action.ActionFailedException: java.sql.SQLException: ORA-00922: missing or invalid option
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at oracle.ifs.utils.action.ActionFailedException.<init>(ActionFailedException.java:76)
at oracle.ifs.installer.IfsConfiguration$CreateSchemaAction.perform(IfsConfiguration.java:481)
at oracle.ifs.utils.action.ActionQueue.performActions(Compiled Code)
at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:244)
at java.lang.Thread.run(Thread.java:466)
configuration failed on Wed Aug 16 16:57:27 EDT 2000
Any ideas as to why it will not run. I had to install iFS with out the Partitioning option and without Intermedia Option. (I tried first with the Intermedia option and it told me that Intermedia was not configured correctly, so I scartched it out but it still will not work.)
If anyone can help me please respond to this post or email me at [email protected]
Thank you ahead of time.W2K is not a supported platform for iFS 1.0.
Please use NT4.0.
In your case it appears that you have given incorrect username/password information for ifsschema owner at the ServerManager login. The second password on the ServerManager startup dialog is the schema owner's database password, not the iFS administrator password.
However please note that even if you get past the connection problem you will encounter other problems under W2K, and we cannot provide support for you on a platform that is not supported. Also we recommend more that 256 Meg of Memory.
null -
Cannot connect to iFS through API
I have been trying with all diffrent combinations of user/password to connect to the iFS through the API but none of them seem to work. I have followed most of the replies already posted on the same. The following is the error that I get for some combination:
Exception in thread "main" 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 connectio
n
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)
at java.sql.DriverManager.getConnection(DriverManager.java:457)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at oracle.ifs.server.LibraryConnection.<init>(LibraryConnection.java:213
at oracle.ifs.server.ConnectionPool.createLibraryConnection(ConnectionPo
ol.java:576)
at oracle.ifs.server.ConnectionPool.<init>(ConnectionPool.java, Compiled
Code)
at oracle.ifs.server.S_LibraryService.<init>(S_LibraryService.java, Comp
iled Code)
at oracle.ifs.server.S_LibraryService.startService(S_LibraryService.java
:1139)
at oracle.ifs.beans.LibraryService.connectLocal(LibraryService.java:537)
at oracle.ifs.beans.LibraryService.connect(LibraryService.java:370)
at HelloWorld.main(HelloWorld.java:28)
For some other combinations I get the following error:
Exception in thread "main" oracle.ifs.common.IfsException: IFS-21008: Login fail
ure
oracle.ifs.common.IfsException: IFS-10170: Invalid name/credential
at oracle.ifs.server.IfsCredentialManager.checkCredential(IfsCredentialM
anager.java, Compiled Code)
at oracle.ifs.server.IfsCredentialManager.authenticate(IfsCredentialMana
ger.java:227)
at oracle.ifs.server.DirectoryService.authenticate(DirectoryService.java
:503)
at oracle.ifs.server.S_LibraryService.connect(S_LibraryService.java:1849
at oracle.ifs.beans.LibraryService.connectLocal(LibraryService.java:539)
at oracle.ifs.beans.LibraryService.connect(LibraryService.java:370)
at HelloWorld.main(HelloWorld.java:28)
Any help is appreciated...
Thanx
ViralViral, we may need to see:
- The code you're using to log in
- A description of the setup
- Whether you can get in using the same username/password through other protocols. -
IFS-10620: Unable to construct connection pool exception
I am getting the "IFS-10620: Unable to construct connection pool" exception on the browser
when I try to run the Airport example from the "Writing an iFS Custom Renderer" http://technet.oracle.com/products/ifs/htdocs/xsl/index.htm
technical brief.
Technet tells me that in this case I should (a) run it under jdk 1.1.8, and
(b) have classes111.zip from the jdbc directory included in the classpath.
(c) DatabaseUrl field in IfsDefault.properties is defined properly.
I have modified one of the classes to output the relevant system parameters when
initialised, and I get the enclosed output in (a) on loading the servlet.
Together with paths (b) and classpath(c) settings,it seems that the requirements
are met but it still gives the error. Any suggestions of where we go wrong?
Oracle, IFS and JWS are installed on the same NT machine, and the iFS GUI works.
The value of the DatabaseUrl field was empty (juts "@", I then changed it to
"@machinename" but to no avail).
Thanks
Nikolay Mehandjiev
[email protected]
Enclosures
(a) output from the modified servlet on loading
javawebserver: java.version is 1.1.8
javawebserver: java.class.version is 45.3
javawebserver: java-vm.version is null
javawebserver: java.class.path is \Oracle\Ora81\ifs\settings;\Oracle\Ora81\ifs\j
re\lib\rt.jar;\Oracle\Ora81\ifs\jre\lib\i18n.jar;\Oracle\Ora81\jdbc\lib\classes1
11.zip;\Oracle\Ora81\lib\vbjorb.jar;\Oracle\Ora81\jlib\xmlparserv2.jar;\Oracle\O
ra81\ifs\lib\repos.jar;\Oracle\Ora81\ifs\lib\adk.jar;\Oracle\Ora81\ifs\lib\email
.jar;\Oracle\Ora81\ifs\lib\tools.jar;\Oracle\Ora81\ifs\lib\utils.jar;\Oracle\Ora
81\ifs\lib\release.jar;\Oracle\Ora81\assistants\jlib\jnls.jar;\Oracle\Ora81\ifs\
custom_classes;\Oracle\Ora81\ifs\webui_classes;\Oracle\Ora81\ifs\lib\http.jar;\O
racle\Ora81\ifs\lib\webui.jar;\Oracle\Ora81\ifs\lib\clientlib.jar;\Oracle\Ora81\
ifs\jws\lib\servlet.jar;\Oracle\Ora81\ifs\jws\lib\jst.jar;\Oracle\Ora81\ifs\jre\
lib\javac.jar;\Oracle\Ora81\ifs\settings;\Oracle\Ora81\ifs\jre\lib\rt.jar;\Oracl
e\Ora81\ifs\jre\lib\i18n.jar;\Oracle\Ora81\jdbc\lib\classes111.zip;\Oracle\Ora81
\lib\vbjorb.jar;\Oracle\Ora81\jlib\xmlparserv2.jar;\Oracle\Ora81\ifs\lib\repos.j
ar;\Oracle\Ora81\ifs\lib\adk.jar;\Oracle\Ora81\ifs\lib\email.jar;\Oracle\Ora81\i
fs\lib\tools.jar;\Oracle\Ora81\ifs\lib\utils.jar;\Oracle\Ora81\ifs\lib\release.j
ar;\Oracle\Ora81\assistants\jlib\jnls.jar;\Oracle\Ora81\ifs\custom_classes;\Orac
le\Ora81\ifs\webui_classes;\Oracle\Ora81\ifs\lib\http.jar;\Oracle\Ora81\ifs\lib\
webui.jar;\Oracle\Ora81\ifs\lib\clientlib.jar;\Oracle\Ora81\ifs\jws\lib\servlet.
jar;\Oracle\Ora81\ifs\jws\lib\jst.jar;\Oracle\Ora81\ifs\jre\lib\javac.jar;C:\Ora
cle\Ora81\ifs\jre\lib\rt.jar;C:\Oracle\Ora81\ifs\jre\lib\i18n.jar;C:\Oracle\Ora8
1\ifs\jre\lib\classes.zip;C:\Oracle\Ora81\ifs\jre\classes
javawebserver: java.library.path is null
(b) Path values
C:\Oracle\Ora81\ifs\bin>set PATH
Path="C:\Oracle\Ora81\ifs\bin";C:\Oracle\Ora81\bin;C:\jdk1.1.8\bin;C:\WINNT\syst
em32;C:\WINNT;C:\WINNT\system32\nls\ENGLISH;C:\WINNT\system32\nls;C:\Oracle\Ora8
1\orb\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
(c) Classpath values
C:\Oracle\Ora81\ifs\bin>set CLASSPATH
CLASSPATH=Files\Exceed.nt\hcljrcsv.jar;C:\Oracle\Ora81\orb\classes\yoj.jar;C:\Or
acle\Ora81\orb\classes\share.zip;C:\Oracle\Ora81\jdbc\lib\classes111.zip
nullI have the same error when I try to connect from another machine to iFS.
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 connectio
n
iFS API is working only with jdk1.1.8 ?
I'm just using your API and I can assure you that IfsDefault.properties is as you advice and inluded in classpath.
Please reply if you have any solution to this
Thank you verry much -
Unable to start service IfsDefaultService
Hello,
I am having a problem with HTTP DAV access of IFS. This is a new install of IFS on a SuSe 7.2 Linux box.
When starting Apache and JServ, the jserv.log shows an error complaining that the IfsDefaultService cannot be started, followed by other errors.
According the OEM Console, I have successfully started the IFS Domain, and related nodes/services.
I have enabled IFS_DAV_DEBUG but that did not provide the answers.
Can someone help me interpret the error below?
Thanks,
Chuck
29/08/2001 15:18:43:412 EDT] files/oracle.ifs.protocols.dav.impl.IfsDavServlet: NodeGuardian: Node manager registered
[29/08/2001 15:18:43:413 EDT] files/oracle.ifs.protocols.dav.impl.IfsDavServlet: NodeManager: Ready
[29/08/2001 15:18:43:414 EDT] files/oracle.ifs.protocols.dav.impl.IfsDavServlet: NodeManager: Initialize: determining default services and servers
[29/08/2001 15:18:43:475 EDT] files/oracle.ifs.protocols.dav.impl.IfsDavServlet: NodeManager: Initialize: starting service IfsDefaultService
[29/08/2001 15:18:44:205 EDT] files/oracle.ifs.protocols.dav.impl.IfsDavServlet: NodeManager: Initialize: unable to start service IfsDefaultService
oracle.ifs.common.IfsException: IFS-45083: Unable to start service (IfsDefaultService)
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefaultService)
oracle.ifs.common.IfsException: IFS-20122: Unable to construct service
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: ~`@
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1759)
at oracle.jdbc.oci8.OCIEnv.getEnvHandle(OCIEnv.java:69)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:452)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:287)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at oracle.ifs.server.LibraryConnection.<init>(LibraryConnection.java:245)
at oracle.ifs.server.ConnectionPool.constructLibraryConnection(ConnectionPool.java:712)
at oracle.ifs.server.ConnectionPool.createLibraryConnection(ConnectionPool.java:673)
at oracle.ifs.server.ConnectionPool.<init>(ConnectionPool.java:311)
at oracle.ifs.server.S_LibraryService.resetConnectionPools(S_LibraryService.java:3195)
at oracle.ifs.server.S_LibraryService.<init>(S_LibraryService.java:1042)
at oracle.ifs.server.S_LibraryService.startService(S_LibraryService.java:1399)
at oracle.ifs.beans.LibraryService.startService(LibraryService.java:255)
at oracle.ifs.management.domain.NodeManager.startService(NodeManager.java:917)
at oracle.ifs.management.domain.NodeManager.bootstrap(NodeManager.java:1329)
at oracle.ifs.management.domain.NodeManager.access$300(NodeManager.java:83)
at oracle.ifs.management.domain.NodeManager$3.run(NodeManager.java:562)Hi Charles.
Several points:
- Look at the appendix of the 1.1 Developer's Guide for details on this error message. http://technet.oracle.com/docs/products/ifs/doc_library/ifs_1_1/Developers%20Guide/Errormessages.html#1011023
- In the appendix of the 1.1 Developer's Guide, it indicates "...can also occur if the DatabaseUrl setting in the service properties file is invalid."
- I think the DatabaseUrl is found in the $ORACLE_HOME/ifs1.1/settings/oracle/ifs/server/properties/HttpServer.properties file.
- Could it be that you didn't re-run IfsConfig after changing something about your connection? I believe IfsConfig sets the DatabaseUrl for you.
Hope that helps.
Alan -
Unable to connect (invalid username/password)
Hi there.
I have major problems with connecting to iFS. The db and iFS is running on a remot machine under solaris and i use a windows nt machine. I use iFS 1.1, jdk 1.3 and the jdbc driver for jdk 1.2 that is provided by the oracle website. I am sure that the username and the password are right. Is there a special Here is the code i use for connecting:
LibraryService ls = new LibraryService();
LibrarySession session = null;
CleartextCredential me = new CleartextCredential(user, password);
ConnectOptions connect = new ConnectOptions();
connect.setLocale(Locale.getDefault());
connect.setServiceName(service);
connect.setServicePassword(password);
session = ls.connect(me, connect);
And here is the exception:
oracle.ifs.common.IfsException: IFS-10620: Unable to construct connection pool
oracle.ifs.common.IfsException: IFS-10620: Unable to construct connection pool
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1500)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:310)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:200)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at oracle.ifs.server.LibraryConnection.<init>(LibraryConnection.java:235)
at oracle.ifs.server.ConnectionPool.createLibraryConnection(ConnectionPool.java:576)
at oracle.ifs.server.ConnectionPool.<init>(ConnectionPool.java:321)
at oracle.ifs.server.S_LibraryService.<init>(S_LibraryService.java:912)
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)
at com.ifbus.XSP.oracleifs.IfsUtils.startIfsSession(IfsUtils.java:141)
at com.ifbus.XSP.oracleifs.IfsUtils.startIfsSession(IfsUtils.java:103)
at C._Programme._tomcat_3_2_1._webapps._archiv._site._startsession.populateDocument(_startsession.java:108)
at org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java:96)
at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:516)
at org.apache.cocoon.Engine.handle(Engine.java:370)
at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
DEBUG: XIfsException.toDOM( [#document-fragment: null] )
DEBUG: XIfsException.toDOM([#document: null], oracle.ifs.common.IfsException: IFS-10620: Unable to construct connection pool)
DEBUG: XIfsException.toDOM([#document: null], 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-01017: invalid username/password; logon denied
DEBUG: XIfsException.toDOM([#document: null], oracle.ifs.common.IfsException: IFS-10600: Unable to construct library connection
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
nullWhich HTTP Listener are you using... This stack trace looks strange. I would expect to see reference to org.apache.jserv if you were running a supported environment. The supported Web Servers are JWS which comes with iFS, and Oracle HTTP Listener, which comes with 8.1.7 or iAS 1.0.2
Also please try with JDBC11 and let me know if this works
Maybe you are looking for
-
Sharing a iMovie with a PC /Powerpoint.
Hi, I made a mini iMOvie for my local church to use this Sunday. It is only one mintue long. So I emailed it to him and also burn it to CD. He says he can't open it on his PC. I can't open ift on my PC laptop either. But works great on my MAC. He wou
-
HT4623 resetting iphone 4 with black screen
black screen other than when i turn it off i can see an apple what can be wrong( yes it is fully charged)! people say to reset it thru itunes but how can i if i cant see whats on my screen
-
hi I have a date datatype in Essbase, when we populate a date, in HFR, it is showing some weird data. Can someone pls help me for the same. thanks
-
Hi all, We have implemented Objective Setting and we find the following problem : When we want to enter the objective of an apraisee in the template via web, the number of characters we can enter in the objective setting box is limited to something l
-
OBIEE Web service Html View Service
Please help us with the solution I am facing the problem of displaying the report to the page ; the page is empty and when view source the html is encoded