[JBoss-user] [JBossCache] - Remote access JBossCache cluster
Hi, there, Suppose I have two machines A and B in the same subset. On A, I deploy JBossCache as the primary, and on B I deploy another cache instance as backup. A and B are configured to be a cluster, by configuring the ClusterName attribute to be of the same name TreeCache-Cluster, also with the same UDP mcast_addr = 228.1.2.5, as well as the same mcast_port. Furthermore, there is another machine C, wanting to access the cache cluster. C is in the same subset of A and B. Question is, is it possible for C to access the cluster, using JGroups protocol, while in the point of view of C, both A and B are transparent? If this is feasible, can someone please show a sample code? thanks. Kan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878846#3878846 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878846 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Can't get JBoss started or get EJB deployed
The package (jboss-3.2.7_jdk13.zip) I downloaded is only 8MB. This is what the snippet of the readme coming with the package JBoss 3.2.7 The jboss-3.2.7 release for the J2EE? 1.3 codebase is a bug fix and minor feature enhancement release. A jboss-3.2.x getting started guide that is based on contents of the J2EE? 1.3 tutorial can be found on the JBoss web site documentation section, 3.2 Getting Started Guide. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878849#3878849 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878849 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - why xxxEJB.jar and xxxEJB-client.jar
Hi, can someone tell me why I do package /bin folder two times? One time in xxxEJB.jar and in xxxEJB-client.jar. What purpose has has the client.jar? Thanks for any help Mathias View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878851#3878851 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878851 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Deployment NullPointerException during entity-command cr
I've found the problem - turns out I was missing XDoclet tags for identifying my primary key column. Instead of raising a deployment verifier exception, a NullPointerException was raised in the guts CMP engine. This behaviour is probably a real bug that could be looked into. Regards. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878853#3878853 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878853 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: is it possible to have in-memory caching if running on m
Hello, This is exactly what I have been using - REPLY_ASYNC. I have also tried using RmiDelegatingCacheLoader instead of FileCacheLoader (with the host set explicitly to one of the IPs in the cluster, the same IP in the XMLs on each machine). Nothing worked. The two test instances both use the same node to store keys, of course. Here is the complete configuration file: server | mbean code=org.jboss.cache.TreeCache | name=jboss.cache:service=TreeCache | | dependsjboss:service=Naming/depends | dependsjboss:service=TransactionManager/depends | | !-- | Configure the TransactionManager | -- | attribute name=TransactionManagerLookupClassorg.jboss.cache.DummyTransactionManagerLookup/attribute | | | !-- | Node locking level : SERIALIZABLE | SERIALIZABLE (default) | READ_COMMITTED | READ_UNCOMMITTED | NONE | -- | attribute name=IsolationLevelSERIALIZABLE/attribute | | !-- | Valid modes are LOCAL | REPL_ASYNC | REPL_SYNC | -- | attribute name=CacheModeREPL_ASYNC/attribute | | !-- Name of cluster. Needs to be the same for all clusters, in order | to find each other | -- | attribute name=ClusterNametest/attribute | | !-- JGroups protocol stack properties. Can also be a URL, | e.g. file:/home/bela/default.xml |attribute name=ClusterProperties/attribute | -- | | attribute name=ClusterConfig | | config | !-- UDP: if you have a multihomed machine, | set the bind_addr attribute to the appropriate NIC IP address -- | !-- UDP: On Windows machines, because of the media sense feature | being broken with multicast (even after disabling media sense) | set the loopback attribute to true -- | UDP mcast_addr=228.1.2.3 mcast_port=48866 | ip_ttl=64 ip_mcast=true | mcast_send_buf_size=15 mcast_recv_buf_size=8 | ucast_send_buf_size=15 ucast_recv_buf_size=8 | loopback=false/ | PING timeout=2000 num_initial_members=3 | up_thread=false down_thread=false/ | MERGE2 min_interval=1 max_interval=2/ | !--FD shun=true up_thread=true down_thread=true /-- | FD_SOCK/ | VERIFY_SUSPECT timeout=1500 | up_thread=false down_thread=false/ | pbcast.NAKACK gc_lag=50 retransmit_timeout=600,1200,2400,4800 | max_xmit_size=8192 up_thread=false down_thread=false/ | UNICAST timeout=600,1200,2400 window_size=100 min_threshold=10 | down_thread=false/ | pbcast.STABLE desired_avg_gossip=2 | up_thread=false down_thread=false/ | FRAG frag_size=8192 | down_thread=false up_thread=false/ | pbcast.GMS join_timeout=5000 join_retry_timeout=2000 | shun=true print_local_addr=true/ | pbcast.STATE_TRANSFER up_thread=true down_thread=true/ | /config | | | /attribute | | | !-- | The max amount of time (in milliseconds) we wait until the | initial state (ie. the contents of the cache) are retrieved from | existing members in a clustered environment | -- | attribute name=InitialStateRetrievalTimeout5000/attribute | | !-- | Number of milliseconds to wait until all responses for a | synchronous call have been received. | -- | attribute name=SyncReplTimeout1/attribute | | !-- Max number of milliseconds to wait for a lock acquisition -- | attribute name=LockAcquisitionTimeout15000/attribute | | !-- Name of the eviction policy class. -- | attribute name=EvictionPolicyClass/attribute | | |attribute name=FetchStateOnStartuptrue/attribute | |attribute name=CacheLoaderClassorg.jboss.cache.loader.RmiDelegationCacheLoader/attribute | |attribute name=CacheLoaderConfig | | host=192.168.97.148 | /attribute | | attribute name=CacheLoaderSharedtrue/attribute | |attribute name=CacheLoaderPreload//attribute | |attribute
[JBoss-user] [JNDI/Naming/Network] - Re: InitialContext.lookup(
You are using the wrong URL to connect to JBoss, you should try the following: - h.put(Context.PROVIDER_URL,jnp://localhost:1099); View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878857#3878857 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878857 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: javax.naming.CommunicationException
Have you checked to make sure that your client is using the same versions of the jars that are shipped with the version of JBoss you are trying to connect to? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878858#3878858 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878858 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: why xxxEJB.jar and xxxEJB-client.jar
I am not sure if I understand your question. What are you using to package your project? Are you running through a tutorial? or are you using JBoss IDE? You might be packaging the classes twice so that you have one archive that can be deployed on the server, the -client.jar can then be given to remote clients that will be accessing your beans. The client jar would be restricted to just the interfaces that the client need to see i.e. the client does not need to see the bean implementation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878859#3878859 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878859 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Where do I find the org.jboss.varia namespace?
Hello, I want to use the scheduler in Jboss but it seems that I can't find the org.jboss.varia.scheduler.ScheduleManager namespace. I can find other org.jboss things but the varia is not there, what do I need? Regards George View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878860#3878860 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878860 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Where do I find the org.jboss.varia namespace?
See {jboss.home}/server/default/lib/scheduler-plugin.jar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878861#3878861 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878861 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Where do I find the org.jboss.varia namespace?
Ah thank you! copied the file into our project and added to build path and now i can find it. /George View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878862#3878862 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878862 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: javax.naming.CommunicationException
Thank you for your reply! Thank you very much! That's the solution! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878864#3878864 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878864 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Clustering Service doesn't work,although HA-JNDI works!
Hi all, My client code runs well with clustering.But there is one problem,that is,services can not be transferred to another server in the same partition,in other words,clustering doesn't work correctly.Howerver, JNDI lookup works well although its server doesn't run. Can you help me? Can you tell me what should be done to change the situation? I will appreciate very much for your help! Thank you very much! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878865#3878865 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878865 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Clustering Service doesn't work,although HA-JNDI works!
Hi all, My client code runs well with clustering.But there is one problem,that is,services can not be transferred to another server in the same partition,in other words,clustering doesn't work correctly.Howerver, JNDI lookup works well although its server doesn't run. Can you help me? Can you tell me what should be done to change the situation? I will appreciate very much for your help! Thank you very much! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878866#3878866 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878866 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state
Your session bean contains a reference to something that can not be serialized by the container. anonymous wrote : java.io.NotSerializableException: org.jboss.mq.SpyQueueSender Within the ejbPassivate method you need to clear the references to anything that can not be serialized by the container. Have you got a QueueSender or something that you have not closed and set to null? If you have a look at the EJB 2.1 specification section 7.4.1 there is a list of what can be handled by the container. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878872#3878872 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878872 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - HAR deployement problem
hello! jboss 4.0.2 hibernate 3.0 MySQL 4.0.15 I have got a strange problem: When I deploy my ear without har inside of it : no problem When I add the har, it deletes my table or the fields in my table without any actions on database via hibernate. hibernate-service.xml ?xml version=1.0 encoding=UTF-8? | | server | mbean code=org.jboss.hibernate.jmx.Hibernate name=jboss.har:service=Hibernate | attribute name=DatasourceNamejava:/MySqlDS/attribute | attribute name=Dialectorg.hibernate.dialect.MySQLDialect/attribute | attribute name=SessionFactoryNamejava:/hibernate/CaveatEmptorSessionFactory/attribute | attribute name=CacheProviderClassorg.hibernate.cache.HashtableCacheProvider/attribute | attribute name=Hbm2ddlAutocreate-drop/attribute | attribute name=ShowSqlEnabledtrue/attribute | /mbean | /server mysql-ds.xml datasources | local-tx-datasource | jndi-nameMySqlDS/jndi-name | connection-urljdbc:mysql://localhost:3306/first/connection-url | driver-classcom.mysql.jdbc.Driver/driver-class | user-nametest/user-name | passwordtest/password | exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter/exception-sorter-class-name | !-- sql to call when connection is created | new-connection-sqlsome arbitrary sql/new-connection-sql | -- | !-- sql to call on an existing pooled connection when it is obtained from pool | check-valid-connection-sqlsome arbitrary sql/check-valid-connection-sql | -- | | !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -- | metadata |type-mappingmySQL/type-mapping | /metadata | /local-tx-datasource | /datasources employe.hbm.xml ?xml version=1.0? | !DOCTYPE hibernate-mapping PUBLIC | -//Hibernate/Hibernate Mapping DTD//EN | http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd; | | hibernate-mapping package=struts.hibernate | class | name=Employe | table=employe | | id | name=Id | type=integer | column=id | | generator class=increment/ | /id | | property | name=Nom | column=nom | type=string | not-null=true | length=15 | / | property | name=Prenom | column=prenom | type=string | not-null=true | length=15 | / | | | /class | /hibernate-mapping jboss-app.xml !DOCTYPE jboss-app PUBLIC -//JBoss//DTD J2EE Application 1.4//EN | http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd; | jboss-app | module | harstruts.har/har | /module | /jboss-app I am using JBossIDE with Xdoclet Configurations and Packaging Configurations This happens at deployement time. Before deployement : table is here with the fields. After deployement : table not here anymore. NO ERROR message from the output of JBoss. Thanks. Alban. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878874#3878874 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878874 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: HAR deployement problem
Here is the output of JBoss. === | . | JBoss Bootstrap Environment | . | JBOSS_HOME: C:\jboss-4.0.2\bin\\.. | . | JAVA: C:\j2sdk1.4.2_05\bin\java | . | JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m | . | CLASSPATH: C:\j2sdk1.4.2_05\lib\tools.jar;C:\jboss-4.0.2\bin\\run.jar | . | === | . | 12:04:21,906 INFO [Server] Starting JBoss (MX MicroKernel)... | 12:04:21,906 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023) | 12:04:21,906 INFO [Server] Home Dir: C:\jboss-4.0.2 | 12:04:21,906 INFO [Server] Home URL: file:/C:/jboss-4.0.2/ | 12:04:21,906 INFO [Server] Library URL: file:/C:/jboss-4.0.2/lib/ | 12:04:21,906 INFO [Server] Patch URL: null | 12:04:21,906 INFO [Server] Server Name: default | 12:04:21,906 INFO [Server] Server Home Dir: C:\jboss-4.0.2\server\default | 12:04:21,906 INFO [Server] Server Home URL: file:/C:/jboss-4.0.2/server/default/ | 12:04:21,906 INFO [Server] Server Data Dir: C:\jboss-4.0.2\server\default\data | 12:04:21,906 INFO [Server] Server Temp Dir: C:\jboss-4.0.2\server\default\tmp | 12:04:21,921 INFO [Server] Server Config URL: file:/C:/jboss-4.0.2/server/default/conf/ | 12:04:21,921 INFO [Server] Server Library URL: file:/C:/jboss-4.0.2/server/default/lib/ | 12:04:21,921 INFO [Server] Root Deployment Filename: jboss-service.xml | 12:04:21,921 INFO [Server] Starting General Purpose Architecture (GPA)... | 12:04:22,250 INFO [ServerInfo] Java version: 1.4.2_05,Sun Microsystems Inc. | 12:04:22,250 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_05-b04,Sun Microsystems Inc. | 12:04:22,250 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 | 12:04:23,078 INFO [Server] Core system initialized | 12:04:24,546 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml | 12:04:24,640 INFO [WebService] Using RMI server codebase: http://XP-ALTECA2:8083/ | 12:04:24,750 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server S | [EMAIL PROTECTED] | 12:04:28,343 INFO [Embedded] Catalina naming disabled | 12:04:28,703 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080 | 12:04:28,703 INFO [Catalina] Initialization processed in 297 ms | 12:04:28,703 INFO [StandardService] Starting service jboss.web | 12:04:28,703 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9 | 12:04:28,750 INFO [StandardHost] XML validation disabled | 12:04:28,781 INFO [Catalina] Server startup in 78 ms | 12:04:28,906 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/jboss-4.0.2/server/default/deploy/http-invoker.sar/invoker.war/ | 12:04:29,171 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined | 12:04:29,765 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp15521jboss-ws4ee-exp.war/ | 12:04:29,875 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/ | 12:04:30,078 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/C:/jboss-4.0.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpi | l.war/ | 12:04:31,656 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/jboss-4.0.2/server/default/deploy/management/console-mgr.sar/web-console. | war/ | 12:04:32,578 INFO [MailService] Mail Service bound to java:/Mail | 12:04:32,984 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.2/server/default/deploy/jboss-ha-local-jdbc.ra | r | 12:04:33,109 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.2/server/default/deploy/jboss-ha-xa-jdbc.rar | 12:04:33,218 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.2/server/default/deploy/jboss-local-jdbc.rar | 12:04:33,328 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.2/server/default/deploy/jboss-xa-jdbc.rar | 12:04:33,421 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.2/server/default/deploy/jms/jms-ra.rar | 12:04:33,500 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/jboss-4.0.2/server/default/deploy/mail-ra.rar | 12:04:34,468 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSou | rceBinding to JNDI name 'java:DefaultDS' | 12:04:34,796 INFO [A] Bound to JNDI name: queue/A | 12:04:34,796 INFO [B]
[JBoss-user] [JBossWS] - SOAP client does not work in JBoss 4.0.1
I have written a SOAP client that uses JMX, it works fine with JBoss 3.2.5, but when I use the same with JBoss 4.0.1 I get the following exception: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client faultSubcode: faultString: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.net.axis.server.WsdlAwareHttpActionHandl er java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.net.axis.server.WsdlAwareHttpActionHandler at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:216) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:179) at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:120) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:418) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:347) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:322) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:307) at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:167) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:322) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:307) at org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:189) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:322) at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:307) at org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:511) at org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:312) at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:312) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:297) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:975) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.unisys.comms.management.soap.filter.SOAPRequestFilter.doFilter(SOAPRequestFilter.java:172) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54) at
[JBoss-user] [Security JAAS/JBoss] - [pb login config]
Hi, this is my first post and here is my problem ;) When using JBoss 4.0.2, my authentification login form does not appear anymore :( I'm using a JSF page and an JSF action which intialize the LoginContext within the name and password of the user. In my web.xml file, i have this : | login-config | auth-methodFORM/auth-method | form-login-config | form-login-page/common/login.faces/form-login-page | form-error-page/common/login.faces/form-error-page | /form-login-config | /login-config | this is my login-config.xml | application-policy name = xnetDB | authentication | login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule | flag = required | module-option name=dsJndiName | java:/DefaultDS | /module-option | module-option name=principalsQuery | SELECT CODE FROM RESOURCES WHERE code=? AND login='1' | /module-option | module-option name=rolesQuery | SELECT PROFILEID, 'Roles' FROM RESOURCES WHERE code=? | /module-option | /login-module | /authentication | /application-policy | When i try to access a securized page, if not principal has been set, i do have the login page All works well in Jboss 4.0.1 but not in JBoss 4.0.2..has something changed ? I really don't understand :( thx for your help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878878#3878878 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878878 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: HAR deployement problem
alban_coul, the problem lays in your hibernate-service.xml: | attribute name=Hbm2ddlAutocreate-drop/attribute | create-drop, on JBoss startup, is creating all the tables defined in your *.hbm.xml files and then droping them. To prevent this from happening, once you have created all the tables, specify no value in your Hbm2ddlAuto attribute: | attribute name=Hbm2ddlAuto/attribute | regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878881#3878881 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878881 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: HAR deployement problem
alban_coul, the problem lays in your hibernate-service.xml: create-drop create-drop, on JBoss startup, is creating all the tables defined in your *.hbm.xml files and then droping them. To prevent this from happening, once you have created all the tables, specify no value in your Hbm2ddlAuto attribute: regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878879#3878879 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878879 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - JBoss 3.2.3 hanging - 100% CPU usage
Hello all, I am having a bit of a strange problem using JBoss 3.2.3 where the server will hang for a considerable amount of time with the CPU usage sitting at 100% before continuing as normal. Before I explain the problem, here is an outline of the general control flow of the (web) application: Struts Form - Struts Action Class - Delegate Class - EJB - Worker Class - DAO The problem is occuring when the Worker Class throws a user defined exception which is caught by the EJB which in turn generates an EJBException to force transaction rollback. The Delegate Class catches this as a RemoteException and rethrows as a (user defined) UnexpectedException. This is caught in the Struts Action Class which then sets the Error field on the Struts Form for display to the end user. When this happens for the first time, everything seems to work fine as it should and an appropriate error is displayed on the client browser. However, if you repeat the operation, JBoss will hang with the CPU usage sitting at 100% for about 7 minutes. I have included some DEBUG output displayed on the JBoss console to illustrate this: 10:04:13,880 DEBUG [RequestProcessor] Populating bean properties from this request 10:11:48,974 DEBUG [RequestProcessor] Validating input form properties 10:13:59,193 DEBUG [RequestProcessor] Populating bean properties from this request 10:20:23,083 DEBUG [RequestProcessor] Validating input form properties I have tried this on Solaris 9, Windows 2000 and Windows XP machines and have had the same problem with all. I have also tried a later version of JBoss (3.2.7) but the problem is still there so I am assuming that it is a problem with the code or configuration. Any help would be much appreciated. Cheers, Rod View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878886#3878886 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878886 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state
Thank you for the reply. Yes I have a QueueSender initialized in ejbCreate. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878887#3878887 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878887 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: why xxxEJB.jar and xxxEJB-client.jar
I was running through the tutorial and asked myself, why /bin folder was packed two times. But if I understand you correctly, the client-jar does only contain the accessible Methods without the implementation? Thx for the help Mathias View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878890#3878890 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878890 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state
I tried to set the QueueSender to null in ejbPassivate, and reactivate it in ejbActivate. It changes the error to: 13:33:29,358 WARN [AbstractInstanceCache] failed to passivate, id=e941glx4-d javax.ejb.EJBException: Could not passivate; failed to save state; CausedByExcep tion is: org.jboss.resource.adapter.jdbc.WrappedConnection at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivate Session(StatefulSessionFilePersistenceManager.java:404) at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(Stateful SessionInstanceCache.java:93) at org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractIn stanceCache.java:180) at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.ru n(LRUEnterpriseContextCachePolicy.java:419) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) java.io.NotSerializableException: org.jboss.resource.adapter.jdbc.WrappedConnect ion at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java :1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:13 41) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav a:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java :1369) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:13 41) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav a:1284) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.passivate Session(StatefulSessionFilePersistenceManager.java:395) at org.jboss.ejb.plugins.StatefulSessionInstanceCache.passivate(Stateful SessionInstanceCache.java:93) at org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractIn stanceCache.java:180) at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.ru n(LRUEnterpriseContextCachePolicy.java:419) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) anonymous wrote : java.io.NotSerializableException: org.jboss.resource.adapter.jdbc.WrappedConnect | ion Any hints on that one. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878892#3878892 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878892 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state
Think about it, as it is the same error as before ! | java.io.NotSerializableException: org.jboss.resource.adapter.jdbc.WrappedConnect | ion | This simply means, that you have an attribute of type org.jboss.resource.adapter.jdbc.WrappedConnect ion ( or mybe java.sql.Connection ) that is NOT serializable... like org.jboss.mq.SpyQueueSender Regards Ulf View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878893#3878893 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878893 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state
Yes, but I dont know what that wrappecconnector is. I dont have any sql code in my bean. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878894#3878894 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878894 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12alloc_id344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: problems with my own portlet
thx for your tips, but the jsp is already fixed. here is the running version | %@ page import=de.oio.data.* % | %@ page import=javax.portlet.*% | %@ taglib uri=/WEB-INF/portal-lib.tld prefix=m% | %@ taglib uri=/WEB-INF/portlet.tld prefix=portlet% | portlet:defineObjects/ | % | String calcAction = (String)session.getAttribute(calcAction); | String calcbin = (String)session.getAttribute(calcbin); | % | PThis is a very simple calculator (can only add)./P | div | br / | Result : %= ((Calculator)session.getAttribute(testBean)).getSResult()% | br / | br / | br / | /div | form method=POST action=portlet:actionURL/portlet:actionURL | div | INPUT TYPE=TEXT NAME=sNumber1 id=sNumber1 VALUE=0 / | INPUT TYPE=TEXT NAME=sNumber2 id=sNumber2 VALUE=0 / | /div | br / | div | input name=calcbin type=radio value=bin %=calcbin.equals(bin) ? CHECKED : %/bin | input name=calcbin type=radio value=hex %=calcbin.equals(hex) ? CHECKED : %/hex | input name=calcbin type=radio value=oct %=calcbin.equals(oct) ? CHECKED : %/oct | input name=calcbin type=radio value=fac %=calcbin.equals(fac) ? CHECKED : %/n! | br / | br / | /div | div | INPUT TYPE=SUBMIT name=calcAction id=1 value=sub/ | INPUT TYPE=SUBMIT name=calcAction id=2 value=add/ | INPUT TYPE=SUBMIT name=calcAction id=3 value=div/ | INPUT TYPE=SUBMIT name=calcAction id=4 value=multi/ | INPUT TYPE=SUBMIT name=calcAction id=5 value=mod / | Input type=submit name=do value=resolve / | /div | | /form thanks to roy for helping me ben View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878895#3878895 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878895 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state
Post your ejb class attribute section View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878896#3878896 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878896 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - rpc/encoded
Hi, Can i use rpc/encoded with jboss 4.0.2 ? I generated stubs with wscompile and it seems to work .. but in some posts i have found that i cannot use rpc/encoded regards, kula View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878897#3878897 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878897 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: HAR deployement problem
Thanks!! It works now! Sorry for that stupid mistake. Alban. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878899#3878899 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878899 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state
I had a logger class, that used a jdbc connection. Looks like it is working correct now - setting it to null in passivate etc. At least no errors for 17 minutes now ;) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878900#3878900 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878900 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state
Don't forget to re-initialise the values in your ejbActivate method otherwise your next set of errors will be NullPointer exceptions when your code attempts to use the variables you have just set to null. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878902#3878902 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878902 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Could not passivate; failed to save state
Yes, I did do that. Thanks alot for the help both of you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878903#3878903 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878903 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: HAR deployement problem
Alban, no need to appologise. It's a mistake I couldn't figure out myself for a long while when I first started ;-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878904#3878904 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878904 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: complex types with xdoclet 1.2.3
alright, wscompile does it well. thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878905#3878905 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878905 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - no SOAPAction header
hi, I had this with 4.0.1 already and thought 4.0.2 would behave different. when calling a webservice from a VB client using MS SOAP toolkit jboss says org.jboss.axis.AxisFault: no SOAPAction header. the thing is, you can't set a SOAP action header in MSSOAP. Of course there's a more complex way to access a WS from VB using HttpConnector,SoapSerializer,SoapReader, but I prefer a direct method call. Is there anything that can be done about it in jboss? Is it the original axis behavior or is it jboss specific? maybe it should be configurable? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878906#3878906 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878906 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Bad, bad JBOSS - too many threads
We're currently using JBOSS 3.2.5 on Linux Debian 2.4.28 and we've noticed some serious architectural problem: every entity bean has it's (synchronization) thread (Standard ejb 2.x container with commit option D and NoLock policy). This is fragment of dump after SIGQUIT: Thread-313 daemon prio=1 tid=0x0x8c81c0e8 nid=0x5a44 waiting on monitor [965ff000..965ff8ac] at java.lang.Thread.sleep(Native Method) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor$ValidContextsRefresher.run(EntitySynchronizationInterceptor.java:586) at java.lang.Thread.run(Thread.java:536) Thread-312 daemon prio=1 tid=0x0x8c43f088 nid=0x5a3a waiting on monitor [967ff000..967ff8ac] at java.lang.Thread.sleep(Native Method) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor$ValidContextsRefresher.run(EntitySynchronizationInterceptor.java:586) at java.lang.Thread.run(Thread.java:536) Thread-311 daemon prio=1 tid=0x0x8c8893f8 nid=0x5a39 waiting on monitor [969ff000..969ff8ac] at java.lang.Thread.sleep(Native Method) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor$ValidContextsRefresher.run(EntitySynchronizationInterceptor.java:586) at java.lang.Thread.run(Thread.java:536) Thread-310 daemon prio=1 tid=0x0x8c804490 nid=0x5a38 waiting on monitor [96bff000..96bff8ac] at java.lang.Thread.sleep(Native Method) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor$ValidContextsRefresher.run(EntitySynchronizationInterceptor.java:586) at java.lang.Thread.run(Thread.java:536) (... and so on) We are using currently about 270 entity beans, our project is still being developed - it may easly become bigger. So far, so good, now the bad things: our OS (an many others I think), or JVM crashes (OutOfMemoryError)when too many threads are created. We have tested with small java app, that increasing -Xmx parameter decreases maximal number of threads that could be created. There is almast no dependecy with other parameters (i.e. -Xss). For example: java -server -Xmx1024m -Xss127k TTest - gives about 434 threads java -server -Xmx900m -Xss127k TTest - gives about 497 threads java -server -Xmx800m -Xss127k TTest - gives about 547 threads We are almost convinced that there is some bug of JVM that we cannot more threads when -Xmx is larger. That behaviour of JVM was tested with: Linux jdk 1.4.0_03-b04, Linux jdk 1.4.2_08-b03, Linux jdk 1.5.0_03-b07 Win XP jdk 1.4.2_08-b03. Jboss seems to crash too because of this strange behaviour (limited number of threads, user limits are 'unlimited'). As I said, our project is rather big - we would have a lot of work to do if we would have to move to other persitency manager (like Hibernate or something). Is there any chance to fix this problem? How can we limit number of threads in JBOSS (maybe EntitySynchronizationInterceptor should deal with group of entity beans)? best regards, Przemek View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878908#3878908 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878908 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Deployment or rar to jboss4
Moved to correct user forum. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878909#3878909 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878909 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Jboss + mod_jk
How can I disable jk loggin? I'm using JBoss 3.2.3 integrated with Apache and it generates a lot of DEBUG data in server.log and console for jk requests. I tried modifying conf/log4j.xml by adding !-- Limit Tomcat jk connector -- but it is not working I am getting this log in server.log Last-Modified = Thu, 12 May 2005 20:22:40 GMT 2005-05-24 09:02:21,808 ERROR [STDERR] [DEBUG] JkCoyoteHandler - doWrite 0 8184 8 2005-05-24 09:02:21,808 ERROR [STDERR] [DEBUG] JkCoyoteHandler - doWrite 8184 8 0 2005-05-24 09:02:21,808 ERROR [STDERR] [DEBUG] JkCoyoteHandler - doWrite 0 2250 0 2005-05-24 09:02:21,809 ERROR [STDERR] [DEBUG] JkCoyoteHandler - CLOSE thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878911#3878911 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878911 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Bad, bad JBOSS - too many threads
Create a bug report: http://jira.jboss.com/jira/browse/JBAS View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878913#3878913 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878913 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Surpassing configured max nodes for a region doesnt limit it
As a test, I set my xml config file to a max of 10 nodes. but I can insert past it with no error or problem. Here are my relevant xml settings. Maybe someone can tell me if Im doing something wrong. Thanks in advance, Sean Gildea attribute name=EvictionPolicyClassorg.jboss.cache.eviction.LRUPolicy/attribute |attribute name=EvictionPolicyConfig | config | attribute name=wakeUpIntervalSeconds60/attribute | | region name=/_default_ | attribute name=maxNodes10/attribute | attribute name=timeToIdleSeconds1000/attribute | /region | region name=/atpcore/fares | attribute name=maxNodes10/attribute | attribute name=timeToIdleSeconds60/attribute | /region | /config | | /attribute | |attribute name=FetchStateOnStartuptrue/attribute |attribute name=CacheLoaderClassorg.jboss.cache.loader.FileCacheLoader/attribute |attribute name=CacheLoaderConfig | location=c:\\tmp\\oodb |/attribute |attribute name=CacheLoaderSharedfalse/attribute |attribute name=CacheLoaderPreload/atpcore/fares/attribute |attribute name=CacheLoaderFetchTransientStatefalse/attribute |attribute name=CacheLoaderFetchPersistentStatetrue/attribute View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878915#3878915 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878915 --- 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] [JBossWS] - Re: no SOAPAction header
it does work with MS SOAP toolkit 3.0, but still the question is if it could work with the older Version as well. Is it simply undefined behavior if the SOAPAction header isn't there? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878917#3878917 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878917 --- 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] [JBoss Portal] - JAAS/SSO configuration
Hello, I'm researching JBoss Portal for a few projects. After browsing through the documentation, I have a few questions about JAAS and SSO. If someone has a few minutes to either go into detail on a few points or direct me to some further documentation, I'd greatly appreciate it. As I understand the software (from the reference documentation), the permissions are mapped to roles in the jboss-portlet.xml. These roles are defined in the database and managed via the roles portlet. Obtaining authorization for a permission is done by a call to JBossRenderRequest or JBossActionRequest's hasPermission(permission) method. Are there methods to obtain the Principal or the Subject? For instance, I will need to somehow authenticate and authorize the user in my service layer which will most likely be a remote or local EJB sesssion facade. What would be considered the best practice for accomplishing this under your famework/API? Also, are there any modules written for obtaining authentication/authorization against other user stores (LDAP, etc.) or is this left to the developer to implement via some custom LoginModule or other means? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878918#3878918 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878918 --- 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] [Management, JMX/JBoss] - where do all mbean attributes come from. Not all are defined
I am trying to understand where all attributes displayed on JMX console for a given MBean are sourced (come from). I am running the JBoss default server and am looking at the jboss-service.xml file in the default server's conf directory. The attributes explicity defined in an MBean such as: !-- A Thread pool service -- JBoss System Threads System Threads !-- How long a thread will live without any tasks in MS -- 6 !-- The max number of threads in the pool -- 10 !-- The max number of tasks before the queue is full -- 1000 run only identify 6 of the 10 that are displayed by the JMX console (below) PoolNumber . Instance KeepAliveTime QueueSize BlockingMode ThreadGroupName Name MaximumQueueSize MinimumPoolSize MaximumPoolSize THe question is Where do the other 4 come from? WHere are they defined? THank you in advance for the answer, - andy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878919#3878919 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878919 --- 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] [Management, JMX/JBoss] - Re: where do all mbean attributes come from. Not all are def
please disregard and see the next post. thank you View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878921#3878921 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878921 --- 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] [Management, JMX/JBoss] - where do all mbean attributes come from. Not all are defined
I am trying to understand where all attributes displayed on JMX console for a given MBean are sourced (come from). I am running the JBoss default server and am looking at the jboss-service.xml file in the default server's conf directory. For example, in the the Thread pool service, the attributes explicity defined in an MBean are: !-- A Thread pool service -- attribute name=NameJBoss System Threads attribute attribute name=ThreadGroupNameSystem Threads attribute !-- How long a thread will live without any tasks in MS -- attribute name=KeepAliveTime6 attribute !-- The max number of threads in the pool -- attribute name=MaximumPoolSize10 attribute !-- The max number of tasks before the queue is full -- attribute name=MaximumQueueSize1000 attribute attribute name=BlockingModerun attribute The JMX console displays 10 attributes (listed below) while only 6 were defined above. PoolNumber . Instance KeepAliveTime QueueSize BlockingMode ThreadGroupName Name MaximumQueueSize MinimumPoolSize MaximumPoolSize THe question is Where do the other 4 come from? WHere are they defined? THank you in advance for the answer, - andy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878920#3878920 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878920 --- 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] [Management, JMX/JBoss] - Re: where do all mbean attributes come from. Not all are def
In the jboss-service.xml descriptors we simply inject values to any number of setable attributes, we don't declare the attributes there. If we are talking about standard mbeans, attributes are derived from the MBean interface implemented by the class (using reflection), by those methods that follow the java bean pattern: public some-type getAttrName(); public void setAttrName(some-type); (read the jmx spec). In jboss we also have xmbean (when an xmbean descriptor is provided, where we can explicitly specify the attributes there). See for example the descriptors in server/default/conf/xmdesc directory. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878922#3878922 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878922 --- 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] less than optimal LIMIT with JBossQL
Hello, Using JBoss 3.2.6, our application queries a MySQL (4.0.23) database with a dynamic JBossQL query that contains a LIMIT clause. However, in the SQL query that is generated by the container to be processed by MySQL, unfortunately no LIMIT clause appears, causing MySQL to do a lot more work (taking a lot more time) than is actually necessary (finding and sorting 100.000 records in stead of just the first 100). Unfortunately, it doesn't seem possible to further optimize at MySQL level (e.g. by adding even more indexes). So, why does JBoss not actually preserve the LIMIT clause on the generated SQL query? Of course, I really wonder whether it is possible to add configuration to make this happen after all? Thanks a lot! Yours, Jurjan-Paul Medema --- 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] [Security JAAS/JBoss] - ERROR [JaasSecurityManagerService] Failed to create sec mgr
Hi all; i'm using JBoss 3.2.6 on Windows XP sp 2 and SDK 1.4.2_07; i have created a my .ear and i have created a my security-domain; well i have modified the auth.conf file by adding: | eng { |// jBoss LoginModule |org.jboss.security.ClientLoginModule required; | |// Put your login modules that need jBoss here | }; | Then i have modifed the login-config.xml in this way: | authentication login-module code = org.jboss.security.auth.spi.ProxyLoginModule flag = required module-option name = moduleName /module-optionmodule-option name = unauthenticatedIdentity /module-optionmodule-option name = dsJndiName /module-optionmodule-option name = daemonUsername /module-optionmodule-option name = daemonPassword/module-option /login-module /authentication /application-policy
[JBoss-user] [Installation Configuration] - Re: configuring cookie domain in jboss
And as to configure session cookie prefix, because JSESSIONID is used in Weblogic and Jboss/Tomcat, so causing conflict and lose sessions for any requests. Is possible with Jboss/Tomcat ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878926#3878926 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878926 --- 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] [JBoss Getting Started Documentation] - Couldn't start JBoss from the 4.0.2 version zip file
Hi, I'm a newbee here so please be kind :). I downloaded the latest version of JBoss 4.0.2 from the download site. I unzipped it to my machine to a directory C:\JBOSS2. This is a WIN2000 machine. From the command prompt, went to the jboss\jboss-4.0.2\bin directory and ran the run.bat file. The result of running the run.bat file seems to be a Java Exception in thread main java.lang.UnsupportedClassVersionError. Here are the results: C:\JBOSS2\jboss-4.0.2\binpath PATH=C:\Oracle8i\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\IBM Connectors\Encina\bin;;C:\Program Files\Reflection;C:\WINNT\sy em32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRAM FILES\THINKPAD\UTILITIES;C:\WINNT\system32\nls;C:\WINNT\system32\nls\English;.;. lib;C:\ORANT\BIN;c:\weblogic\wlserver6.1\bin;c:\weblogic\wlserver6.1;C:\jdk1.3.1_06\bin C:\JBOSS2\jboss-4.0.2\binrun === . JBoss Bootstrap Environment . JBOSS_HOME: C:\JBOSS2\jboss-4.0.2 . JAVA: C:\bea\jdk131_10\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m . CLASSPATH: C:\bea\jdk131_10\lib\tools.jar;C:\JBOSS2\jboss-4.0.2\bin\run.jar . === . C:\bea\jdk131_10\bin\java -Dprogram.name=run.bat -Xms128m -Xmx512m -Djava.endorsed.dirs=C:\JBOSS2\jboss-4.0.2\lib\endorsed lasspath C:\bea\jdk131_10\lib\tools.jar;C:\JBOSS2\jboss-4.0.2\bin\run.jar org.jboss.Main Exception in thread main java.lang.UnsupportedClassVersionError: org/jboss/Main (Unsupported major.minor version 48.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:488) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106) at java.net.URLClassLoader.defineClass(URLClassLoader.java:243) at java.net.URLClassLoader.access$100(URLClassLoader.java:51) at java.net.URLClassLoader$1.run(URLClassLoader.java:190) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:183) at java.lang.ClassLoader.loadClass(ClassLoader.java:294) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288) at java.lang.ClassLoader.loadClass(ClassLoader.java:250) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) Press any key to continue . . . Thanks for looking any help would be greatly appreciated. V View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878925#3878925 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878925 --- 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] [HTTPD, Servlets JSP] - Problems with HTTP response body
Hi, I'm invoking an URL from Java code in JBoss 3.2.1+Tomcat4.1.24 using JDK 1.3.0_07. The response body (which I get using connection.getInputStream()) contains an XML document but sometimes I found also the HTTP headers, e.g. | HTTP/1.1 200 OKContent-Type: text/html;charset=iso-8859-1;Transfer-Encoding: chunkedDate: Tue, 24 May 2005 12:54:53 GMTServer: Apache Coyote/1.02000?xml version='1.0' encoding='ISO-8859-1'?Metadata ../Metadata0 | The invoked URL is a servlet which writes the XML in the response. If I use JDK 1.4 it's ok. Any idea? Thanks, Andrea View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878927#3878927 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878927 --- 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] [JBoss Getting Started Documentation] - Re: Couldn't start JBoss from the 4.0.2 version zip file
JBoss 4.0.x requires Java 1.4 or 5.0. Java 1.3 is no longer supported. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878928#3878928 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878928 --- 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] [JBoss Getting Started Documentation] - Re: Couldn't start JBoss from the 4.0.2 version zip file
Also I see you have quite a few application servers installed on your machine. You will probably find it easier if you just download the Java JDK from Sun and use that with JBoss instead of trying to use the JDK bundled with another application server. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878929#3878929 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878929 --- 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] [JBoss Portal] - Re: JBoss Portal runs on AS 4.0.2 final now
I received an error from CVS: cvs checkout: requires a path spec | cvs checkout: :pserver[;keyword=value...]:[username[:[EMAIL PROTECTED]:port][:]/path | cvs [checkout aborted]: Bad CVSROOT. | The following checkout string seemed to work. The code is still downloading, so I have not built the source yet to confirm. cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jboss-portal-2.0 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878930#3878930 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878930 --- 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] [JBoss Getting Started Documentation] - Re: Couldn't start JBoss from the 4.0.2 version zip file
Thank you so much Darran, you saved me hours. Vinny View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878931#3878931 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878931 --- 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] [Advanced Documentation] - JBoss 4.0 - The official Guide published by SAMS
Just wondering what more the book offer than the documents downloaded from the JBoss web. Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878932#3878932 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878932 --- 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] [Beginners Corner] - log file purging
Just curious to know what other users of JBoss use to purge old log files. I have some Java code I've used in stand-alone apps to roll and purge old log files, but was wondering how other users are doing it in JBoss. I suspect chron jobs on *nix and scheduled batch files on Windows. I'm still surprised log4j hasn't built in support for purging old log files... Any ideas or examples of log file rolling and purging would be appreciated. (I know log4j has support for rolling files, so no need to point that out.) Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878935#3878935 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878935 --- 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: How do I set timeout of statefull session bean in JBOSS-
take a look at max-bean-age (passivation) and max-bean-life (removal) in the standard jboss.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878936#3878936 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878936 --- 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] [Security JAAS/JBoss] - Clustering and single sign-on
I would like to set up a simple demo demonstrating single sign-on across a cluster using Jboss 4.0.2. I have enabled the org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn valve in the server.xml file in jbossweb-tomcat55.sar for starters. Now I need to set up a cluster. Can someone tell me the steps to do this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878937#3878937 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878937 --- 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] [JBossWS] - ejb endpoint and return type
How can I return (and generate stubs) from ejb (endpoint) object which includes property: java.util.Set or java.util.Map ? Do I have to use only Arrays[] and other simple types suppotred by JAX-RPC ? ang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878938#3878938 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878938 --- 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] [Beginners Corner] - file operations
Hello, I want to create files on the hard drive from under JBoss MBeans and MDBs. What would be the best way to perform hard disk file read-wrote operations? Directly with IO API or is there any kind of service? If I recall correctly, the EJB spec discourages from direct file access... Is this in any way prevented from in JBoss? Thanks, Kirill. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878940#3878940 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878940 --- 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] [JBoss.NET] - JBoss.Net ClassNotFoundException in JBoss 4.0.2
I am trying to use JBoss.Net on JBoss 4.0.2. I have removed the wsee client lib and SAR and replaced them with the JBoss.Net client lib and SAR. This is an application that used to work with JBoss 3.2.6 and I'm trying to get it working on JBoss 4.0.2. JBoss.Net does load. I can go to http://localhost:8080/jboss-net/ and when I run validate, everything comes back as OK. However, my WSR will not load. I get the following stack trace on startup: ERROR [WSDDDeployment.deployMapping()]: Unable to deploy typemapping: {http://mystuff.test/api}GroupBean java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.axis.encoding.ser.BeanSerializerFactory at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.jboss.axis.utils.ClassUtils$2.run(ClassUtils.java:216) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.axis.utils.ClassUtils.loadClass(ClassUtils.java:179) at org.jboss.axis.utils.ClassUtils.forName(ClassUtils.java:120) at org.jboss.axis.deployment.wsdd.WSDDTypeMapping.getSerializer(WSDDTypeMapping.java:256) at org.jboss.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:372) at org.jboss.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java: 570) at org.jboss.net.axis.Deployment.getTypeMappingRegistry(Deployment.java:350) at org.jboss.net.axis.Deployment.installTypeMappingWithOptions(Deployment.java:365) at org.jboss.net.axis.Deployment.getTypeMappingRegistry(Deployment.java:345) at org.jboss.net.axis.Deployment.deployToRegistry(Deployment.java:326) at org.jboss.net.axis.server.AxisService.startAxisDeployment(AxisService.java:201) at org.jboss.net.axis.server.AxisService.start(AxisService.java:521) at org.jboss.net.axis.server.AxisService.start(AxisService.java:492) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce ptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) I have tried putting the Axis JAR file in many places: in my EAR, in JBOSS_HOME/server/default/lib, etc. And, I have tried using Axis 1.2 vs. Axis 1.1 (what I was originally using). However, the only thing I have been able to effect is I can change this error to a ClassCastException is I put the axis JAR in my EAR. Any help is getting my WSR deployed on 4.0.2 would be appreciated. Nate View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878941#3878941 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878941 --- 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] - How to configure multiple ports
I have one .ear file with at least 2 webites within the ear file. How do I configure j-boss for multiple sites from one j-boss server? Thx in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878942#3878942 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878942 --- 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] [Beginners Corner] - File upload location
Where is a good, secure place to store user-uploaded files in JBoss? I don't want to do it inside my EAR file because the files should remain even after replacing the EAR file. Thanks, Justin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878943#3878943 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878943 --- 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] [HTTPD, Servlets JSP] - JBoss 3.2.3, Tomcat 5, and Context
Ok, I've searched through the forum but haven't been able to find an answer that works for me. I'm trying to see if JBoss/Tomcat can read the standard Tomcat external Context file. So far I haven't had any success. This is what I'm trying. I define a simple parameter in the Context file: Parameter name=mikeycontext value=mikeycontext / I then have a simple test.jsp page trying to get the value: %= pageContext.getServletContext().getInitParameter(mikeycontext) % So far whatever I do I always get null. From this I'm concluding the Context file is not being read. I have the webapp in an ear and the application.xml file defines the module: module web web-uri jgallery.war /web-uri context-root /jgallery /context-root /web /module Now I've tried putting the Context file in many different places: WEB-INF/context.xml WEB-INF/jgallery.xml META-INF/context.xml META-INF/jgallery.xml and no matter what I do the result is the same. The test.jsp page alwasy returns null. Can someone help me out? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878944#3878944 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878944 --- 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] [Security JAAS/JBoss] - Re: Security Propagation Problem: Jboss 4.0.2 vs 4.0.1sp1
Thanks for the reply. I realized that the problem was due to a change in the class loading configuration. http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878945#3878945 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878945 --- 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] - server.log being truncated on Linux
Hi, I'm using JBoss 3.2.7 on Linux and when I boot up a server.log file is created and about the time its done loading JBoss, the file is truncated and its size is zero. What is up with that? I lose all of the log messages. Interesting if I let it run a while and return I have a bunch of server.log (with dates appended on them) and they are all have ZERO size. On Windows 2000 with the same deployment I don't see this at all. Has anybody ran across this before? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878946#3878946 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878946 --- 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] [JCA/JBoss] - relation tables removed
Hi, I am a new JBoss user, and try to use CMP entity beans. I manually created all the entity tables and the relation tables for the entities. In jbosscmp-jdbc.xml, I specified ... create-tablefalse/create-table remove-tablefalse/remove-table I thought, with this configuration, JBoss will not create and remove any tables in the database. My database is MySQL. However, when I shutdown JBoss, the entity tables are still there, but the relation tables disappear! I must have something not configured. I tried to read JBoss doc adminguide.pdf downloaded from JBoss site, but could not find any clue. Is there anyone who could tell me what's wrong? Thanks. Hualing View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878947#3878947 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878947 --- 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] [Persistence CMP/JBoss] - read only beans contention
We have an issue with Entity beans that are being configured as read-only getting locked into transactions. We configured these entity beans as read only in the jboss.xml file, used RequiresNew transaction attribute for all methods in these beans and used commit option 'A' for these beans. But entity lock monitor in jmx-console still shows locking time and contention for some of these beans. We have no clue why those beans are still getting locked into container transactions. Any of you have this kind of issue? Can you please explain what I am missing here? Your help is greatly appreciated. Thank you very much in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878948#3878948 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878948 --- 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] [Security JAAS/JBoss] - JaasSecurityManangerService Mbean
As described in 8.4.2 of the Jboss examples guide, I'm trying to get hold of the current SecurityManager instance. InitialContext iniCtx = new InitialContext(); Object ref = iniCtx.lookup(java:/jaas/chap8-ex2); I get a jaas not bound exception. I'm not able to find it in the JNDIView either. I am trying this on 4.0.1 witht the default configuration. Any suggestions on how to get this working? Thanks! Nitya View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878949#3878949 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878949 --- 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] [JBoss Portal] - Problem accessing to topic forums
Hello I have a problem. I can create a forum and a category, but the problem is when i go into the forum to put some post it gives me an error! And the error is: 2005-05-24 20:20:16,406 INFO [STDOUT] Caused by: net.sf.hibernate.JDBCException: Could not execute query 2005-05-24 20:20:16,406 INFO [STDOUT] at net.sf.hibernate.impl.SessionImpl.iterate(SessionImpl.java:1612) 2005-05-24 20:20:16,406 INFO [STDOUT] at net.sf.hibernate.impl.QueryImpl.iterate(QueryImpl.java:27) 2005-05-24 20:20:16,406 INFO [STDOUT] at org.jboss.portlet.forums.impl.ForumsModuleImpl.findTopics(ForumsModuleImpl.java:306) 2005-05-24 20:20:16,406 INFO [STDOUT] ... 89 more 2005-05-24 20:20:16,406 INFO [STDOUT] Caused by: java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10 topicimpl0_.jbp_id as x0_0_ from jbp_forums_topics topicimpl0_ where (topicim' at line 1 2005-05-24 20:20:16,406 INFO [STDOUT] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2851) 2005-05-24 20:20:16,406 INFO [STDOUT] at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531) 2005-05-24 20:20:16,406 INFO [STDOUT] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1622) 2005-05-24 20:20:16,406 INFO [STDOUT] at com.mysql.jdbc.Connection.execSQL(Connection.java:2385) and ... 2005-05-24 20:20:16,406 ERROR [org.jboss.portal.core.servlet.CoreServlet] Error java.lang.NullPointerException at org.jboss.portlet.forums.ForumsPortlet.fillShowForumContext(ForumsPortlet.java:2235) at org.jboss.portlet.forums.ForumsPortlet.doView(ForumsPortlet.java:330) at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:217) at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:204) at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:347) Can anybody help me View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878950#3878950 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878950 --- 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] [Persistence CMP/JBoss] - Re: xdoclet and simple primary key
try this: * @ejb:bean name=test/SbartinfBean * display-name=Article Bean to store Products in Warehouse * type=CMP * jndi-name=ejb/test/ArticleEJB * primkey-field=iD_ARTICLE * * @ejb:transaction type=Required * * @ejb:finder signature=java.util.Collection findAll() * * @ejb:pk class=java.lang.Integer * * @jboss:table-name table-name=ArticleTable * * @jboss:create-table create=true * * @jboss:remove-table remove=true */ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878951#3878951 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878951 --- 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] [JCA/JBoss] - Re: relation tables removed
Forget about it. That's my fault. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878952#3878952 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878952 --- 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] [JBossCache] - Re: Remote access JBossCache cluster
Question is, is it possible for C to access the cluster root, using JGroups protocol, while in the point of view of C, both A and B are transparent? Let me explain the reason for client C to access cluster instead any specific cache instance. For load balancing purpose, there should be multiple instance in the cluster behaving as the primary caches that serve the concurrent clients, while another cache instance behaves as the backup. All the primary are memory-based only, while the backup has cache persistency loader from/to files or database. Therefore, the architecture of the various instances of the cluster is asymmetric. When the backup instance crashes, one of the primary cache should substitute the backup. Hence, the entire cluster is self-adaptive. Besides, at run time, it should allow new cache instance to join the cluster. Or the current cluster members to quit. That is to say, the cluster is dynamic. Due to the complexity of the internal asymmetric, self-adaptive and dynamic architecture of the cluster, the client should NOT access any cache instance. Instead, the client should access the cluster root while the individual cache instances are transparent to the client. It does not matter too much whether or not JGroups is the appropriate protocol to suppor the communication between the client and the cache cluster root. Can anyone tell us whether or not the above is feasible with the current version of JBossCache/JGroups. If not, will this feature be implemented in the future releases? many thanks, Kan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878953#3878953 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878953 --- 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
[JBoss-user] [Beginners Corner] - Re: JBoss-4.0.2: JAR Classes resolve to a package instead of
I'm answering my own question here, for the benefit of others: It turns out that my ClassPath for the working instance (4.0.1) was including the Oracle instantclient10_1 classes at the front of the JBOSS_CLASSPATH. This ended up included the following two JARs at the head of the ClassPath: - classes12.jar - ojdbc14.jar The fix to this problem, is to remove the altered JBOSS_CLASSPATH from the run.bat (or run.sh) file, and add these 2 JARs to your .../WEB-INF/lib/ folder (or the server's lib folder if you prefer). Now the 4.0.2 server works just great! :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878955#3878955 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878955 --- 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] [HTTPD, Servlets JSP] - Re: web app access control
User question - User forums. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878958#3878958 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878958 --- 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] [JBoss Portal] - Re: JBoss Portal runs on AS 4.0.2 final now
BTW, Elliot, we are finishing up the integrated installer and will be releasing RC2 with it. I will let you know, as it will handle all the DB configurations for you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878959#3878959 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878959 --- 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] [Management, JMX/JBoss] - Separate logging file for each mbean
I am not sure I should ask the logging question here or somewhere else. But I have one sar with serveral mbeans defined. I wonder if I can config jboss so that each mbean has its own logging? How? Do I have to deploy one sar for each mbean to achieve this? What if I have jboss-service.xml outside the sar with multiple mbeans defined. What should I do to get one logging per sar? Another question is that my mbean implementations extends jboss ServiceMBeanSupport class. That class has a logging. My own application has logging too. How do I combine them togehter? Thanks. Richard View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878962#3878962 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878962 --- 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] [JBossWS] - Re: HTTPS : java.net.SocketTimeoutException: Read timed out
Hello, I think I will not get an answer for this problem. I think something is wrong with the server on the side side of the smalltalk webservice. Someone else did notice the same behaviour with Axis. I did not have problems with http but only with https. The smalltalk server doesn't do anything with https. Other servers are taking care of routing and ssl etc (complex, complex...). The webservice can't be tested from outside because it is a closed network between companies. I will let it rest here. Thanks for the answers. Johan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878964#3878964 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878964 --- 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] [JBoss Portal] - Re: How to movefrom struts MVC to portlets?
first, struts is not compatible with portlet unless you use the struts bridge with allow struts app to run within a portlet. this can be usefull if you want to reuse an application as it is. however you will not leverage portlet (like user preferences) if you start a new development, you really should not use struts as it is not natively compatible. for the MVC paradigm, my answer is that portlet provide already a implicit paradigm. There is no equivalent to struts so far, the only framework existing working in the portlet env is JSF. My advice is, start do to your application using just portlets and learn the API, then if you want learn JSF or come up with your own MVC framework leveraging portlet instead. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878972#3878972 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878972 --- 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] [JBoss Portal] - Re: applet as portlet?
1 by default caching is not activated, unless you set it in portlet.xml 2 you should have a small portlet wrapping up the applet View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878973#3878973 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878973 --- 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] [JBoss Portal] - Re: JAAS/SSO configuration
if you want the principal, use req.getUserPrincipal(). there is no standard way to get the JAAS subject, however you can use JBoss AS specific API to get it. For authentication, you should configure the ldap login module indeed. But you still need to store your users into the portal database (until we have an ldap UserModule/RoleModule) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878974#3878974 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878974 --- 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] [JBoss Portal] - Re: Does JBoss Portal support user-friendly URLs?
you can also have your portlet handle those URLs using a specific parameter. Look at how the CMSPortlet is implemented. Then in portal.xml you say what is the target for the friendly URLs. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878975#3878975 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878975 --- 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] [JBoss Portal] - Re: Does JBoss Portal support user-friendly URLs?
Thank you for the tip Julien. -Mete View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878978#3878978 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878978 --- 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] [Beginners Corner] - jmx-console
Hi, I can't visit the jmx-console from localhost:8080/jmx-console I always get the message: The requested service (Servlet HtmlAdaptor is currently unavailable) is not currently available. I think all paths are set. I have NO Idea, how handle this error. Is anyone here, who has 'n idea? thx a lot!! Bye Max View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878980#3878980 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878980 --- 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] [Persistence CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill
Good evening , im having a simular problem, but i happend when i deploy a certain number of Entity Beans. I am using ejbdoclate to create the deployment descriptor. I have gone as far as striping out all of the ejbql statements and i still get the problem. It's always the last entity bean. I can show you a copy of the ejb-jar.xml and all other files if you need. please help i've been trying to fix this bug for 2 days and i have a lot of requests comming in View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878982#3878982 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878982 --- 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] [JCA/JBoss] - Re: Stopping MBean throws exceptions
Though I get the exception the newly created connection pool works. Moreover, the stopDestroyAndRemoveMBean method first checks if the mbean is already registered with the MBeanServer or not and only if it is registered, it will try to stop, destroy and remove the mbean. It's strange that the getServer().isRegistered(name) is returning true, but the exception that's throws says that 'name' is not registered. Any help would be appreciated. I atleast wanted to hide this exception from the log and I don't seem to have a handle to how's it's getting printed. I tried to consume this exception in my code, but the exception doesn't seem to get propagated to my code, but it's getting printed somewhere in the middle, between my code and BasicMBeanRegistry.get method. Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878985#3878985 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878985 --- 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] [JBoss Getting Started Documentation] - Re: http://localhost:8083/jmx-console returns only a blank p
I am also having this problem.. ./run.sh -c all -b 192.168.1.12 starts the server. :14:04:59,696 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 38s:576ms But it binds to port 8083 and when accessing with browser displays a page who's source just has the following: Port 8080 remains closed. Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b07 OS-System: Linux 2.4.25-1-386,i386 Possible issue: 19:05:26,263 WARN [ServiceController] Problem starting service jboss:service=Naming java.lang.NoClassDefFoundError: javax/net/SocketFactory Any ideas? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878986#3878986 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878986 --- 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] [JBossWS] - Re: SOAP client does not work in JBoss 4.0.1
I am having a similiar issue. It would be nice to hear some feedback on this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878988#3878988 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878988 --- 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] [JBoss Portal] - Re: Bridge Interceptor
I am trying to use the bridge to create a portlet around an existing application (JPivot). I have got the portlet WAR set up, and it deploys without errors. The init method on my portlet is called. It sets up a ServletContextProvider like the StrutsPortlet does. I have no security set up. On login, the portlet appears on the Page menu with a URL of http://localhost:8080/portal/auth/index.html?ctrl:id=page.default.JPivotDemo. When I select it, I get a screen back that just has the nodesk look and feel without any content. In the log, I have: [org.jboss.portal.server.impl.invocation.InvocationImpl] Incoming request with id page.default.JPivotDemo [org.jboss.portal.core.invocation.ContentTypeInterceptor] Found markup=html_web_4_0, ua=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4, devicedID=netscape7_1_nt_us [org.jboss.portal.core.invocation.ContentTypeInterceptor] Found mimeType type text/html for markup=html_web_4_0 [org.jboss.portal.core.invocation.StrategyInterceptor] analyzing layout strategy [org.jboss.portal.server.impl.LayoutServerImpl] get nodesk... [org.jboss.portal.server.impl.LayoutServerImpl] found nodesk [org.jboss.portal.core.invocation.StrategyInterceptor] looking for a layout strategy [default] [JPivotDemo] [nodesk] [text/html] [org.jboss.portal.core.invocation.StrategyInterceptor] got a layout: trying to get the strategy from it... [org.jboss.portal.core.invocation.StrategyInterceptor] no strategy from the layoutlayout: trying to get named strategy... [org.jboss.portal.core.invocation.StrategyInterceptor] looking for strategy with name: default [org.jboss.portal.core.invocation.StrategyInterceptor] found strategy to use: org.jboss.portal.core.theme.strategy.impl.DefaultStrategyImpl [org.jboss.portal.core.invocation.StrategyInterceptor] adding region: center [org.jboss.portal.core.theme.strategy.StrategyFactory] creating strategy context for: nodesk default JPivotDemo [org.jboss.portal.core.theme.strategy.impl.DefaultStrategyImpl] evaluating strategy for: [EMAIL PROTECTED] [org.jboss.portal.core.invocation.StrategyInterceptor] setting layout URI: /nodesk/index.jsp [org.jboss.portal.core.invocation.StrategyInterceptor] done analyzing layout strategy [org.jboss.portal.core.servlet.CoreServlet] requesting theme: null [org.jboss.portal.core.servlet.CoreServlet] using layout returned from the strategy: nodesk uri: /nodesk/index.jsp [org.jboss.portal.core.servlet.CoreServlet] got layout to use [nodesk] in app [portal] uri [/nodesk/index.jsp] [org.jboss.portal.server.theme.LayoutDispatcher] got request dispatcher for layout resource: true [org.jboss.portal.server.theme.LayoutDispatcher] done with the layout The doView method of my portlet is not being called. Configs: portlet.xml | | ?xml version=1.0 encoding=UTF-8? | portlet-app id=JPivot-Demo version=1.0 |portlet id=JPivotPortletDemo | portlet-nameJPivotPortletDemo/portlet-name | portlet-classcom.semanticworks.lumena.portal.JPivotPortlet/portlet-class | supports | mime-typetext/html/mime-type | portlet-modeVIEW/portlet-mode | /supports | init-param | nameServletContextProvider/name | valueorg.jboss.portal.bridge.JBossServletContextProvider/value | /init-param | portlet-info | titleJPivot portlet/title | /portlet-info |/portlet | /portlet-app | jboss-portlet.xml: | portlet-app |portlet | portlet-nameJPivotPortletDemo/portlet-name | config-nameJPivotPortlet/config-name | security/security |/portlet | /portlet-app | JPivotDemo-pages.xml: | | pages |portal-namedefault/portal-name |page | page-nameJPivotDemo/page-name | window | window-nameJPivotDemoPortletWindow/window-name | instance-refJPivotDemo.JPivotPortlet.JPivotPortletDemoInstance/instance-ref | regioncenter/region | height0/height | /window |/page | /pages | Any pointers? Thanks in advance, Sherman View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878995#3878995 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878995 --- 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] [JBossCache] - DoesI have to worry RuntimeException throw by LRUAlgorithm.e
I am using JBoss with Hibernate(not .har package) and JBossCache. But I notice that some error message appear randomly. java.lang.RuntimeException: LRUAlgorithm.evict(): null node map entry for fqn: //com/mypackage/myobject Jboss 3.2.6(with JbossCache included) Hibernate 2.1.8. 1. Is it my fault of programming or configuration? 2. It is a bug of JbossCache? just wait for the update and replace the jar? 3. Does JbossCache still working while the error display? Wiil it crach my program? or it will reset itself and keep running well? thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878996#3878996 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878996 --- 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] [Clustering/JBoss] - Clustering Service doesn't work
Hi all, Service on one server cannot be transferred to another server in the same partition when the server is down.But when the server has not run,JNDI lookup will be transferred to another server. Why this happened? Can you help me? I will appreciate very much for your help! Thank you very much! Look forward to your answer! Ivy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878999#3878999 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878999 --- 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] [JBoss Getting Started Documentation] - Re: http://localhost:8083/jmx-console returns only a blank p
Port 8083 is the class download service. You want port 8080. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3879000#3879000 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879000 --- 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] [Security JAAS/JBoss] - Sorry, but another prinicpal propegation issue
I hate to type this, but I?m having issues with JAAS caller principal propagation. For what it?s worth, I am running 3.2.6 with a DatabaseLoginModule configured. I added the ClientLoginModule bit after reading some of the other posts here. Needless to say, I've tried removing and relocating it. application-policy name = fusion |authentication | login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule | flag = required | module-option name=debugtrue/module-option | module-option name=password-stackinguseFirstPass/module-option | module-option name=unauthenticatedIdentitymikeh/module-option | module-option name = dsJndiNamejava:/fusion/module-option | module-option name = principalsQueryselect Password from V_SYS_USER where UID=?/module-option | module-option name = rolesQueryselect Role, null from V_SYS_USER_ROLES where UID=?/module-option | /login-module | login-module code = org.jboss.security.ClientLoginModule flag = required /login-module |/authentication | /application-policy Basically, all my userID?s and Roles are working perfectly on the client side. I am happily authenticating via Jaas and can successfully check roles. All is well with the world in JSP land. My JSPs are secured by my security-domain and are using FORM based authentication. The issue seems to be with propagating the authenticated Principal to the EJB world. I have my ejb-jar.xml entries set to security-identityuse-caller-identity//security-identity?, but the container is always interpreting the caller as the ?unauthenticatedIdentity? as defined in my Login Module. When SecurityInterceptor:checkSecurityAssociation(Invocation mi) is called, the principal is null. So by this stage I guess it hasn?t been able to obtain the use-caller-identity. When the container gets around to JaasSecurityManager: doesUserHaveRole() | SubjectActions.getActiveSubject() returns the subject for the ?unauthenticatedIdentity? and all it?s associated roles. Authentication definitely works but only because an unauthenticatedIdentity has been supplied. If I remove it from login-conf.xml, then I can?t log in to my app, likewise if I remove critical roles. I?m sure I shouldn?t have to delve so deep in to the bowels of JBOSS to get this configured right? I have read Chapter 8 and every post that seemed vaguely related to this issue (of which there are many!). But call me thick, it seems 2 steps forward 1 step back. Any and all pointers gratefully accepted. Thx Mike View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3879001#3879001 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879001 --- 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: Help ME: Web application depend on mt mbeans to be loade
Thanks Javier, I will try to create a EAR file and see if this solves my problem. Regards, Umesh View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3879002#3879002 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879002 --- 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