[JBoss Portal] - Re: JBoss Portal : Best Practices
by syllant
Nobody to answer to these relevant questions ?
Seems to me that best approch would consist in building another SAR for specific needs, but as far as I understand, you have to override some files inside core modules to get a portal really customized. Examples :
- META-INF/jboss-service.xml to customize header pages, error pages, ... (otherwise, override default files)
- portal-cms.sar/META-INF/jboss-service.xml to customize CMS
- portal-server.war/*.jsp for authentication
- etc.
I am setting up my first project with JBP. I've decided to override default files which needs changes (these files are externalized inside custom modules in SVN) and to create a SAR which stores all files specific to our portal : custom portlets, theme, layout, ...
But I'm not totally satisfied with this approch (and its implementation with Maven) : I wish I could customize a portal without changing default configuration.
How do you resolve this ?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101798#4101798
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101798
18 years, 5 months
[Clustering/JBoss] - Re: XAConnectionFactory not found only in Clustering
by seoeng
Here is some additional startup info showing the recognition of 2 nodes and then the HAJNDI binding address:
| 02 Nov 2007 08:53:43,822 INFO [main] (HAPartitionImpl.java:261) - Number of cluster members: 2
| 02 Nov 2007 08:53:43,822 INFO [main] (HAPartitionImpl.java:272) - Other members: 1
| 02 Nov 2007 08:53:43,822 INFO [main] (HAPartitionImpl.java:303) - Fetching state (will wait for 30000 milliseconds):
| 02 Nov 2007 08:53:44,807 INFO [main] (HAPartitionImpl.java:327) - state was retrieved successfully (in 985 milliseconds)
| 02 Nov 2007 08:53:45,041 INFO [main] (DetachedHANamingService.java:465) - Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/127.0.0.1
| 02 Nov 2007 08:53:45,057 INFO [main] (DetachedHANamingService.java:561) - Listening on /127.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100
| 02 Nov 2007 08:53:45,291 INFO [main] (TreeCache.java:1403) - No transaction manager lookup class has been defined. Transactions cannot be used
| 02 Nov 2007 08:53:45,338 INFO [main] (InterceptorChainFactory.java:277) - interceptor chain is:
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101797#4101797
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101797
18 years, 5 months
[JBoss jBPM] - Re: How to get Pocess from server
by SidKennedy
meanwhile I found out that I can connect and get the ProcessDefinitions stored in the DB like this:
| JbpmConfiguration config = JbpmConfiguration.getInstance();
| JbpmContext context = config.createJbpmContext();
| List processes = context.getGraphSession().findLatestProcessDefinitions();
|
but in the third line an exception is thrown.
anonymous wrote :
| java.lang.NoClassDefFoundError: org/hibernate/Session
| at org.jbpm.persistence.db.DbPersistenceServiceFactory.openService(DbPersistenceServiceFactory.java:56)
| at org.jbpm.svc.Services.getService(Services.java:136)
| at org.jbpm.svc.Services.getPersistenceService(Services.java:175)
| at org.jbpm.JbpmContext.getPersistenceService(JbpmContext.java:596)
| at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:537)
| ....
|
what does that mean?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101791#4101791
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101791
18 years, 5 months
[JBoss Seam] - Please help me with answering this on unit/integrated tests
by tiwaryamit
Hi .
I have started on Seam a few weeks and looks like it is going to be our framework for next set of web development. I was interested in hibernate2 example which came with Seam download. There were no unit/integration tests provided. Does it mean that we can't have unit/integrated tests without embedded JBoss in Tomcat? Is there any way using which I will be able to write unit/integration tests in plain tomcat deployment scenario. Please help me with answers/suggestions to these queries as it is a big road block for me since last two days.
Please help me.
ps: I tried migrating the test cases from booking example here, but when I run ant test, it throws the below exception.
"
testng] ERROR 05-11 18:51:49,517 [org.jboss.dependency.plugins.AbstractController.incrementState():456] Error installing to Start: name=jboss:database=localDB,service=Hypersonic state=Create mode=Manual requiredState=Installed
[testng] java.sql.SQLException: Wrong database file version
".
Mine is an Oracle Datasource configured in context.xml.
Have a great day ahead.
Thanks
Amit
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101789#4101789
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101789
18 years, 5 months