[JBoss-user] [EJB/JBoss] - Re: JMS PersistanceManager service is failed to start with O

2005-07-21 Thread Ulf.Klaas
http://www.cowsultants.com/phpBB/viewtopic.php?t=312 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886043#3886043 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886043

[JBoss-user] [Beginners Corner] - Is there any one who ever worked around this exception?

2005-07-21 Thread wjsir
when i tried to deploy my web app in to jboss app server and then visit the home page, below exception was thrown. I shearched google but could not find a solution: 11:35:07,204 INFO [JkMain] Jk running ID=0 time=0/53 config=null 11:35:07,223 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build

[JBoss-user] [JBoss Portal] - How to migrate portlets from Vignette portal to JBoss portal

2005-07-21 Thread brp
Hi, I have a portlet developed in Vignette Portal which I want to convert and place it in JBoss Portal.Can anybody plz. help me giving the steps of how to migrate from a Vignette portal to Jboss portal as soon as possible? brp View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [JBossWS] - Re: Deserialized array is of size 1!!

2005-07-21 Thread [EMAIL PROTECTED]
You are using rpc/encoded web services. JBoss Web Services supports only doc/lit and rpc/lit. We recommend using wscompile (Sun's JWSDP) as the web services tool and not axis's java2wsdl or wsdl2java. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886039#3

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Performance is very poor

2005-07-21 Thread radl01
Do you have biDir or uniDir CMR ? Using findAll query on lot of table rows is not the bets way how to retrive huge data from DB. JR View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886038#3886038 Reply to the post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Poor performance with JBoss & MS SQL Server

2005-07-21 Thread radl01
Do you check sql statement generated by finder method ? (turn on debug/trace on plugins.cmp classes) ? Are you able to catch query plan on your DB ? Regards Jan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886037#3886037 Reply to the post : http://www.

[JBoss-user] [JBossWS] - Re: Please Help!Error publishing business in JUDDI

2005-07-21 Thread [EMAIL PROTECTED]
Use jboss-4.0.2 which has juddi integrated as a service. Also try getting UDDIBrowser (an open source browser) to work against the juddi integrated in jboss, before you try out your own examples. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886036#3886036

[JBoss-user] [JBossCache] - Re: cannot list on any port in range 0-123

2005-07-21 Thread ilikeitraw
I ran into this problem, and for the uber-newbs, I did the following on my nix box: 1) ran 'hostname' and got my hostname 2) ran 'ifconfig' and got my ipaddress 3) edited my /etc/hosts file and put: ipaddress hostname did the trick. thanks Scott ! View the original post : http://ww

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Transaction Id is always null in JMS_MESSAGES AND JMS_TR

2005-07-21 Thread vishak_s
HI GENMAN, Can you please explain elaborately why transaction_id is set as null for a non XA Transaction. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886034#3886034 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Clustering/JBoss] - Re: HA JNDI Configuration

2005-07-21 Thread [EMAIL PROTECTED]
Your jndi.properties should resides in your client classpath. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886032#3886032 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886032 -

[JBoss-user] [JBossCache] - Re:

2005-07-21 Thread [EMAIL PROTECTED]
If you are using CacheLoader you saying that you want the data to be persistent. In that case, only manually remove will do the trick. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886031#3886031 Reply to the post : http://www.jboss.org/index.html?mod

[JBoss-user] [JBossCache] - Re: Proxy Collection classes and node locking

2005-07-21 Thread [EMAIL PROTECTED]
Yes, once you mapped it to TreeCacheAop, locking is performed on the indices level. Using the iterator won't lock the whole tree but it is not thread safe. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886030#3886030 Reply to the post : http://www.jb

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: java.lang.ClassCircularityError first time subscribe to

2005-07-21 Thread gray1
I have verified this bug also occurs executing on JDK 1.5.0_04 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886027#3886027 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886027 --

[JBoss-user] [JBoss Portal] - what is a SAR file? deployment question?

2005-07-21 Thread javatwo
Hello, I searched google and Yahoo, but could not find defintion for SAR file. what kind of code need to be packaged as a SAR? For JBoss AS, everything is dropped in server/default/deploy. How does JBoss know which WAR/SAR belong to which application? Suppose I have a EAR file that has two we

