Skip to main content



      Home
Home » Archived » Eclipse Process Manager (Stardust) » How to Deploy Stardust project on Tomcat without Eclipse(How to Deploy Stardust project on Tomcat without Eclipse)
How to Deploy Stardust project on Tomcat without Eclipse [message #1722129] Tue, 02 February 2016 16:19 Go to next message
Eclipse UserFriend
I have run through the Support Case example. I would like to deploy the project on Tomcat without Eclipse. Please help me understand the steps.

I was able to build the 'sysconsole' and something called 'Runtime' by following:
https://wiki.eclipse.org/Stardust/Knowledge_Base/Build_and_Change_Management/Maven/Basic_Setup

I don't see instructions on how to build 'console' which mentions the 'deploy' command. Not clear what kind of file it will deploy:

http: //help.eclipse.org/mars/topic/org.eclipse.stardust.docs.dev/html/handbooks/operation/commandline/ag-commandline-3.htm?cp=72_7_1_1_2#commands


I would expect I need something that produces a war but I don't see anything in 'console'

Keep reading....

In the 'Other Archetypes' of the above '.../Maven/Basic_Setup' URL it mentions instructions on how to 'gain access' that takes you to this page:

https://www.eclipse.org/stardust/download/download.php

Following the link the Sungard page says:
Thank you for visiting! The Infinity Storefront is no longer available. If you are looking for the procurement history for your organization, please contact your SunGard Account Representative.

** Note that I was not able to create an USERNAME/PWD. **

Keep reading...

Later in the posting it describes how to generate a war using an eclipse.

I found this posting where someone went through similar steps.
https://www.eclipse.org/forums/index.php/t/869281/


The plugin install instructions are here:
https://wiki.eclipse.org/Stardust/Knowledge_Base/Build_and_Change_Management/Maven/Basic_Setup#M2_Eclipse_Plugin


I did these:

* Install m2e:
http://books.sonatype.com/m2eclipse-book/reference/install-sect-marketplace.html
* Install m2e
Help > Install New Software >
http://download.eclipse.org/m2e-wtp/releases/mars/index
Choose 'Maven Integration for WTP'

Continuing to section 'Remote Archetype Catalog' adding a remote archtype it gets stuck the because clicking 'Verify' button prompts for a Sungard UNERNAME/PWD. This is no longer available, see above.

Also note it would be helpful to provide a Maven settings.xml.

[Updated on: Tue, 02 February 2016 16:28] by Moderator

Re: How to Deploy Stardust project on Tomcat without Eclipse [message #1722145 is a reply to message #1722129] Wed, 03 February 2016 00:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi Roger,

There are two by which you can generate .war.
1) Using maven archetype.
2) Using eclipse export as war, right click on the project -> Export -> War.

Sysconsole utility is used for admin tasks like generate database schema.

Console command line utility deploy command will deploy a model to the runtime, you can do this via portal as well.

-Tanmoy Roy
Re: How to Deploy Stardust project on Tomcat without Eclipse [message #1722232 is a reply to message #1722145] Wed, 03 February 2016 09:50 Go to previous messageGo to next message
Eclipse UserFriend
Thank you for your reply.
I tried the eclipse: project>Export>War approach. I put the WAR generated into Tomcat's webapps folder. After using the Tomcat's startup.bat command the console displays:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'carnotAuditTrailDataSource' defined in ServletContext resource [/WEB-INF/config/ipp/spring/carnot-spring-context.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name [AuditTrail.DataSource] is not bound in this Context. Unable to find [AuditTrail.DataSource].
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1482)


Searching the forums I see some one has mentioned a similar error and talks about updating the carnot.properties file.

https://www.eclipse.org/forums/index.php/t/251637/

The carnot.properties file is in the WAR/WEB-INF/classes and contains things like:
AuditTrail.DataSource = java:/AuditTrail.DataSource
AuditTrail.Type = DERBY
AuditTrail.DriverClass = org.apache.derby.jdbc.ClientDriver
AuditTrail.URL = jdbc:derby://localhost/carnot
AuditTrail.Schema =
AuditTrail.User = carnot
AuditTrail.Password = ag
  • Attachment: logs.zip
    (Size: 3.60KB, Downloaded 271 times)

[Updated on: Wed, 03 February 2016 09:50] by Moderator

Re: How to Deploy Stardust project on Tomcat without Eclipse [message #1722309 is a reply to message #1722232] Thu, 04 February 2016 00:45 Go to previous message
Eclipse UserFriend
In your case, JNDI name not found. I guess tomcat is not configure with the audittrail data source. Please refer to document 'Deploying Applications' or 'Tomcat Archetype' section.

-Tanmoy Roy
Previous Topic:Edit 1 element in Structured Data with a sequence
Next Topic:Stardust Portal 4.0,0 Skin problem
Goto Forum:
  


Current Time: Sun Jun 22 02:23:36 EDT 2025

Powered by FUDForum. Page generated in 0.04309 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top