[jboss-user] [JBoss Portal] - Re: How to use Mysql 5 as jboss-portal-2.6.4-bundled databas

2008-03-16 Thread maxi0361
That means I should keep hsql-ds.xml, remove portal-hsql-ds.xml.
and then add mysql-ds.xml??

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136986#4136986

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136986
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @EJB Annotation

2008-03-16 Thread jaikiran
See this http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107353. Look 
at the post by Wolfgang Knauf, where it's explained how to get the injection 
working with JSF managed bean  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136985#4136985

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136985
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: a little prombel about using EJB3.0

2008-03-16 Thread xiaopang
i have solute it by myself

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136984#4136984

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136984
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to use all available ID as primary key?

2008-03-16 Thread xiaopang
create a sequence in the databse like this

create sequense seq
minvalue  10
maxvalue 99
start with 10
increment by 1
nocache
cycle
then set entity bean like this
@Id
@GeneratedValuesstratege=GenerationType.SEQUENCE)

if you want more information about you can look up in the EJB3.0 help ducument 
.you can download it from www.sun.com.or write to me  [EMAIL PROTECTED]

you could hava a try but i am not sure it will work
by the way ,how long hava you learn EJB3.0

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136983#4136983

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136983
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: litte modifications on the Web-console

2008-03-16 Thread kukeltje
sorry for the way I reacted. I think/thought he was not able to find cvs. Now I 
think of it, he probably was able to find cvs but not the specific code/images 
or whatever. In hindsight I had better not reacted at all, but it really felt 
like one of the low-lights of the previous 5 years.  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136977#4136977

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136977
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Filenet and JBoss Integration with Active Directory

2008-03-16 Thread send2alan
Hello,

I am looking to make contact with anyone that may be able to provide me with 
links, phone contacts, or other avenues to locate tutorials related to Java 
script writing related to permissions.

The scenario currently being faced is that when add a new group on Active 
Directory and then via enterprise manager within filenet adding that group to 
another, the second group only has permissions for files going forward . 
but does not give access to group files previously created.  Second scenario 
would be that group 2 might have permissions such as read only.

While I certainly welcome sample scripts and how to implement to accomplish the 
above mentioned tasks  I would be more than happy as originally stated with 
any direction to tutorials related to this subject.

Thank you.
Alan

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136974#4136974

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136974
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @EJB Annotation

2008-03-16 Thread ashishkulkarni
Sorry, I forgot to mention the following:

JBoss Version - 4.2.2
JDK Version 1.5.0_11
Operating System - Windows XP

Regards,

Ashish.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136972#4136972

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136972
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - @EJB Annotation

2008-03-16 Thread ashishkulkarni
Hi there,

I am trying to initialise EJB within a JSF managed bean using the @EJB 
annotation.

However, this is not working out for me. As a result, I am having to use the 
usual JNDI lookup code in the managed bean's constructor.

Any help will be much appreciated.

Best Regards,

Ashish.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136971#4136971

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136971
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Not quite getting it (aka noclassdeffound)

