Hello!
I dont know is this a contribution, bug or my mistake …
Following error appears during instalation process of X-Application. I had Tamino libraries inside lib dir of Tomcat, after removing them problem disappears.
Here is the error description from running property. Setup process went ok, i think that You may prevent this situation somehow suring setup or put a note in documentation (or mayby there is a note but i havent found it …) .Let me, add one more think - X-Application is exactly what i need to prepare i.e. quick pilot project THANKS.
I hope this help!
Additional info:
Database is created and setup process without any errors.
Database version 3.1.1.4
Database op system: win 2000 p
Database is alive.
Database has a collections and data according to the operation processed by setup
Error description from explorer screen after running property example
!Error!
An error occurred in the application program. Please report the following problem to your webmaster.
Error message: 017: TaminoStore Exception.
Help message: The connection to the Tamino database could not be established. An administrator should have a look to the stack trace for checking whether the settings of the web.xml file are correct or the database is started up.
Exception Type: MajorEnvironmentException
Stacktrace:
MajorEnvironmentException: 017: TaminoStore Exception.
com.softwareag.tamino.db.API.connection.TServerNotAvailableException
Server Not Available!
NestedException:Invocation constructor failed.
NestedException without message!
at com.softwareag.tamino.db.API.connection.TConnectionFactory.newConnection(TConnectionFactory.java:50)
at com.softwareag.xtools.xapplication.store.TaminoStore.connect(TaminoStore.java:301)
at com.softwareag.xtools.xapplication.store.TaminoStore.(TaminoStore.java:246)
at com.softwareag.xtools.xapplication.jsp.ApplicationContext.newStore(ApplicationContext.java:194)
at com.softwareag.xtools.xapplication.jsp.ApplicationContext.(ApplicationContext.java:77)
at com.softwareag.xtools.xapplication.jsp.ApplicationContext.forServlet(ApplicationContext.java:122)
at com.softwareag.xtools.xapplication.jsp.ServletSessionContext.findApplicationContext(ServletSessionContext.java:168)
at com.softwareag.xtools.xapplication.jsp.ServletSessionContext.findSessionContext(ServletSessionContext.java:95)
at com.softwareag.xtools.xapplication.jsp.ServletSessionContext.findSessionContext(ServletSessionContext.java:70)
at com.softwareag.xtools.xapplication.jsp.JspTag.checkContext(JspTag.java:226)
at com.softwareag.xtools.xapplication.jsp.JspTag.doStartTag(JspTag.java:114)
at Home_1._jspService(Home_1.java:102)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:484)
powered by Tamino X-Application
Here is the env.cmd settings:
:: X-Application configuration
:: Location where X-Application is installed.
:: Specify an absolute path here.
:: Do not use quotes, even if the path contains spaces.
:: Do not append / or .
set XAPPLICATION_HOME=c:/xapplication_312
:: Location of your JDK
:: JAVA_HOME points to your JDK 1.3.
:: If JAVA_HOME is already defined in your environment, you don’t have
:: to assign a value here. Otherwise, un-comment the following line and
:: supply a proper value.
:: Do not use quotes, even if the path contains spaces.
:: If you want to run the tests, JAVA_HOME has to point to a local JDK!
set JAVA_HOME=c:/java/jbuilder5/jdk1.3
:: Command to launch Java virtual machine.
:: Usually, there is no need to change this variable:
set JAVACMD=%JAVA_HOME%/bin/java
:: Location where Tomcat is installed
set TOMCAT_HOME=c:/java/Tomcat3.3
:: Port number Tomcat listens to
:: There is no need to change this variable unless you changed the
:: port Tomcat listens to (i.e. you changed the
::
:: line in tomcat-3.3/conf/server.xml).
:: If so, set this variable to the same value you specified for
:: for the port attribute.
:: Note: Tamino Webdav server includes Tomcat 3.3 configured for port 4000.
:: Specify port 4000 here (and the propert TOMCAT_HOME above)
:: to use Webdav’s Tomcat.
set TOMCAT_PORT=8080
:: URL pointing to your Tamino database.
:: Has to be an existing database, X-Application does not create a Tamino database.
:: Note that this is not a URL to Tomcat.
set TAMINO_URL=http://localhost/tamino/xa
:: Tamino collection containing example and demo data
:: X-Application’s setup script installs sample and testing data in
:: this collection. Examples and demo applications work with this data.
:: X-Application creates a new collection if the specified collection does
:: not exist. To avoid conflicts with existing data, we suggest to specify
:: a new collection here.
set XAPPLICATION_COLLECTION=xapplication312
:: Java compiler used to build X-Application.
:: Usually, there is no need to change this variable. Unless you want to
:: speedup compilation by using jikes …
:: Say “classic”, “modern”, “jikes” or “jvc”. When using jikes, make sure it’s
:: in your path. Technically, this variable specifies ant’s “build.compiler” property.
set BUILD_COMPILER=classic
:: Tomcat might need some more memory.
set TOMCAT_OPTS=-Xmx256M
[This message was edited by Harald Wolf on 30 Jul 2002 at 22:28.]
#API-Management#webMethods#Tamino