[JBoss-user] [Messaging, JMS & JBossMQ] - java.lang.ClassCircularityError first time subscribe to jms

2005-07-21 Thread gray1
ENVIRONMENT:Windows 2000 SP4, JBossAS-4.0.1 Final, JDK 1.4.2_08 (I have not yet verified if this problem occurs on later versions of JBoss as our product currently only supports 4.0.1) DESCRIPTION First time my client connects to my jms server to create two jms subscriptions in quick s

[JBoss-user] [JBossWS] - Re: Deserialized array is of size 1!!

2005-07-21 Thread xtremebytes
Since no one has replied to my post yet, I chose to simplify the issue more. I am just trying to transport a custom bean having arrays of two different types. One of them is a string array. My webservice is an EJB with a test method to return an object of this custom bean and set its string arra

[JBoss-user] [EJB/JBoss] - javax.ejb.EJBException: Method is not a known CMP field acce

2005-07-21 Thread harappa75
Hi, My entity bean create a DataObject for the row and returns it. The method I use is | mrLocal.getDataWrapper() | but when I call it from my session bean I get the error javax.ejb.EJBException: Method is not a known CMP field accessor, CMR field accessor, or ejbSelect method: methodN

[JBoss-user] [Javassist user questions] - Re: Generating source code in adition to class files

2005-07-21 Thread hlovatt
I will keep that in mind, that a decompiler might struggle with a manipulated bytecode. Thanks for the advice. For your interest Dennis Sosnoski, who as written about Javassist - I think you reference his articles, is talking about writting a library that can manipulate bytecodes and generate s

[JBoss-user] [Beginners Corner] - Re: JBoss Service vs. EJB Application?

2005-07-21 Thread platinumdragon
If by 'things' you mean concepts then yes, they are different things, but they are not exclusive of each other. An MBean is simply a management interface for the underlying object. The interface has been registered with a lookup facility (MBeanServer derivative). The object itself can be anyt

[JBoss-user] [EJB/JBoss] - Re: EJB QL Problem

2005-07-21 Thread lafr
No, not the EJB-Name but the abstract-shcema-name! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885994#3885994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885994 --

[JBoss-user] [EJB/JBoss] - Timer Service in JBoss Clustered environment

2005-07-21 Thread snvinodboss
Hi, I am trying to implement Timer Service provided by the EJB 2.1 specification. It looks good and meets my need. I am not clear about how it is supported or behaves in a clustered environment using JBoss 4.0.1. Any information on this will be appreciated. Thanks, Vinod View the original pos

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Considering JBossMQ

2005-07-21 Thread kukeltje
If you can store the real content via other ways, outside of jms, and use the jms messages as triggers to process them, you could gain some performance. We, e.g. use a shared filesystem between two applications for storing the data but all triggering etc is done in jms/mdb's View the original

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBossMQ from Microsoft .Net Framework

2005-07-21 Thread kukeltje
genman, ever did a performance test of a good integrated messaging system vs webservices? We, in the company I work for, have for the moment banned webservices for internal use. To slow, to overhyped. See e.g. http://caffeine.berlios.de/site/resources/interop.html We use active jms with jbossM

[JBoss-user] [Beginners Corner] - Re: Could not create connection !!

2005-07-21 Thread shon2004
I solved the problem , connetion refused error is bcz ..my DBA changed the port number, thanks for ur help... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886005#3886005 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [Security & JAAS/JBoss] - Re: problem upgrading 3.2 to 4.0.2, security manager config

2005-07-21 Thread ahardy66
I investigated as much as I can and I found that JBoss's security config service is not loading the JNDI names of my application-policies from my login-config.xml at start-up. I ran the JBossJAAShowto example and that works fine, so I need to find the problem in what I am doing. When I use th

[JBoss-user] [Beginners Corner] - Re: Could not create connection !!