2008-03-16 Thread aopdeveloper
   Did you find any solution for TRACE1? I face the same problem :(.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136968#4136968

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136968
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Jboss AOP with web services upon jboss

2008-03-16 Thread aopdeveloper
Did you find any solution? I face the same problem :(

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136967#4136967

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136967
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - JBoss AOP Problem

2008-03-16 Thread aopdeveloper
   Hello!
  
I'm new on JBossAOP. I try to develop a simple application using 
jboss-aop-2.0.0.CR4, JBoss-4.2.2.GA and Eclipse 3.3.1. I've folowed the 
indications from the doc 
(http://docs.jboss.org/aop/1.3/aspect-framework/reference/en/html_single/index.html#installing-jboss40)
  but still I have the following error:


anonymous wrote : 
  | [ServiceController] Problem creating service 
jboss.aop:service=AspectManager
  | java.lang.NullPointerException
  | at 
org.jboss.aop.deployment.AspectManagerServiceJDK5.attachTranslator(AspectManagerServiceJDK5.java:46)
  | at 
org.jboss.aop.deployment.AspectManagerService.createService(AspectManagerService.java:200)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.create(Unknown Source)
  | at org.jboss.system.ServiceController.create(ServiceController.java:330)
  | at org.jboss.system.ServiceController.create(ServiceController.java:273)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy4.create(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy9.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx

[jboss-user] [EJB/JBoss] - Re: local entity bean lookup from session bean goes wrong

2008-03-16 Thread y0ur1
"jaikiran" wrote : If you are trying to create a local ref for a entity bean 
inside a session bean, then this piece of code
  | 
  |   |  
  |   | ejb/Book
  |   | Entity
  |   | BookHome
  |   | Book
  |   | Book
  |   | 
  | 
  | should be declared as part of the session bean configuration:
  | 
  |   | 
  |   |  
  |   | .
  |   |  
  |   |  
  |   | ejb/Book
  |   | Entity
  |   | BookHome
  |   | Book
  |   | Book
  |   | 
  |   | 

You made my day! thank you

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136960#4136960

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136960
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - how to check resolved variables scope.

2008-03-16 Thread Fang0x0
Hi.

I'm using VariablesContainer method getVariablesLocally on TaskInstance class.

As I understand, variables scoping takes place, when calling this method. I.e. 
jbpm first check the taskInstance scope, then goes to the parent (Token 
perhaps).

Now, how could I know, of what scope those variables were returned?
Or, at least, is the variable truly local to that taskInstance?

Thanks


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136956#4136956

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136956
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Not able to configure HTTPS jboss-4.2.2.GA for sending

2008-03-16 Thread kahzoo
OK, then the other things that may be worth checking are:

On the server side,

1) deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml

  Do you have JNDIFactorySSL servlet and servlet-mapping defined ?

2) deploy/http-invoker.sar/META-INF/jboss-service.xml

  Do you have HTTPProxyFactory defined which is referenced by the 
JNDIFactorySSL ? (typically under the name 
"jboss:service=invoker,type=https,target=Naming")

On the client side,

3) Do you have the following system properties set when you run SenderHTTPQueue 
?

-Djavax.net.ssl.trustStore=
-Dorg.jboss.security.ignoreHttpsHost=true

Some of these are explained in the JBoss administration guide under the section 
"Accessing JNDI over HTTPS", and in the jboss4guide example (Namine/ex1).




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136949#4136949

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136949
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JbpmException: couldn't delete timers for process instan

2008-03-16 Thread kukeltje
Oh... and my answer would have been 'yes'... would that  help you in any way?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136948#4136948

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136948
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JbpmException: couldn't delete timers for process instan

2008-03-16 Thread kukeltje
if that is the only question, then that seems totally unrelated to the topic 
and thus belong in a new one. 

The yes/no what not the only thing you you asked (from my understanding) and 
thus not just what I anwserd.

Regarding you feeling offended, that is up to you. My experience is that in a 
lot of cases people (users) do something wrong in either the processdefinition 
or their actionhandlers. That is the reason I (indirectly) asked for more 
information *twice*. The reason I did this was to help *you* since I suspect 
(again from my experience as an 'expert' in this forum) that a simple yes or no 
would not suffice in your situation. What I could have told you (as I do in a 
lot of cases) was to just make a minimal unit test with embedded 
processdefinition and actionhandlers (as innerclasses) which demonstrates the 
problem. This would have been another way of formulating it, sorry that I did 
not do that. 

Besides all this. I did provide useful information (in my very humble opinion) 
by referring to the testcases (which in our (not only mine, but the devs to) 
can and should be seen as part of the 'documentation'). If you had 

I surely can occupy myself in other ways and preferably do so, but berating is 
high on my list. Cool btw using such a word... thankfully there is the internet 
to search for words hardly known to non-native English speakers. 

anonymous wrote : be-rate
  | tr.v. be-rat-ed, be-rat-ing, be-rates
  | To rebuke or scold angrily and at length.

Rebuke? Hmmm... maybe (but that is in the eye of the beholder) luckily I knew 
that word, otherwise I had to lookup an additional word
Angrily? hmm... no...a little irritated... maybe
At length? Certainly not

Hint: http://catb.org/~esr/faqs/smart-questions.html (and please do not take it 
as an offence) 





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136947#4136947

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136947
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: Hot deploying EJBs

2008-03-16 Thread javarebel
If you deploed the application using EAR file, then just touch your 
application.xml file. It will restart that project only. If you are using 
custom ANT file, then this is very easy to do.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136946#4136946

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136946
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Deploying jBPM application in Eclipse

2008-03-16 Thread kukeltje
anonymous wrote : If not, then the only way is to package the processdefintion 
in a war/ear and call a servlet that will deploy the processdefintion? No, you 
can also use the jBPM console upload page/servlet for uploading a par, or use 
the ant task in the wiki (jbpm wiki) for doing the same as would be done from 
eclipse

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136945#4136945

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136945
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JbpmException: couldn't delete timers for process instan

2008-03-16 Thread wootenator
Yes, but will you please try to answer the question. You seem to regard 
yourself as an expert. The simple question was:

Can you run the same action handler twice within the same process instance 
execution?

This is a yes or no quesiton and involves no code samples.

I am somewhat offended by your remarks and that you have provided no useful 
information, and asked for no additional information. If there is an example 
code showing the same action handler being called twice by the same process 
instance I have not encountered this yet, but would like to know if such an 
example exists. I have spent considerable time on the documentation. If you 
cannot provide anything useful please occupy yourself in other ways instead of 
berating users who have asked reasnable questions.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136944#4136944

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136944
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: litte modifications on the Web-console

