[JBoss-user] [Installation, Configuration Deployment] - Re: Mutiple Instances of JBOSS 4.0.1 SP1
look this http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3898030#3898030 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898030 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Local home interface does not have the method findByPrimaryK
I have a problem with one of my CMP EJBs: jboss-4.0.0 On deployment got the following Errors: ObjectName: jboss.j2ee:jndiName=LogOffline,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Local home interface does not have the method findByPrimaryKey(java.lang.Long) However my Local Home Interface does have the method. package logoffline.ejb.cmp; | | import java.sql.Timestamp; | import java.util.Collection; | | import javax.ejb.CreateException; | import javax.ejb.EJBLocalHome; | import javax.ejb.FinderException; | | import logoffline.vo.VOLogOffline; | | /** | * | * @author hmo | * | */ | public interface LogOfflineHome extends EJBLocalHome { | | /** | * Criar instância baseando-se em VO | * @param voLogoffline | * @return | * @throws CreateException | */ | public LogOffline create(VOLogOffline voLogoffline) throws CreateException; | | /** | * Retorna todo o log | * Atenção: pode gerar stack overflow | * @return | * @throws FinderException | */ | public Collection findAll() throws FinderException; | | /** | * Obter um log específico | * @param dtQuando | * @return | * @throws FinderException | */ | public LogOffline findByPrimaryKey(Long LID) throws FinderException; | | /** TODO: método para filtrar busca no log com data início e fim*/ | } ?xml version=1.0 encoding=UTF-8? | !DOCTYPE ejb-jar PUBLIC | -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN | http://java.sun.com/dtd/ejb-jar_2_0.dtd; | ejb-jar | display-nameLogOffLine/display-name | descriptionManipular dados da TB_LOG_OFFLINE/description | enterprise-beans | entity | display-nameLogOffline/display-name | ejb-nameLogOffline/ejb-name | local-homelogoffline.ejb.cmp.LogOfflineHome/local-home | locallogoffline.ejb.cmp.LogOffline/local | ejb-classlogoffline.ejb.cmp.LogOfflineBean/ejb-class | persistence-typeContainer/persistence-type | prim-key-classjava.lang.Long/prim-key-class | reentrantFalse/reentrant | cmp-version2.x/cmp-version | abstract-schema-nameTB_LOG_OFFLINE/abstract-schema-name | cmp-field | field-nameLID/field-name | /cmp-field | cmp-field | field-namedtQuando/field-name | /cmp-field | cmp-field | field-namedsMsg/field-name | /cmp-field | cmp-field | field-namenmApp/field-name | /cmp-field | cmp-field | field-namenmQtd/field-name | /cmp-field | cmp-field | field-namecdPrefeitura/field-name | /cmp-field | cmp-field | field-namecdEmpresa/field-name | /cmp-field | cmp-field | field-namenmVersao/field-name | /cmp-field | primkey-fieldLID/primkey-field | query | query-method | method-namefindAll/method-name | method-params/ | /query-method | ejb-qlSELECT OBJECT(x) FROM TB_LOG_OFFLINE x/ejb-ql | /query | !-- | query | query-method | method-namefindByPrimaryKey/method-name | method-params | method-paramjava.lang.Long/method-param | /method-params | /query-method | ejb-qlSELECT OBJECT(d) FROM TB_LOG_OFFLINE d where d.ID=?1/ejb-ql | /query | -- | /entity | /enterprise-beans | | assembly-descriptor | container-transaction | method | description / | ejb-nameLogOffline/ejb-name | method-name*/method-name | /method | trans-attributeRequired/trans-attribute | /container-transaction | /assembly-descriptor | /ejb-jar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883605#3883605 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3883605 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast.
[JBoss-user] [Installation Configuration] - Re: jboss started with a lot of java -server Xms 128........
The problem was glibc. I updated the glibc from 2.2.3 to 2.3.4 and the jboss started normally. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3881317#3881317 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881317 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: is possible to registry EBJ's objects under DNS servers
thks... and sorry, i did a stupid question.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3880857#3880857 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880857 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - jboss started with a lot of java -server Xms 128.........
JBoss is running, but open a lot of JVM in Server1 and only 1 in Server2. Why? how to solve this? Server1 - see the 'ps -ax' result: 1506 pts/0S 0:00 /bin/sh ./run.sh -c minimal 1512 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1513 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1514 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1515 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1516 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1517 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1518 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1519 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1520 pts/0S 0:01 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1521 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1522 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1525 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1527 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1528 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1529 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1530 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1531 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1532 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1533 pts/0S 0:00 /opt/java/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/opt/jboss 1542 pts/1R 0:00 ps -ax thks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3880858#3880858 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880858 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - is possible to registry EBJ's objects under DNS servers ?
I would not like to use RMI to registry my EJB, so I would like know if is possible to registry EBJ's objects under DNS servers ? I know is possible to use JNDI with DNS, but I don't know how to registry EJB on DNS server View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3879245#3879245 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879245 --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Installing SSL certificate on JBOSS - SSLException
In my case, the solution was: 1. copy file.keystore to jboss/server//conf eg: jboss/server/soccer/conf 2. copy file.x509 (or file.csr) to jboss/server//conf 3. add the code in jboss-service.xml under jboss/server//conf | mbean code=org.jboss.security.plugins.JaasSecurityDomain | name=Security:service=JaasSecurityDomain,domain=TomcatSSL | dependsjboss.security:service=JaasSecurityManager/depends | constructor | arg type=java.lang.String value=TomcatSSL / | /constructor | attribute name=KeyStoreURL${jboss.server.home.dir}/conf/file.keystore/attribute | attribute name=KeyStorePasspassword/attribute | /mbean | 4. change server.xml under jboss/server//deploy/jbossweb. | !-- SSL/TLS Connector configuration using the admin devl guide keystore -- | Connector port=443 address=${jboss.bind.address} |maxThreads=100 minSpareThreads=5 maxSpareThreads=15 |scheme=https secure=true clientAuth=false |keystoreFile=${jboss.server.home.dir}/conf/offCA/off.keystore |keystorePass=offgiss sslProtocol = TLS / | | !-- A HTTP/1.1 Connector on port 8080 -- | Connector port=80 address=${jboss.bind.address} | maxThreads=150 minSpareThreads=25 maxSpareThreads=75 | enableLookups=true redirectPort=443 acceptCount=100 | connectionTimeout=1 disableUploadTimeout=true/ | 5. test: https://localhost/jmx-console Done. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878954#3878954 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878954 --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user