[JBoss Tools (users)] - Do the JBoss Tools for SEAM work?
by JeffCybulski
I've created a SEAM project as specified by:
http://docs.jboss.org/tools/2.0.0.GA/seam/en/html/create_new_seam.html
However, whenever I attempt to run or build a module, this:
"default,all,minimal,other - type your own here"
is in the deploy path. I've verified the server and runtime in preferences, as well as console output...they're both looking in the right spot. The project is just not deploying in the right spot, the "default,all,minimal,other - type your own here" folder is being created and deployed to.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148474#4148474
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148474
16 years, 4 months
[Installation, Configuration & DEPLOYMENT] - Exception $java.util.ConcurrentModificationException
by dharmalingam
Folks ,
I have deployed my customer application in to Jboss 4.0.5 GA server.
All the pages working except one page. When i click that page am getting below error.
Can you please help me to out this issue
------------------
A general error has occurred please report this to your system administrator.
Exception
$java.util.ConcurrentModificationException
java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
java.util.HashMap$ValueIterator.next(HashMap.java:871)
org.hibernate.pretty.Printer.toString(Printer.java:90)
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:97))
org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:575)
org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:662)
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632)
org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:314)
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:117)
like etc.
Thanks
Dharma
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148473#4148473
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148473
16 years, 4 months
[Installation, Configuration & DEPLOYMENT] - Configuring JBoss (4.2.1) SSL
by SoulGrind
OK - so I have a bit of a conundrum...
The organization I work for is attempting to get JBoss running with SSL.
We have purchased a GoDaddy Turbo SSL cert. The problem is this... GoDaddy doesn't have a cert specific for JBoss. They do however support Apache and Tomcat. I optend for "Other" as JBoss wasn't listed. I do realize however this may not have been the wisest choice.
I have been reviewing the JBoss wiki located at http://wiki.jboss.org/wiki/SSLSetup;jsessionid=648378AE78137D63E6CE8DA1B7...
It seems to be heavily geared towards JBoss-3.2.3/Tomcat-4.1.x with anecdotal references to JBoss-4.2.1.
Anyway... I am hoping that I am on the right tract. Maybe somebody can steer me in the right direction...
Our implementation is somewhat non-standard. But the directory structure is basically unchanged.
Here are the steps I've taken thus far:
1.) Generate the keystore file using Sun JAVA 1.4.2_15
M:\java\j2sdk1.4.2_15\bin\keytool.exe -genkey -alias jboss-ssl - keyalg RSA -keystore M:\clients\rel500-qa\SSL\rel500-qa.keystore -validity 3650
NOTE: rel500-qa is the name of the site in question.
2.) Generate the CSR
M:\java\j2sdk1.4.2_15\bin\keytool.exe -certreq -alias jboss-ssl -keyalg RSA -file M:\clients\rel500-qa\SSL\rel500-qa.csr -keystore M:\clients\rel500-qa\SSL\rel500-qa.keystore
3.) Submit the CSR to GoDaddy and receive a Turbo SSL Cert
4.) According to GoDaddy, it was recommended that I include GoDaddy's "Cross-Intermediate and Intermediate certs."
a.) M:\java\j2sdk1.4.2_15\bin\keytool.exe -import -alias cross -keystore rel500-qa.keystore -trustcacerts -file M:\clients\rel500-qa\SSL\gd_cross_intermediate.cer
b.) M:\java\j2sdk1.4.2_15\bin\keytool.exe -keystore M:\clients\rel500-qa\SSL\rel500-qa.keystore -import -alias inter -file M:\clients\rel500-qa\SSL\gd_intermediate.cer.
5.) Import the GoDaddy assigned cert
M:\java\j2sdk1.4.2_15\bin\keytool.exe -keystore M:\clients\rel500-qa\SSL\rel500-qa.keystore -keyalg "RSA" -import -trustcacerts -file M:\clients\rel500-qa\SSL\rel500-qa.domain-name.crt
I now have a fully populated keystore file.
When I test the keystore for PKCS12 validity, it fails...
M:\clients\rel500-qa\SSL>M:\java\j2sdk1.4.2_15\bin\keytool.exe -list -keystore M:\clients\rel500-qa\SSL\rel500-qa.keystore -storetype PKCS12
| keytool error: java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.
That is my first hurdle...
After that is resolved, my next hurdle is WHERE should the keystore file reside?
>From the wiki, I am thinking it belongs in /conf/rel500-qa.keystore
Additionally, I am thinking that according to the wiki, I need to modify deploy/jboss-web.deployer/server.xml however, the formatting is considerably different than that for JBoss-3.2.3/Tomcat-4.1.x and I am wondering how it should look. Can I still use the following configration data:
keystoreFile="${jboss.server.home.dir}/conf/server.keystore"
| keystorePass="tc-ssl"
| protocol = "TLS"/>
If so, how should it look? I am thinking something like this, but I'm not entirely sure...
<!-- Define a SSL HTTP/1.1 Connector on port 8443
| This connector uses the JSSE configuration, when using APR, the
| connector should be using the OpenSSL style configuration
| described in the APR documentation -->
|
| <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
| maxThreads="150" scheme="https" secure="true"
| keystoreFile="${jboss.server.home.dir}/conf/server.keystore"
| clientAuth="false" sslProtocol="TLS" />
Any assistance would be greatly appreciated - thanks.
Caine
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148471#4148471
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148471
16 years, 4 months
[Installation, Configuration & DEPLOYMENT] - Tomcat to JBoss migration question
by nporwal
I have an application that runs well in Tomcat6. Under the conf\Catalina\localhost I have a viewData.xml file with these details:
| <Context path="/viewData" docBase="C:\\viewData\\web">
| <Logger className="org.apache.catalina.logger.FileLogger"
| prefix="viewData." suffix=".txt"
| timestamp="true"/>
| <Resource
| name="jms/viewData"
| auth="Container"
| type="com.ibm.mq.jms.MQQueueConnectionFactory"
| factory="com.ibm.mq.jms.MQQueueConnectionFactoryFactory"
| description="JMS Queue Connection Factory for sending messages"
| HOST="DEVMQHOST"
| PORT="1414"
| CHAN="JAVA.CHANNEL"
| TRAN="1"
| QMGR="DEVMQMGR"/>
|
| <Resource
| name="jms/viewDataSend"
| auth="Container"
| type="com.ibm.mq.jms.MQQueue"
| factory="com.ibm.mq.jms.MQQueueFactory"
| description="JMS Queue for sending"
| QU="VIEWDATA.SEND"/>
|
| <Resource
| name="jms/viewDataReceive"
| auth="Container"
| type="com.ibm.mq.jms.MQQueue"
| factory="com.ibm.mq.jms.MQQueueFactory"
| description="JMS Queue for receiving"
| QU="VIEWDATA.RECEIVE"/>
| </Context>
|
How do I deploy this application in Jboss 4.2.2.GA?
1. I tried putting the web folder in the server/default/deploy folder as viewData. When I tried accessing it via the browser, I got the 404 message "The requested resource (/viewData/.....) is not available.
2. I moved the folder out of server/default/deploy and moved it to D:\viewData
In the default/deploy/jboss-web.deployer/server.xml file, I added this code snippet under the section.
| <Context path="/viewData" docBase="C:\\viewData"/>
|
I also added a WEB.INF/jboss-web.xml
| <jboss-web>
| <Context path="/viewData">
| <Logger className="org.apache.catalina.logger.FileLogger"
| prefix="viewData." suffix=".txt"
| timestamp="true"/>
| <Resource
| name="jms/viewData"
| auth="Container"
| type="com.ibm.mq.jms.MQQueueConnectionFactory"
| factory="com.ibm.mq.jms.MQQueueConnectionFactoryFactory"
| description="JMS Queue Connection Factory for sending messages"
| HOST="DEVMQHOST"
| PORT="1414"
| CHAN="JAVA.CHANNEL"
| TRAN="1"
| QMGR="DEVMQMGR"/>
|
| <Resource
| name="jms/viewDataSend"
| auth="Container"
| type="com.ibm.mq.jms.MQQueue"
| factory="com.ibm.mq.jms.MQQueueFactory"
| description="JMS Queue for sending"
| QU="VIEWDATA.SEND"/>
|
| <Resource
| name="jms/viewDataQueue"
| auth="Container"
| type="com.ibm.mq.jms.MQQueue"
| factory="com.ibm.mq.jms.MQQueueFactory"
| description="JMS Queue for receiving"
| QU="VIEWDATA.RECEIVE"/>
| </Context>
| </jboss-web>
|
When I tried accessing the URL again, I got this error message:
| org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'viewDataService' defined in ServletContext resource [/WEB-INF/viewData-servlet.xml]: Cannot resolve reference to bean .....
|
What do I need to change?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148463#4148463
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148463
16 years, 4 months