Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Process Manager (Stardust) » Build the infinity portal(HowTo how to build the infinity portal and customize the build proccess)
Build the infinity portal [message #900020] Fri, 03 August 2012 13:26 Go to next message
Florian Kammermann is currently offline Florian KammermannFriend
Messages: 19
Registered: July 2012
Junior Member
I will describe here how to build the infinity portal and customize the pom.xml to your needs.

Setup:
- JBoss-5.1.0
- Eclipse Juno (no maven plugin)
Re: Build the infinity portal [message #900021 is a reply to message #900020] Fri, 03 August 2012 13:33 Go to previous messageGo to next message
Florian Kammermann is currently offline Florian KammermannFriend
Messages: 19
Registered: July 2012
Junior Member
First you need to do these steps:
http://wiki.eclipse.org/STP/Stardust/KnowledgeBase/BuildChangeMgmt/Maven

Be aware to activate the profile in maven:
.......
<profile>
<id>ipp</id>
<repositories>
<repository>
<id>ipp-libs</id>
........

........
<activeProfiles>
<activeProfile>ipp</activeProfile>
</activeProfiles>
........
Re: Build the infinity portal [message #900134 is a reply to message #900021] Sat, 04 August 2012 12:48 Go to previous messageGo to next message
Florian Kammermann is currently offline Florian KammermannFriend
Messages: 19
Registered: July 2012
Junior Member
The creation of the eclipse-project files failed for me from the command line, cause of some plugin maven eclipse plugin problems in version 2.8.
So I needed to start the maven eclipse plugin with version 2.6:
 mvn org.apache.maven.plugins:maven-eclipse-plugin:2.6:eclipse
Re: Build the infinity portal [message #900137 is a reply to message #900134] Sat, 04 August 2012 13:33 Go to previous messageGo to next message
Florian Kammermann is currently offline Florian KammermannFriend
Messages: 19
Registered: July 2012
Junior Member
After building and deploying it to the JBoss, I got this error:
java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V

The issue was, that in the jcr-jackrabbit-webapp-module the jcl-over-slf4j in version 1.5 was referenced.
The slf4j library itself is referenced in version 1.6.1.

To figure this out I used:
mvn dependency:tree

To solve this problem I added:
<exclusions>
	<exclusion>
		<groupId>org.slf4j</groupId>
		<artifactId>jcl-over-slf4j</artifactId>
	</exclusion>
</exclusions>

to jcr-jackrabbit-webapp-module
Re: Build the infinity portal [message #900138 is a reply to message #900137] Sat, 04 August 2012 13:53 Go to previous messageGo to next message
Florian Kammermann is currently offline Florian KammermannFriend
Messages: 19
Registered: July 2012
Junior Member
The next problem was this, while deploying:
Caused by: javax.naming.NameNotFoundException: jcr not bound

It tells us that the configuration in the file: jackrabbit-jcr-context.xml has a problem.
It looks like the jndi-path
java:comp/env/jcr/jackrabbit
is not bound.

Ok, in order to get a working deployment I commented this bean:
<!-- 
	<bean id="repository"
		class="org.springframework.jndi.JndiObjectFactoryBean">
		<property name="jndiName" value="java:comp/env/jcr/jackrabbit" />
	</bean>
	 -->
Re: Build the infinity portal [message #900141 is a reply to message #900138] Sat, 04 August 2012 14:41 Go to previous messageGo to next message
Florian Kammermann is currently offline Florian KammermannFriend
Messages: 19
Registered: July 2012
Junior Member
The next problem was this one:
Caused by: ag.carnot.error.PublicException: The license file 'carnot.license' could not be found.

So you need a license for the version 6.0.4 (this what I configured in my pom.xml).

You can get it here:
www.infinity.com/storefront/faces/plugins/default/procurement/solution-details.xhtml

When you have it, copy the file to the conf directory of your JBoss.
Re: Build the infinity portal [message #900894 is a reply to message #900141] Wed, 08 August 2012 20:53 Go to previous message
Florian Kammermann is currently offline Florian KammermannFriend
Messages: 19
Registered: July 2012
Junior Member
No Message Body

[Updated on: Wed, 08 August 2012 20:55]

Report message to a moderator

Previous Topic:User not found error while running reports in Stardust env
Next Topic:create schema in version 6.0.4 for mysql 5.5.27
Goto Forum:
  


Current Time: Wed Apr 24 23:34:23 GMT 2024

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

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

Back to the top