2008-03-16 Thread kukeltje
This is a response the really got me.well. Sigh. I'll count to 
10. 

1...
2...
3...
4...
5...
6...
7...
8...
9... 

THE LOCATION OF THE CVS IS MENTIONED IN THE DOCS,  IT IS MENTIONED IN THE WIKI, 
SEVERAL TIMES IN THIS FORUM AND ON THE COMMUNITY PAGE.

Sorry for shouting

Peace oh and remember... we love you (courtesy of Marc F.)


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136943#4136943

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136943
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads

2008-03-16 Thread kukeltje
Tak, look at my post... for JEE based solutions, jBPM uses ejb timers...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136941#4136941

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136941
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JbpmException: couldn't delete timers for process instan

2008-03-16 Thread kukeltje
please you do not post any actionhandler code, processdefinition, how you 
use the engine or whatever, but expect *us* to provide some explanation or even 
example code. That is very hard and timeconsuming for us. 

I do not want to offend you, but look at jbpm testcases. Lots of 'examples' in 
there, including using actionhandlers. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136939#4136939

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136939
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions

2008-03-16 Thread kukeltje
it only needs to be deployed in that order if you do not use 'late binding' on 
subprocesses

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136938#4136938

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136938
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Fork Join and Async Nodes

2008-03-16 Thread kukeltje
have you used the latest cvs head version? some changes in this area were 
committed.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136937#4136937

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136937
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Tracking Who Completes a Task

2008-03-16 Thread kukeltje
under normal usage, the person who was assigned the task completes it, unless 
it is someone with the manager or admin role. Might be that the logging shows 
who did end the task, I'm not sure.

The restriction model (permissions) might be implemented, but it does not have 
a high priority since it is normally forced by the webapp. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136936#4136936

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136936
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to use all available ID as primary key?

2008-03-16 Thread mnrz
"xiaopang" wrote : how about using sequence  and set the sequence as cycle 

would you please explain more? how to set it as cycle. is this working on all 
databases or only specific DBs?

anyway thanks a lot

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136932#4136932

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136932
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to use all available ID as primary key?

2008-03-16 Thread xiaopang
how about using sequence  and set the sequence as cycle 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136931#4136931

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136931
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Where to put application- AND layer-specific jar-files w

2008-03-16 Thread j0llyr0g3r
Hi,

anonymous wrote : Which version of JBoss?

sorry, totally forgot to give this information: Yes, i was referring to Jboss 
V. 4.2.

anonymous wrote : In JBoss-4.2.x, you can create a folder named "lib" at the 
root of the EAR and place your common jar files in that lib folder. These jars 
will be made available in the classpath of your application. 

Ah, thanks very much!

One more question regarding this matter:

anonymous wrote : In JBoss-4.2.x, you can create a folder named "lib" at the 
root of the EAR and place your common jar files in that lib folder. These jars 
will be made available in the classpath of your application. 

Is there a way to let ant do this? I don't see a corresponding parameter in the 
ant EAR task according to: http://ant.apache.org/manual/CoreTasks/ear.html

I would have expected a lib-parameter or something like that, but i don't see 
anything that meets the requirements

And using "include" will not create a lib-directory.

Sure i could do this stuff manually, but is there an "ant-way" to do this?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136929#4136929

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136929
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - How to use all available ID as primary key?

2008-03-16 Thread mnrz
Hi all,

I have a table that in a slice of time, many records may be deleted and 
inserted. the record deletion is physically, this table acts as a pool.

now, I want this table uses deleted IDs for the new records that is going to 
insert, in other words, if IDs say, 23, 55, 77 are deleted, when I try to add 
new record, one of these IDs being opted for this record.

how can I manage this with EJB3? I am welcome if you've got any idea or 
suggestion, or even if you have any experience I appreciate if you share your 
knowledge on this.

thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136926#4136926

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136926
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Re: local entity bean lookup from session bean goes wrong

2008-03-16 Thread jaikiran
If you are trying to create a local ref for a entity bean inside a session 
bean, then this piece of code

  |  
  | ejb/Book
  | Entity
  | BookHome
  | Book
  | Book
  | 

should be declared as part of the session bean configuration:

  | 
  |  
  | .
  |  
  |  
  | ejb/Book
  | Entity
  | BookHome
  | Book
  | Book
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136924#4136924

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136924
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Where to put application- AND layer-specific jar-files w

2008-03-16 Thread jaikiran
Which version of JBoss? In JBoss-4.2.x, you can create a folder named "lib" at 
the root of the EAR and place your common jar files in that lib folder. These 
jars will be made available in the classpath of your application.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136923#4136923

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136923
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user