2005-07-21 Thread shon2004
I copied classes12.jar to C:\jboss-4.0.2\server\default\lib, now iam getting connection refused error ..i think i will go mad with this errors... | | 14:45:11,484 INFO [STDOUT] DatasSource>org.jboss.resource.adapter.jdbc. | [EMAIL PROTECTED] | 14:45:12,516 WARN [JBossManagedC

[JBoss-user] [Beginners Corner] - Re: Could not create connection !!

2005-07-21 Thread darranl
Try putting the JDBC jar in: - C:\jboss-4.0.2\server\default\lib View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885999#3885999 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885999 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS migration from WLS to JBoss 4

2005-07-21 Thread kukeltje
look in the jndi tree in the webconsole to see if the PBOLogQueueConnectionFactory is in there. Could be that you ran into the (to?) flexible jndi naming usage of WLS. JBoss is more strict so the actual name could be something different than you think. View the original post : http://www.jbos

[JBoss-user] [Advanced Documentation] - Re: Problem in deployment

2005-07-21 Thread perendengue
META-INF/ META-INF/MANIFEST.MF scl.war scl.jar src/META-INF/application.xml get rid of the src in front of your application.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885996#3885996 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [EJB/JBoss] - What should I use to Map Money from SQL server

2005-07-21 Thread harappa75
Hi, How do I map the sql server datatype Money. I am using BigDecimal (in weblogic it maps to money) Currently in Standardjaws.xml BigDecimal is mapped to varchar(256). Can I change it to Money, I do know if this is supported? Can anyone point me in the right direction Regards Rajesh J View

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Sql Server type Money

2005-07-21 Thread harappa75
Hi, How do I map the sql server datatype Money. Currently in Standardjaws.xml BigDecimal is mapped to varchar(256). Can I change it to Money, I do know if this is supported? Can anyone point me in the right direction Regards Rajesh J View the original post : http://www.jboss.org/index.html

[JBoss-user] [JBoss Portal] - Re: Document management functionality?

2005-07-21 Thread kukeltje
nope, not ashamed. I thought it was your previous article. I'll read this one soon. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885993#3885993 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885993 -

[JBoss-user] [Beginners Corner] - Re: Could not create connection !!

2005-07-21 Thread shon2004
Its been deployed to .. C:\jboss-4.0.2\server\default\deploy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885992#3885992 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885992

[JBoss-user] [JBoss Portal] - Re: Document management functionality?

2005-07-21 Thread kukeltje
I am so ashamed... I read that article only minutes after it was in the rss and I totally forgot the what it was about ..shame shame shame. I promise to remember the content of future blogs. If you guys have any idea about a basic process for a DMS, let me know, maybe I can help to desi

[JBoss-user] [Beginners Corner] - Re: Could not create connection !!

2005-07-21 Thread darranl
Where is the *-ds.xml being deployed to? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885990#3885990 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885990 --- SF.N

[JBoss-user] [Beginners Corner] - Re: Could not create connection !! - can any body respond pl

2005-07-21 Thread shon2004
can any body respond please !! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885986#3885986 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885986 --- SF.Net email i

[JBoss-user] [Beginners Corner] - Access MSN Messenger from JBoss?

2005-07-21 Thread davout
Does anybody know of any libraries or services that support the idea of sending MSN Messenger messages from a JBoss session? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885983#3885983 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [Management, JMX/JBoss] - Adding SecurityConf to TopicMBean

2005-07-21 Thread mcaughey
I'm not possitive this is what I need to do but it makes sense. I'm dynamically creating a topic at runtime. It shows up in the jmx-console and is started however when I try to connect to it I get an Exception that states its unable to authenticate. So I added some additonal code that I thoug

[JBoss-user] [Beginners Corner] - Embed JBoss?

2005-07-21 Thread dkkopp
HI, Is there anyway to embed JBoss into the same VM as a Swing application? We are working on a product here that needs to run both against an app server on a remote server, as well as a single, stand alone application. Thanks, David View the original post : http://www.jboss.org/index.html?m

[JBoss-user] [JBoss Portal] - java.lang.NoClassDefFoundError when deploying as ear

2005-07-21 Thread jactor
I have transformed my deploy-code to incorporate ajb3 and does therefore deploy as ear-file where I earlier deployed as a war-file. I now receive this NoClassDefFoundError and I earlier did not receive this: 2005-07-21 20:24:50,403 ERROR [ApplicationDispatcher.java - 704] Servlet.service() for

[JBoss-user] [Beginners Corner] - Re: EJB3Trail.ear fails on 4.0.3RC1

2005-07-21 Thread Evan3107
I'm getting the exact same error message with the same version running on Windows XP. "Failed to find module file: entities.par" I checked EJB3Trail.ear and the file is there. Was anyone able to resolve this? Thanks, Evan View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Beginners Corner] - Re: Could not create connection !!

2005-07-21 Thread shon2004
I was using ojdbc14.jar file in the lib file...I deleted that jar file and copied the classes12.jar ..but now iam getting this new error.. its unrelated error to my class 13:16:19,052 INFO [WebappClassLoader] Illegal access: this web application inst ance has been stopped already. Could not

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: log4j and JMS appender

2005-07-21 Thread kookywon
I added this depends statement to my Log4JService mbean code: jboss.mq.destination:service=Topic,name=CSEEventLogServiceQueue which comes from the jbossmq-destinations-service.xml and is the topic for my JMS appender. However, I'm still getting this error: 14:07:06,562 INFO [Log4jService$URLW

[JBoss-user] [Beginners Corner] - Re: Could not create connection !!

2005-07-21 Thread jaikiran
Are you using the correct classes12.jar file View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885963#3885963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885963 ---

[JBoss-user] [Management, JMX/JBoss] - Dynamically-Reconfigurable Interceptor Core with Remote Acce

2005-07-21 Thread simon_ep
Hi, I'm trying to develop a dynamically-reconfigurable class which is to be used within JBoss by my own custom EJB Interceptors and Axis Handlers. I'm also wanting to create the class in such a way that it can have its internal configuration objects updated from a remote location. Having read t

[JBoss-user] [Security & JAAS/JBoss] - Domino LDAP

2005-07-21 Thread brushmore
Has anyone got the JBoss LdapLoginModule to work with Lotus Domino? If so please let me know how set up your parameters. Authenticating has been straight forward but I am unable to get a list of groups. But maybe someone can help with the LdapLoginModule module parameters. Basiclly this the

[JBoss-user] [Installation, Configuration & Deployment] - Re: High memory usage after deploying many EJBs

2005-07-21 Thread cplough
I'm sure it would help if I gave information on our test environments where we've seen this issue: App Server: JBoss 4.0.2 JDKs: JRockit 1.4.2_05 Sun 1.4.2_08 IBM 1.4.2 cxia32142sr1a-20050209 Platforms: Red Hat ES 3.0 SUSE ES Linux 9.1 Windows XP SP2 Thanks, Chris Plough

[JBoss-user] [Installation, Configuration & Deployment] - High memory usage after deploying many EJBs

2005-07-21 Thread cplough
Hello! My company is currently evaluating JBoss and considering supporting it in addition to WebLogic and WebSphere. I'm a big fan of OSS (and the lack of per-CPU licensing), so I'm motivated to get this working. The problem we're currently experiencing is high memory usage after deploying ou

[JBoss-user] [Beginners Corner] - Re: Could not create connection !!

2005-07-21 Thread shon2004
I am sorry I think there was some problem in pasting the error: I have the correct url: jdbc:oracle:thin:@dev:1521:test_dev I dont understand whats wrong with this url?? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885960#3885960 Reply to the post : htt

[JBoss-user] [EJB/JBoss] - Re: What should be my provider url for EJB lookup

2005-07-21 Thread harappa75
Hi, Ok I found the problem, my url should have port 1099 and not 8080. DUH!! Rajesh J View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885959#3885959 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885959

[JBoss-user] [EJB/JBoss] - What should be my provider url for EJB lookup

2005-07-21 Thread harappa75
Hi, I am creating a initialcontext with the following |Hashtable props = new Hashtable(); | props.put(Context.INITIAL_CONTEXT_FACTORY, | "org.jnp.interfaces.NamingContextFactory"); | props.put(Context.PROVIDER_URL, |

[JBoss-user] [Beginners Corner] - Re: Could not create connection !!

2005-07-21 Thread jaikiran
Your connection-url should be: jdbc:oracle:thin:@dev:1521:test_dev In your case, the jdbc:oracle is missing View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885957#3885957 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss

2005-07-21 Thread mcaughey
For the record it doesn't have to be a Session bean that implements a Schedulable. It can be a POJO. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885955#3885955 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885955

[JBoss-user] [Management, JMX/JBoss] - Re: How to create mbeans on runtime.

2005-07-21 Thread mcaughey
Here's the code I'm using: | private void registerTopic(String topicname) | throws MalformedObjectNameException, Exception { | createDestination("org.jboss.mq.server.jmx.Topic", | getTopicObjectName(topicname), "topic/" + to

[JBoss-user] [Beginners Corner] - Could not create connection !!

2005-07-21 Thread shon2004
HI Everybody, I am new bie to JBoss and I am trying to connect Oracle and having some problems, would appreciate if somobody can respond urgently. I have ojdbc14.jar in WEB-INF/lib diretory Here are my app-ds.xml file code: ---

[JBoss-user] [Management, JMX/JBoss] - Re: How to create mbeans on runtime.

2005-07-21 Thread mcaughey
Have you been able to get a securityConf Associated with this Queue? I'm trying to do the same thing with a Topic. But I haven I cannot authenticate. -Michael View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885952#3885952 Reply to the post : http://www.j

[JBoss-user] [Messaging, JMS & JBossMQ] - Adding SecurityConf to Dynamically created topic

2005-07-21 Thread mcaughey
I have been able to create a TopicMBean in code but i haven ot been able to get access to it becuase I can not authenticate against it. I would imagine that is becuase it doesn't have a SecurityConf. Here's what I did. | private void registerTopic(String topicname) |

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Durable Subscription Authentication

2005-07-21 Thread mcaughey
Look at the login-config.xml in the conf directory. I set it up in a matter of minutes. I used tables in MySQL and it worked great. | | | | | guest | java:/MyDS | SELECT pwd as PASSWD FROM Player WHERE username=?

[JBoss-user] [JBossCache] - Proxy Collection classes and node locking

2005-07-21 Thread yoavis
Hey. I was wondering if anyone knows how does TreeCacheAOP manage locks for aspectized collection classes. Basically I want to put a large map on the cache, and then use the apectized map. I'm expecting heavy reads and non freequent write to the map. As performence is critical, I need the loc

[JBoss-user] [Security & JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-07-21 Thread jaikiran
Just out of curiosity, wanted to know, whether this is a common known problem. Has anyone faced this problem while running a standalone client and trying to do a JAAS login to access some ejb resource. If yes, is creating your own implementation of Configuration the only solution to this? Woul

[JBoss-user] [Installation, Configuration & Deployment] - Re: Classloading: Using isolation and accessing global libra

2005-07-21 Thread umeshs79
Hi karink, I am facing the same issue. I want to configure log4j for my ear file, which contains 1 ejb jar file and one war file. I am able to configure for war file but not for EJB. the EJB always uses the JBoss logger. Can you please help me and if possible send your sample containing ejb and

[JBoss-user] [Installation, Configuration & Deployment] - Re: cannot use mssql-get-generated-keys

2005-07-21 Thread harappa75
Hi, I found the problem. It is I have to use @jboss.entity-command name="mssql-fetch-key" and not @jboss.entity-command name="mssql-get-generated-keys" and I do not need to change any of the other files. Regards Rajesh J View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [EJB/JBoss] - Re: How to use MS SQL Server auto generated keys.

2005-07-21 Thread harappa75
Hi, I found the problem. It is I have to use @jboss.entity-command name="mssql-fetch-key" and not @jboss.entity-command name="mssql-get-generated-keys" and I do not need to change any of the other files. Regards Rajesh J View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [Messaging, JMS & JBossMQ] - Durable Subscription Authentication

2005-07-21 Thread malmit
I am trying to get durable scription working for a topic that I created so that I can have guaranteed message delivery. The problem is that I am stuck trying to authenticate using the and in jboss.xml. How do I setup the users/roles? I know that I somehow need to use JAAS for this. I'm us

[JBoss-user] [Beginners Corner] - JBoss and Serial Port Access

2005-07-21 Thread borinsm
After doing some searching on the forums I have found a few threads that address my issue but they are several years old. Also the information about the solution given in the threads does not make much sense to me as I am a JBoss newbie. (Some of the following is copied from a previous thread.

[JBoss-user] [EJB/JBoss] - How to use MS SQL Server auto generated keys.

2005-07-21 Thread harappa75
Hi, I have sqlserver 2000 so I need to use "mssql-get-generated-keys" I added the following to standardjbosscmp-jdbc.xml and in my beans I added * @ejb:pk class="java.lang.Integer" * generate="false" * @jboss.unknown-pk class="java.lang.Integer" * auto-increment="true" * * @jboss.entity-comman

[JBoss-user] [Messaging, JMS & JBossMQ] - Problem with client and server Date with JMS over HTTPS

2005-07-21 Thread Allosan
I have this problem: JMS is deploy on Jboss 3.2.3 server side. Client side i have Jboss 3.2.3 that connects to the queues on the server. The connection is HTTPS with SSL autentication (HTTPSUIL2). If client and server machine date are different of more than about 15 minutes the client is able t

[JBoss-user] [Clustering/JBoss] - puzzles about load balancing and failover of JBoss cluster

2005-07-21 Thread menkun
I just go through the book 'jboss clustering', but still have several questions related with the load balance and session bean failover capabilities of JBoss cluster. 1) It seems that JBoss cluster cannot balance running process, for example, I have a two-node (A and B) cluster (my EJB run

[JBoss-user] [Installation, Configuration & Deployment] - java2ParentDelegation and class loading isolation for EJB

2005-07-21 Thread umeshs79
Hi What is the functionality of java2ParentDelegation in below jboss-app.xml. | | | | coa.akuratus.com:loader=coA.ear | | java2ParentDelegation=false | | | | | I need class loading isolation for log4j in my ear file which contains 1 war

[JBoss-user] [JCA/JBoss] - Changing password for DataSource

2005-07-21 Thread mmigal
I was trying to change a password for a DataSource 'DefaultDS' in the hsqldb-ds.xml file. After I change the password from default "" to something meaningfull, I get a lot of errors during the start-up. Here is the top-level error: 2005-07-18 17:14:33,664 WARN [org.jboss.resource.connectionma

[JBoss-user] [JBossCache] - Replicating new items

2005-07-21 Thread jameselliot
Hi, I have now managed to configure my firewalls and servers to set up jboss-cache correctly. When I modify an item, it gets modified in both databases, this is brillliant!! However, when I add a new item on one database it does appear to get replicated to the other database. Can this be con

[JBoss-user] [JBossCache] - Re: poor man's cache invalidation solution?

2005-07-21 Thread wynne_b
This did work. I was able to define a regions by server node in the treecache.xml and dynamically control their properties at configuration time in a derived LRUPolicy class. Expiration for regions other than the one whose prefix matched the server node's name were set to 1 second. I also ove

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - isolated war deployment with jboss

2005-07-21 Thread brain101
im trying to deploy a war inside an isolated ear file. the war file contains a struts application, inside the web-inf/lib folder are the following files: - struts-1.2.4.jar - jakarta-oro-2.0.8 - commons-validato-1.1.3 - commons-logging-1.0.2.jar - commons-fileupload-1.0.jar - commons-digester-1.5.

[JBoss-user] [JBossCache] - Re: Hibernate/TreeCache/JBoss error

2005-07-21 Thread jameselliot
Binario, Have you set a java:comp/UserTransaction Property? Is this what you have then been configuring as an mbean? -James. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885920#3885920 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Installation, Configuration & Deployment] - How to bind the Object

2005-07-21 Thread nitin_bit
I have an RemoteObject which bounds to JBoss AS as XYZServer from Standalone java Application. | public interface PBORequest extends Remote, Referenceable | { | public static final int SERVER_RUNNING = 0; | public static final int SERVER_SHUTDOWN_AND_RESTART = 1; | public static final

[JBoss-user] [JBossCache] - Re: Hibernate/TreeCache/JBoss error

2005-07-21 Thread jameselliot
Binario, I configure the hibernate setup in the springframework. The hibernate properties set are: | | | org.hibernate.dialect.FirebirdDialect | true | org.hibernate.cache.TreeCac

[JBoss-user] [JBossCache] - Re: My two nodes won't stop arguing.

2005-07-21 Thread jameselliot
Tracking it down a bit further with a couple more alterations. It now appears as if they sort of hook up, but not quite. The first server to start says: | 2005-07-21 15:27:34,415 INFO [org.jboss.cache.TreeCache] locking the tree to obtain transient state | 2005-07-21 15:27:34,422 INFO [

[JBoss-user] [Security & JAAS/JBoss] - JAAS/LDAP - retrieve user roles from ldap using ldaploginmod

2005-07-21 Thread siva.prasad
Hi, Ldaploginmodule of Jboss does the authentication and authorization. (Sample code provided below) Assume that ldaploginmodule configured in auth.conf , users & roles are configured in ldap. logincontext.login() --> This performs authentication with LDAP using ldaploginmodule, Also retriev

[JBoss-user] [Javassist user questions] - Re: Generating source code in adition to class files

2005-07-21 Thread chiba
I think using a Java decompiler is a good idea. However, please don't say "Javassist has a bug!" if you see a decompiler fails to decompile the bytecode modified by Javassist. :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885899#3885899 Reply to the pos

[JBoss-user] [Beginners Corner] - Entity Bean Problem with Jboss 4.0.2. and Postgres 7.2

2005-07-21 Thread pittupgd
Hi has anyone got an example of an CMP Entity Bean on Jboss 4.0.2 and postgres 7.2. If yes can he tell me the sample steps for the configuration. It would be of gr8 help to me. Thanks in advance. Awaiting your response. Cheers p2 View the original post : http://www.jboss.org/index.html?module=b

[JBoss-user] [Beginners Corner] - UsingMod_jk1.2WithJBoss

2005-07-21 Thread joschan273
Hi, I am installing (in Windows 2003 Server) the following products Apache 2.0.54 JBoss 4.0.2 mod_jk 1.2.14 apache 2.0.54 so May I ask if any of you have followed the instructions from the above Wiki and got all working?? such as http://localhost/web-console I also don't need as load_balanc

[JBoss-user] [Installation, Configuration & Deployment] - Re: problems with in web.xml........

2005-07-21 Thread darranl
You are using ejb-local-ref in the web.xml and ejb-ref in the jboss-web.xml, you need to be consistent and use the same in both files. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885887#3885887 Reply to the post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [Installation, Configuration & Deployment] - JBOSS to Oracle Connection Pool Question - Help Needed

2005-07-21 Thread vinaypurohit
I am trying to migrate an web application from Weblogic to JBOSS 4.0.2 and have got the data sources setup. In the Weblogic world, I setup the connection pools thru the Weblogic console and then as part of my application, I read the db specific props from a property file and a class creates t

[JBoss-user] [Installation, Configuration & Deployment] - problems with in web.xml........

2005-07-21 Thread paulofe
hi all in my web.xml i have: ejb/Funcionario_Entity Entity br.com.funcionario.entity.FuncionarioHome br.com.funcionario.entity.Funcionario Funci

[JBoss-user] [Performance Tuning] - Re: WARN [org.jboss.jbossweb] WARNING: No thread for Socket

2005-07-21 Thread jbossvishal
JBoss version is 3.0.7. We are getting following message before the actual error message server.log.2005-06-07-myserverl10:2005-06-07 13:21:14,079 INFO [org.jboss.jbossweb] LOW ON THREADS: [EMAIL PROTECTED]:8081 Thread settings are - MinThreads=10 MaxThreads=100 MaxIdleTimeMs=3 LowResource

[JBoss-user] [JBossCache] - Re: My two nodes won't stop arguing.

2005-07-21 Thread jameselliot
I had to open up a lot of other ports so the two servers could find each other. Now one server seems to have added its self to the group lots of times: 2005-07-21 12:15:45,647 INFO [org.jboss.cache.TreeCache] viewAccepted(): new members: [10.0.10.50:32779, 10.0.10.10:36760, 10.0.10.10:36761, 1

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: n:m is not used

2005-07-21 Thread Smilidon
one more try: if i change the ralation-table to: report_role_map true true the table is removed while undeploying, but not created while deploying??!! i'm confused... please help :( View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [Security & JAAS/JBoss] - Re: Can't load user roles

2005-07-21 Thread ahardy66
Michel, I had a similar problem about a year ago with v3.2.5. I don't know if it is the same problem, or if the solution is still valid - I am currently unable to get JAAS working in JBoss 4 at the moment. Here is the code I have: I have this.roles as a member variable arraylist which I fill ear

[JBoss-user] [JBossCache] - Re: Clustered TreeCache as Hibernate second level cache - I

2005-07-21 Thread binario
Hi Bela, thanks for the prompt reply again. We have been working from the online reference manual. I quote section 9.2 " RpcDelegatingCacheLoader, which allows to load/store to/from a remote (in a different VM) TreeCache using JGroups' RPC mechanism. The remote TreeCache delegated to is the C

[JBoss-user] [JBossWS] - Deserialized array is of size 1!!

2005-07-21 Thread xtremebytes
I am using JBoss 4.0.2 on JRE 1.5, Eclipse 3.0.2 with JBoss IDE 1.4.1-e31-jre15. I have a session bean, which has two methods exposed to a service endpoint interface. I have written my jaxrpc-mapping.xml, webservices.xml and ws4ee-deployment.xml (to map custom data types to appropriate deserial

[JBoss-user] [Installation, Configuration & Deployment] - Virtual Path mapping in JBoss

2005-07-21 Thread techie_techie
I am porting an exisiting web application to J2EE. I have a HTML file which has a JS/Images/CSS file includes (/dir/css/)something like below : In existing system which runs on WindWeb Web server, I have mapping of "/dir" to some physical directory on web server. Now the

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Jbossweb threads

2005-07-21 Thread jbossvishal
Smith, I am facing the same problem as faced by you in Dec 2001. We are facing the same problem and need some insight on how you got out of the situation. Please help me out as soon as possible. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885869#3885869

[JBoss-user] [JNDI/Naming/Network] - Re: Problem in porting of Swing/ jboss app from Jboss-3.2.2

2005-07-21 Thread darranl
Yes the error looks as if you are using the wrong jars with the client to access JBoss. The client needs the jars from JBoss 4.0.2 to access JBoss 4.0.2. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885867#3885867 Reply to the post : http://www.jboss.org/

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS LoginModule NoClassDefFoundError

2005-07-21 Thread maniarkm
The class file is in the jar. I have made sure of that. However, I am confused. How can I access other files in the same jar but not find this one? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885865#3885865 Reply to the post : http://www.jboss.org/inde

[JBoss-user] [Installation, Configuration & Deployment] - Re: Jboss on Linux

2005-07-21 Thread darranl
I have not got a clue. Would you like to describe the problem to us? What error, what are you doing? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885866#3885866 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=388586

[JBoss-user] [Messaging, JMS & JBossMQ] - how to stop the message persistence

2005-07-21 Thread SourceSir
I'm a stranger to jboss ,i have to stop persist message ,I move the \examples\jms\null-persistence-service.xml to the \deploy\jms,but when the jboss starts ,it report a deploy errors ,I don't know what to do.Maybe it needs a file like hsqldb-jdbc-state-service.xml.but I can't get the fiel. anyo

[JBoss-user] [Messaging, JMS & JBossMQ] - sending message to a topic from stateless session bean

2005-07-21 Thread [EMAIL PROTECTED]
hi, i have a problem with sending a object message to a topic destination from within a seesion bean method. from a client program i call a session bean method with data transfer object as parameter(actual a byte array with 5MByte) . in this methode i send this array as object message to a topic

[JBoss-user] [Beginners Corner] - how to change startscreen

2005-07-21 Thread sessa
Hi @ all ! I'm pretty new here and (like all new ones) i've got a (stupid) question. I want to customize the JBoss startscreen (the screen that appears after entering http://localhost:8080/portal). Where do i find the html/jsp-file ? thanks sessa View the original post : http://www.jboss.o

[JBoss-user] [EJB/JBoss] - EJB Entity 2.1 java.sql.SQLException: Type Conversion not su

2005-07-21 Thread junior
I've got an exception and i don't know why I'm new in ejb so if one of you can help me my id is an int in my classes in my mySQL dataBase an INT(11) The exception: EJBException:; nested exception is: javax.ejb.EJBException: Internal error setting parameters for field id; CausedByException is:

[JBoss-user] [Beginners Corner] - Using CMP data is not inserted in to DB.

2005-07-21 Thread pittupgd
Hi friends, I am using JBoss 4.0.2 and Postgres 7.2 ds. I have written the following EJB public abstract class AnesthesiaUserEJB implements EntityBean { private EntityContext context; public Long userid; public String username; public String password; publi

  1   2   >