[jboss-user] [JBossWS] - Re: Using entities with collections?

2006-07-30 Thread fheldt
Here's what i did: The entity bean is field mapped and the getters/setters convert between Collection and Array. A sample: | public class MyEntityBean implements java.io.Serializable { | @Id | @Column(name="id") | private int id; | ... | @OneToMany(mappedBy =

[jboss-user] [JBoss Portal] - CommandFactoryDelegate and InvokeWindowActionCommand possibl

2006-07-30 Thread Antoine_h
Hello, I am rewriting my own CommandFactoryDelegate to manage url mapping and sending file to show in the CMSPortlet. in the doMapping method public ControllerCommand doMapping(ServerInvocation invocation, String portalContextPath, String portalRequestPath) the return is with a InvokeW

[jboss-user] [Installation, Configuration & Deployment] - Re: Avoid requests during deployment of ear

2006-07-30 Thread jaikiran
I dont think there is a way to avoid requests when the application is being deployed/hot-deployed. However, there is a way to check whether the server has started successfully or not. These links might help: http://wiki.jboss.org/wiki/Wiki.jsp?page=StartupAndDeploymentCheck http://wiki.jboss.or

[jboss-user] [Installation, Configuration & Deployment] - Re: doubt in exploded-form application deployment

2006-07-30 Thread jaikiran
Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=RedeployAnApplicationWhenChangeAFileInAnExplodedDeploymentDirectory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961777#3961777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[jboss-user] [JBossCache] - Re: Translate the documents to Chinese

2006-07-30 Thread templar.ding
Can I ask a question? In TreeCache.PDF, p17, line 8, there is a sentence "using this isolation level will not Tx2 read operation.". My English is not very good, I can't understand it. What does it mean? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961776#39

[jboss-user] [Installation, Configuration & Deployment] - Re: Jboss Logger

2006-07-30 Thread jaikiran
You could play with the "Threshold" attribute on the appender. You could have 2 appenders(one with Threshold set to INFO and another set to DEBUG). You could then point your logger to these 2 appenders as follows: | | | | Even after setting the threshold on the appen

[jboss-user] [JBoss Messaging] - Re: messaging flow control related question

2006-07-30 Thread raghum
Tim - Thanks for your reply and the effort you have put in analyzing the problem. But I am sorry if I have failed to communicate the real intent of the test program. The large values for CONSUMER_SLEEP_TIME and RELAYER_SLEEP_TIME was intentionally put. It is simulating a situation where the sys

[jboss-user] [EJB/JBoss] - Re: Migration to jboss4..0.4 problems

2006-07-30 Thread prese
Hi *, One of the problem that I have found was, that we did not specified into the jbosscmp-jdbc.xml the sql-type for the persistent fields. I have fixed that but some hidden error still exists. I am still searching. I hope that I will find the problem soon. Sebi View the original post : htt

[jboss-user] [Advanced Documentation] - Re: Help in executing Hello World BPEL example

2006-07-30 Thread [EMAIL PROTECTED]
hi doankhoavy, glad that your problem is fixed. I haven't found enough BPEL examples on JBoss environment. The only reference I have is the document titled "JBoss jBPM BPEL 1.1". If you have come across more samples I would appreciate your sharing them. thanks, sanjeev View the original post :

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - jsf output utf8

2006-07-30 Thread goose-dog
Hi, I used to use JSTL and it will escape all the html appropriately but still output UTF8 characters. After swtching to JSF, it still escapes fine, but all the UTF8 chars are escaped as well. Unless I set the escape attribute to false, but I don't want to do that eirtther. I need

[jboss-user] [JCA/JBoss] - Re: help me! This error Unregistered handle that was not reg

2006-07-30 Thread [EMAIL PROTECTED]
Ok, so your not really seeing an error. The logging context is INFO. Could you post the code that is producing this condition? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961770#3961770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=p

[jboss-user] [EJB 3.0] - Re: @EJB DI in a servlet always null

2006-07-30 Thread joo
Thanks, yes, now it works :-) I had a second bug in the JNDI configuration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961769#3961769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961769

[jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated

2006-07-30 Thread davidrh
I've updated the test harness and I can reproduce both problems - the increasing number of threads and the NotFoundInDispatcherException. From my testing it seems that once a thread in the pool has received a message, it is never destroyed but also is never allocated to another message listener

[jboss-user] [JBoss Seam] - conversation timeout

2006-07-30 Thread goose-dog
Hi, has anyone had this problem? My conversations never timeout. Only when my session timeout do my conversations timeout too. Here is my components.xml, conversation should timeout in 2 minutes, but it took 30 minutes(my session timeout). | | | | @myFacesLifecycleBug

[jboss-user] [JBoss Seam] - Re: Data retrieve before the page is displayed

2006-07-30 Thread goose-dog
I've been using page action in the pages.xml file, usually together with @RequestParameter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961766#3961766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961766 _

[jboss-user] [JBoss Seam] - Re: Seam without JSF

2006-07-30 Thread [EMAIL PROTECTED]
Yes I plan to make this easy but no right now is probably not the right time to adopt Seam if this is super-important to you... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961765#3961765 Reply to the post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [JBoss Seam] - Re: Data retrieve before the page is displayed

2006-07-30 Thread [EMAIL PROTECTED]
And check the section of the docs that describe Seam page actions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961764#3961764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961764

[jboss-user] [JBoss jBPM] - Re: Filter error after setting character encoding in LogFilt

2006-07-30 Thread feroz_ps
#{UserBean.userSelectItems} this class domt have a method getUserSelectItems(){} just check the case if exist View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961763#3961763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [Beginners Corner] - Class path issues

2006-07-30 Thread wichka
When I create a new jboss instance and put jar files under lib directory and sar file under deploy and service gets deployed fine. But the service looks for the configuration file abc.xml in the class path( by getting class loader and trying to load it). Where should I put this configuration fil

[jboss-user] [Installation, Configuration & Deployment] - How can I download a .jar/.jad file to my mobilephone by wap

2006-07-30 Thread tankejin
I use a Jboss server, and run a WAP application in it, Now ,I want to download a .jar/.jad file to a mobilephone by this wap application. I made a link to a .JAR file in a xhtml file, but when I visit this link with mobilephone's browser, It will popup an error : can not find this page What s

[jboss-user] [JBossCache] - Re: Translate the documents to Chinese

2006-07-30 Thread templar.ding
How to edit my messages? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961758#3961758 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961758 ___ jboss-user mailing list jboss-

[jboss-user] [JBossCache] - Re: Translate the documents to Chinese

2006-07-30 Thread templar.ding
Sorry... I was working on a memory leak issue in the past monthso tired... Now I'm planning the JBoss-Cache related features. If there is no Chinese document yet, I'll start translation soon. Ben, how about XiaoGang's work now? Did his team finished any document? View the original post : ht

[jboss-user] [JBoss jBPM] - Filter error after setting character encoding in LogFilter.j

2006-07-30 Thread frank101
I was trying to set the request character encoding to utf-8, but got an error after the change. The change was in doFilter() in LogFilter.java. Here is the code that does that: public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) thro

[jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated

2006-07-30 Thread davidrh
I've tried upgrading to CR3 (both the server and the client JAR), and now under load we get the following exception on the client (it happens anywhere from 20 seconds to a couple of minutes after processing starts): | 2006-07-31 11:05:10,829 ERROR org.jboss.jms.client.container.ExceptionInt

[jboss-user] [JBossWS] - Using entities with collections?

2006-07-30 Thread sbalmos
Hi all, In 1.0.2, the WSDL generator now ignores datatypes that are collections. This was easy enough to fix with my wrapper SOAP interface. However, the complex datatypes that I return from my functions are entity beans, which themselves have member collections. I cannot replace these collecti

[jboss-user] [JBoss jBPM] - Re: using JBPM to string together 5 Perl webservices (they m

2006-07-30 Thread wyckoff
I'd like to start with jBPM and then work in from there. Is there a way to just configure JBOSS for this, or do i need to write code to interface with the services? thanks, pete View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961749#3961749 Reply to the post

[jboss-user] [JCA/JBoss] - Re: help me! This error Unregistered handle that was not reg

2006-07-30 Thread muyan
thank you .My jobss is 4.0.2. I use the database pool in the servlet. I am sure the program of Connection is closed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961748#3961748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&m

[jboss-user] [JBoss Seam] - Re: Data retrieve before the page is displayed

2006-07-30 Thread peteroyle
Hi urswag, The blog example from the tutorial deals with this kind of stuff: http://docs.jboss.com/seam/latest/reference/en/html/tutorial.html#blog This example calls an @Unwrap-annotated @Stateless session bean directly from the JSF page being loaded. As far as I can tell the statelessness en

[jboss-user] [Security & JAAS/JBoss] - Re: Adding roles to user on the fly

2006-07-30 Thread kuzmiigo
Scott, I sent you the security log by e-mail. Thank you again, Igor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961746#3961746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961746 ___

[jboss-user] [EJB 3.0] - Re: Unable to persist timer

2006-07-30 Thread treespace
Here's the SQL exception from the stack trace. | | Caused by: java.sql.SQLException: Unique constraint violation: in statement | | [insert into TIMERS TIMERID, TARGETID, INITIALDATE, TIMERINTERVAL, INSTANCEPK, INFO) values (?,?,?,?,?,?)] | | at org.hsqldb.jdbc.Util.throwError(U

[jboss-user] [Installation, Configuration & Deployment] - Complicated DataSouce and JNDI javax.naming.NamingException:

2006-07-30 Thread DjHitItUp
My oracle-ds.xml is: DCDEV jdbc:oracle:thin:@d2.corp.company.net:1521:DCDEV oracle.jdbc.driver.OracleDriver test test 10 30 5000 15 org.jboss.resource.adapter.jdbc.vend

[jboss-user] [JBoss Eclipse IDE (users)] - Re: 'Can't create EJB3 Project

2006-07-30 Thread kangaroody
click back and again next. now the button should be activated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961743#3961743 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961743

[jboss-user] [Security & JAAS/JBoss] - Re: Adding roles to user on the fly

2006-07-30 Thread [EMAIL PROTECTED]
Show the trace level logging of the org.jboss.security category that demonstrates what is happening. Q4 of the following shows the key categories: http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961742#396174

[jboss-user] [Installation, Configuration & Deployment] - Re: Jboss Logger

2006-07-30 Thread [EMAIL PROTECTED]
This is a log4j config issue, but I would doubt this is supported. See http://logging.apache.org/log4j/docs/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961741#3961741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3

[jboss-user] [JBoss Getting Started Documentation] - Deploymnet tooks long time

2006-07-30 Thread Ullrich
Hello, im running into the same problem like http://jboss.org/index.html?module=bb&op=viewtopic&t=85448 The last server messages are: 23:19:10,312 INFO [EjbModule] Deploying CustomerBean 23:19:10,453 INFO [EjbModule] Deploying AccountBean 23:19:10,468 INFO [EjbModule] Deploying TxBean 23:19:

[jboss-user] [JBoss Seam] - Re: Cannot find seam component ?

2006-07-30 Thread lucas f m r
resolved was really jndi problem MyEARName/#{ejbName}/local View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961739#3961739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961739 __

[jboss-user] [JBoss Seam] - one2many example

2006-07-30 Thread wondermike
Hello, I'm looking for a One2Many example which is just good enough for a beginner like me ... i.e. not too complicated ;-) I've looked at the issues example, but I could not simplify it for my purposes, it didn't work - the editor stuff killed me. In the end I'd like to descent several hierarc

[jboss-user] [EJB 3.0] - Re: How to access a join table column?!

2006-07-30 Thread abl
of cource you are right - a composite key or just a additional primary key for the entity. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961737#3961737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961737 ___

[jboss-user] [EJB 3.0] - Re: ejb 3.0 lazy loading no session

2006-07-30 Thread scotttam
Do you have a pojo for your Category object? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961736#3961736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961736 ___ jboss-user

[jboss-user] [EJB 3.0] - ManyToMany: entry on the other side of the relationship is b

2006-07-30 Thread scotttam
I have a many to many relationship that is handled by a join table. Here's the simple "diagram" : campaign -> campaign_adslot_xref <- ad_slot When I create a new campaign object and add adslots to the relationship to get the entries in the join table created, for some reason, persist is trying t

[jboss-user] [JBoss Seam] - Seam without JSF

2006-07-30 Thread isterin
Ok, I've seen posts on the fact that Seam currently requires JSF. I'm wondering whether support for non-JSF view technologies is planned. Our app is being build using XSLT views with in-browser transformations, so we don't want any MVC type stuff, other than abstraction from the HTTP(Response|

[jboss-user] [J2EE Design Patterns] - Re: quite a design problem..!!!

2006-07-30 Thread isterin
I'm a bit lost as to your response. Do you want to figure out the class name at runtime and dynamically pass it? You can use reflection facilities. Not sure what you mean by redundant code, use standard OO techniques and patterns to reduce redundancy in code. Or create some util libraries th

[jboss-user] [JBoss Seam] - tomcat deploy

2006-07-30 Thread TLex
Deploying the seam hibernate example with ant and a fresh tomcat 5.5.17 install gives me following error: ... | INFO 30-07 20:04:15,265 (Log4JLogger.java:info:94) -Component: hotel, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.hibernate.Hotel | INFO 30-07 20:04:1

[jboss-user] [JBoss Seam] - Cannot find seam component ?

2006-07-30 Thread lucas f m r
part of jboss initialize log: ... 15:03:53,203 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 15:03:53,296 INFO [JmxKernelAbstraction] installing MBean: j

[jboss-user] [JBoss Seam] - Re: Exception sending context initialized event to listener

2006-07-30 Thread lucas f m r
yeah i use ant to do all (javac,war,jar,ear,deploy) , the problem was in the components.xml, it was not getting the value of the properties and one of the property was to do something that i didn´t need. now is fine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[jboss-user] [JBoss Seam] - Re: Exception sending context initialized event to listener

2006-07-30 Thread TLex
Run ant with the deploy target of your choice, inspect the created .ear or .war file and compare the libs directory with your manually setup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961729#3961729 Reply to the post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss Portal] - Re: Saving user specific preferences

2006-07-30 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : I have commited my test cases today in the CVS that assert the correct behavior for instances and instances per user. | | So now the news portlet behave correctly except that it still has caching enabled which makes the results wrong sometime. | | I think I c

[jboss-user] [JBoss Portal] - Re: Saving user specific preferences

2006-07-30 Thread [EMAIL PROTECTED]
I have commited my test cases today in the CVS that assert the correct behavior for instances and instances per user. So now the news portlet behave correctly except that it still has caching enabled which makes the results wrong sometime. I think I can fix this by adding in the cache key the u

[jboss-user] [EJB 3.0] - Re: How to access a join table column?!

2006-07-30 Thread scotttam
For the join object, don't you need to define a composite primary key, otherwise you will get a "No identifies exists for specific entity" error on startup? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961726#3961726 Reply to the post : http://www.jboss.c

[jboss-user] [JBoss Seam] - Re: Exception sending context initialized event to listener

2006-07-30 Thread lucas f m r
tanx Tlex was really that, now i´m getting a missing library, tanx again man View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961725#3961725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961725 _

[jboss-user] [JBossCache] - Re: problem getting pojocache to work

2006-07-30 Thread lior.dra
Hi I have managed to solve the problem. I have used replSync-service.xml instead of pojocach-service.xml , with the appropriate changes, () and it did the trick. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961724#3961724 Reply to the post : http

[jboss-user] [JBoss Seam] - Data retrieve before the page is displayed

2006-07-30 Thread urswag
Hello Before the page is displayed some data should be retrieved. There is no possibility for example with an action in a outputLink. Is there somewhere a good example how I can realize this. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961722#39617

[jboss-user] [EJB 3.0] - ejb 3.0 lazy loading no session

2006-07-30 Thread stephan.opitz
in my ejb i have such a construct... private long productsId; private List categories; @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "products_id") public long getProductsId() { return productsId; }

[jboss-user] [JBoss jBPM] - Re: using JBPM to string together 5 Perl webservices (they m

2006-07-30 Thread kukeltje
what you describe is a SOA, jBPM BPEL is good for the orchestration. But the core imo could (should?) be an esb like solution. If it is simple, you can suffice yust with jBPM BPEL, but maybe JBoss ESB (with jBPM BPEL for more complex orchestration) would be a better choice. View the original po

[jboss-user] [Installation, Configuration & Deployment] - Jboss Logger

2006-07-30 Thread koriel
Can I configure jboss to use different log files for different log levels for my application. For example the info level to be logged in file myapp_info.log and the debug level in the myapp_debug.log so when I use log.info("some text") this entry goes to the myapp_info.log and accordingly for lo

[jboss-user] [Installation, Configuration & Deployment] - Jboss Logger

2006-07-30 Thread koriel
Can I configure jboss to use different log files for different log levels for my application. For example the info level to be logged in file myapp_info.log and the debug level in the myapp_debug.log so when I use log.info("some text") this entry goes to the myapp_info.log and accordingly for lo

[jboss-user] [JBoss Seam] - Re: Exception sending context initialized event to listener

2006-07-30 Thread TLex
Check if your components.properties file is in place. If it is try replacing all @xyz@ entries in components.xml with values from components.properties. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961716#3961716 Reply to the post : http://www.jboss.com/

[jboss-user] [JBossWS] - Non-default HTTP port ignored

2006-07-30 Thread akpraha
I've run into a strange problem with JBossWS-1.0.2.GA installed on JBoss-4.0.4.GA. In my test environment, I cannot use port 8080, so I have configured tomcat to run on a different port. I set up a simple test web service similar to the examples in the user guide, deployed it, and took a look

[jboss-user] [EJB 3.0] - EJB 3.0 help - joining

2006-07-30 Thread stephan.opitz
i have two tables: categories_id BIGINT(20) NOT NULL, image VARCHAR(45) NOT NULL, parent_categories_id BIGINT(20) NOT NULL, sort_order INTEGER(3) NOT NULL, last_modified DATETIME NOT NULL, timestamp DATETIME NOT NULL, PRIMARY KEY(categories_id) ); CREATE TABLE categories_lang ( ca