Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Stardust/FAQ"

(Trouble Shooting)
Line 145: Line 145:
 
<blockquote>''-Xms128m -Xmx512m -XX:MaxPermSize=128m''<br> </blockquote>  
 
<blockquote>''-Xms128m -Xmx512m -XX:MaxPermSize=128m''<br> </blockquote>  
 
On a standalone server (outside eclipse RAD environment) start tomcat using:<br>  
 
On a standalone server (outside eclipse RAD environment) start tomcat using:<br>  
<blockquote>''set JAVA_OPTS=-Xms128m -Xmx512m -XX:MaxPermSize=128m <br>catalina.bat run''<br></blockquote>
+
<blockquote>''set JAVA_OPTS=-Xms128m -Xmx512m -XX:MaxPermSize=128m <br>catalina.bat run''</blockquote>  
 +
===== Why is my completion method invoked twice?  =====
 +
 
 +
You most probably defined the completion method once in the application element which is connected to your activity and a second time in the access point&nbsp; of an out data mapping.
 +
 
 +
To perform the intended operation the application's completion method is invoked first. After the processing is done, the results can be mapped into the process context via outdata mappings. In the access point fields of the outdata mappings one has to select the getter methods which will return the data. When the mappings are executed, the engine will invoke the (getter) methods specified in the access points of the outdata mappings to fetch the values. (If any, it will also evaluate the specified access paths on returned objects.) If the completion method has a return value which should be mapped to a process data, then the access point of the outdata mapping should not use the completion method (again). This would result in a second invocation. To get the reurn value of the completion method use the "''return value''" access point.
  
 
== Other  ==
 
== Other  ==

Revision as of 00:06, 8 November 2011

General Questions

What is the Eclipse Process Manager / the Eclipse project Startdust?
Where did Stardust come from?
Who is building commercial products based on Stardust?
How is Stardust licensed?

Stardust is licensed under the Eclipse Public License.

How can I get help?
Can I get commercial support?

Supported Platforms

On which Java versions can I use Stardust?

On version 6.0.x the following Java runtimes are supported

Vendor
Supported Version
Sun
JDK 5, JDK 6
IBM
32 Bit JRE 6.0 (in combination with WebSphere 7)
BEA/Oracle
JRockit JDK 5.0, update 6 (in combination with Weblogic 10)
JRockit JDK 6.0 (in combination with Weblogic 11g)
Does Stardust work on IBM's / JRockit JDK?

IBM JDK is supported in combination with the supported IBM Websphere version.

JRockit is supported in combination with the supported Weblogic version.

Also see the answers regarding supported Java runtimes and supported Application Servers.

Which Application Server does Stardust support?

On version 6.0.x the following application servers are supported

Server
Version
IBM WebSphere
7
BEA / Oracle WebLogic
10.3.3
JBOSS
5.1
Apache Tomcat
6.0.32
Which Databases does Startdust support?

On version 6.0.x the following database servers are supported

Database Supported Versions
Oracle 10g, 11g R1 (11.1.0.6.0), 11g R2 (11.2.0.1.0)
DB2 UDB 9.1, 9.5
Derby 10.3.1.4
MySQL 5.0, 5.1
Sybase ASE 15.0
SQL Server 2005, 2008
Which environments can Stardust run in?

Stardust can be deployed in EJB and Spring environments.The EJB mode requires a full-blown application server with EJB 2 support (JBOSS, Weblogic, Websphere). Currently the Stardust EJB services are only available as EJB 2 services. EJB 3 support is planned. A Spring deployment is supported in all supported application servers and on Apache Tomcat.

 Can I use Stardust from a .NET environement?

Bug Reporting & Contributing

How do I report a bug in Stardust?
How can I search the existing list of bugs in Stardust?
How can I contribute to Startdust?

Build, Dependencies & Source Code

How can I get the source code?

As a regular part of the project incubation phase the source code is currently under review by the Eclipse legal team. It will be published when the legal review is completed. Check for the latest news on the Stardust main page.

What are the dependencies?

The Stardust dependencies are managed via Apache Maven. Maven POM files describing the dependencies for your target environment and configuration are can be found in our Maven repository.

How do I get acces to the Maven repository?

For the time being, please procure an account as described here.

 What jars do I need for a Java Client?

Please check the product documentaton chapter suitable for your environment (Spring, EJB). Maven POM files to generate a client project will soon be added to the Maven repository.

Internationalization (i18n)

What languages are supported?

The supported languages are English, German, Simplified Chinese and Japanese.

Can I get Stardust in another language?

A: Stardust's portal, error messages and Eclipse plugins are fully i18ned and can be translated by anyone into additional languages. One only has to create and translate the corresponding resource bundles. We found a convenient way to do this using excelbundle and create a script to make the rountrip (translation-update-review-adjustment) easier. This way also non technical people can work on the translation in an Excel sheet.

Trouble Shooting

How can I prevent OutOfMemoryErrors on Tomcat?

The default Tomcat settings (in a RAD scenario) do not allocate much memory. Hence the application may run often out of memory quite frequently. The console log will often throw a java.lang.OutOfMemoryError exception. To avoid this, just add a different memory settings in the Tomcat launch configuration:

Servers > Open Launch Configuration > Arguments > VM arguments > at the very bottom add >

-Xms128m -Xmx512m -XX:MaxPermSize=128m

On a standalone server (outside eclipse RAD environment) start tomcat using:

set JAVA_OPTS=-Xms128m -Xmx512m -XX:MaxPermSize=128m
catalina.bat run
Why is my completion method invoked twice?

You most probably defined the completion method once in the application element which is connected to your activity and a second time in the access point  of an out data mapping.

To perform the intended operation the application's completion method is invoked first. After the processing is done, the results can be mapped into the process context via outdata mappings. In the access point fields of the outdata mappings one has to select the getter methods which will return the data. When the mappings are executed, the engine will invoke the (getter) methods specified in the access points of the outdata mappings to fetch the values. (If any, it will also evaluate the specified access paths on returned objects.) If the completion method has a return value which should be mapped to a process data, then the access point of the outdata mapping should not use the completion method (again). This would result in a second invocation. To get the reurn value of the completion method use the "return value" access point.

Other

How to change the default port on Oracle XE?
c:\> sqlplus '/ as sysdba'
SQL> EXEC DBMS_XDB.SETHTTPPOR SQL> SELECT dbms_xdb.gethttpport, dbms_xdb.getftpport FROM dual;T(8081);[1]
How can I browse the Jackrabbit repository contents?

The easiest way to browse the Jackrabbit repository is to use WebDAV and configure the repository as a network drive under Windows. You will need to ensure that the WebDAV servlets (Simple WebDAV and JCR over WebDAV)  are configured properly in the web.xml of your web application. You can then use a command like the following to map the repository as a network drive:

net use t: "http://<hostname>:<port>/<context-root>/jackrabbit/repository/default/ipp-repository" /User:<jcr-user> <jcr-password>
 

The <jcr-user> and <jcr-password> can be obtained by looking up the values specified in the jackrabbit-jcr-context.xml file.

To browse the Jackrabbit tree and look up the node property values you can use a tool like JCR Browser (http://sourceforge.net/projects/jcrbrowser). This tool provides options to connect to the repository over RMI/WebDAV etc.

How do I configure the DMS / Content repository / Jackrabbit to ...?

For Jackrabbit configuration, tuning options and more please see the Jackrabbit wiki.


References

  1. http://www.orafaq.com/wiki/Oracle_XE#Change_the_default_port

Back to the top