Re: [JBoss-user] CMP - Primary Key Strategies?

2003-03-17 Thread Matthew Hixson
On Monday, March 17, 2003, at 09:38 PM, Eric Tim wrote: I'm working on a CMP EntityBean with JBoss3 on Oracle8. My primary key must be a unique number. Oracle has a nice facility for handling sequences, which doesn't seam possible with this senerio because i'd need to write some jdbc code in the e

Re: [JBoss-user] Error: my patience Not Bound

2003-03-17 Thread Nathaniel Rahav
Wow ! Thanks ! Looking at the JNDI mbean, I think I can see clearly that my problem lies in my SessionBean which does not contain an to the Bean in question! No wonder he cant find it! Thank you so much, for showing me such a useful tool! Nat p.s. I just added the and my JUnit tests are a

RE: [JBoss-user] CMP - Primary Key Strategies?

2003-03-17 Thread Jeremy Boynes
With JBoss 3.2 there is now a PkSQL entity-command that can be used to issue arbitrary SQL to obtain a new PK value. This could be used to obtain a value from the sequence. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Eric Tim > Sent: Monday, Mar

RE: [JBoss-user] please help with sar

2003-03-17 Thread Keysers, Wonne
Add a /META-INF/jboss-app.xml to your .ear describing your service. Rgds Wonne Keysers -Original Message- From: kiuma [mailto:[EMAIL PROTECTED] Sent: Mon 3/17/2003 17:34 To: [EMAIL PROTECTED] Cc: Subject: [JBoss-user] please help with

Re: [JBoss-user] Error: my patience Not Bound

2003-03-17 Thread David Jencks
One thing I find helpful is to study the results of the jndiview mbean list operation. It shows everything bound, including in each comp/env private context. http://localhost:8080/jmx-console find and click on the jndi-view mbean click list button david jencks On 2003.03.17 23:19 Nathaniel Ra

[JBoss-user] CMP - Primary Key Strategies?

2003-03-17 Thread Eric Tim
I'm working on a CMP EntityBean with JBoss3 on Oracle8. My primary key must be a unique number. Oracle has a nice facility for handling sequences, which doesn't seam possible with this senerio because i'd need to write some jdbc code in the ejbCreate method to get the nextval. I'm aware that ther

Re: [JBoss-user] Table creation error

2003-03-17 Thread Alex Loubyansky
Richard, could you provide more info about the entity? How can I reproduce it? Thanks, alex Monday, March 17, 2003, 10:14:47 PM, you wrote: RS> Jboss is creating a malformed SQL statement in creating a table. It RS> sticks an extra invalid parenthesis in "NUMB_TYPE NUMBER(3)) NOT NULL" RS> How

[JBoss-user] Error: my patience Not Bound

2003-03-17 Thread Nathaniel Rahav
Dear JBoss users, I have been literally tearing my hair out (whatever there is left) for a few days trying to understand why I'm getting this error. I have 3 Entity beans in my app, all written using XDoclet1.2b2 and deployed on JBoss3.0.4-tomcat . I am using a Session bean to lookup these 3

[JBoss-user] ★网络营销大全--助您一臂之力

2003-03-17 Thread alkf2j
★网络营销大全--助您一臂之力 您现在还在为了推销产品而四处奔波吗?您还在为网站访问数量上不去而焦急吗? 本站为您提供全方位网络营销策略。★一起来吧!你面对的客户将是全中国! 详情请访问http://www.8he8.com ★ ★ 本站代办网络宣传任务: 广告邮件发送、商务网站登陆信息多站连发。 ★ ★ 本站主业定向搜索――发布各类商业电子邮件。 联系方式:0533-8652951 13853366319 网络咨询:QQ:66388619 如果本邮件不是你所需要的,我们表示抱歉,请随手删除或按回复删除 +++

Re: [JBoss-user] How is J2EE.8.3.2.5 done with JBoss 3.x?

2003-03-17 Thread Scott M Stark
That is all you need to do. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Weiqi Gao" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 14, 2003 12:01 PM Subject: [JBoss-user] How is J2EE.8

Re: [JBoss-user] Override the element for embedded Tomcat

2003-03-17 Thread Scott M Stark
This should be allowed as there is a mapping to allow the Manager to be overriden. Check the tomcat41/src/main/org/jboss/web/catalina/ConfigHandler.java for an incorrect setup or file a bug report on sourceforge so someone can look into the issue. Scott Stark Chief Technol

Re: [JBoss-user] SecurityExceptions upon migration from 3.0.2 to 3.0.6

2003-03-17 Thread Scott M Stark
This is the access to the database that is requiring security. Compare your datasource configuration to the examples in the docs/examples/jca directory of the dist. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message -

Re: [JBoss-user] JBoss not finding xmls in Jar

2003-03-17 Thread Scott M Stark
The xml files must be in under the META-INF directory in the jar. You have the wrong case: sm8 550>jar -tf /tmp/acme.jar META-INF/ META-INF/MANIFEST.MF ... Meta-inf/ Meta-inf/ejb-jar.xml Meta-inf/jboss.xml Meta-inf/jbosscmp-jdbc.xml Scott Stark Chief Technology Office

Re: [JBoss-user] security question

2003-03-17 Thread Scott M Stark
Every method not included in a method-permission section is implicitly placed into the excluded group. If you don't associate a role with a method the method is not accessible. Scott Stark Chief Technology Officer JBoss Group, LLC - Original M

Re: [JBoss-user] 3.0.4 -> 3.0.7 deployment dependencies change?

2003-03-17 Thread Scott M Stark
No, Class-Path references are not treated as deployables as per the spec now. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Brian Wallis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, Mar

Re: [JBoss-user] security question

2003-03-17 Thread Scott M Stark
Then replace the SecurityInteceptor as you are using non-standard security. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Rafal Kedziorski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, M

[JBoss-user] jetty and filters

2003-03-17 Thread MNewcomb
I have my filter set up with a mapping of "/*". I see my print out in 'init' but nothing comes out in 'doFilter'. What's up with that? RedHat 7.2 jdk 1.4.1 fairly recent jboss-head Any clues? --- This SF.net email is sponsored by:Crypto Chal

Re: [JBoss-user] security question

2003-03-17 Thread Scott M Stark
Security is unchanged in 3.2 Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Corbin, James" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 7:21 AM Subject: RE: [JBoss-user] se

Re: [JBoss-user] Proper way to shutdown

2003-03-17 Thread Vladyslav Kosulin
[EMAIL PROTECTED] wrote: What's the best way to get a graceful shutdown? For JBoss 3.0.x: ://:/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system%3Atype%3DServer&methodName=shutdown Or use console. shutdown.bat/shutdown.sh will not work, if http is disabled.

Re: [JBoss-user] [IDE] jndi browse]

2003-03-17 Thread Renaud Waldura
Hi Stefan,   I'm currently working with the JBoss IDE team at integrating my plug-in into their application. The next release of JBoss IDE should offer much tighter integration between my plug-in and the rest of the IDE -- it will just work.   For now, I believe your best option is to manual

Re: [JBoss-user] Proper way to shutdown

2003-03-17 Thread Guy Rouillier
What version? Have you tried the shutdown.sh or shutdown.bat script in the bin directory? [EMAIL PROTECTED] wrote: HI folks, Up until now I’ve been shutting down jboss using crtl+c but then in the output as the server starts up it has 19:57:57,009 INFO [STDOUT] Use SHUTDOWN t

[JBoss-user] Table creation error

2003-03-17 Thread Richard Stack
Jboss is creating a malformed SQL statement in creating a table. It sticks an extra invalid parenthesis in "NUMB_TYPE NUMBER(3)) NOT NULL" How do I go about logging this bug? Windows NT 4.0 JBoss3.2.0RC3_tomcat-4.1.18 Xdoclet 1.2beta2 Oracle8i 2003-03-17 14:24:36,283 DEBUG [org.jboss.ejb.plugins

[JBoss-user] SecurityExceptions upon migration from 3.0.2 to 3.0.6

2003-03-17 Thread Joseph Barillari
Hi. I attempted to deploy a package that I'd developed on JBoss 3.0.2 on JBoss 3.0.6. 3.0.6 refused to take it, complaining about authentication issues: 15:25:25,174 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deploym

[JBoss-user] Proper way to shutdown

2003-03-17 Thread Mark.Gargan
HI folks, Up until now I’ve been shutting down jboss using crtl+c but then in the output as the server starts up it has   19:57:57,009 INFO  [STDOUT] Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly   Have I been shutting it down incorrectly or harmfully?

Re: [JBoss-user] Out of Memory Exception

2003-03-17 Thread Langelage, Frank
Hi Michael, how much memory did you jboss allow to allocate ? By default, the JVM is able to allocate 64 MB before getting "Out of memory exception". You may set environment variable "JAVA_OPTS" to "-Xms256m -Xmx256m" e.g. for allocating a maximum of 256 MB. Regards Frank Michael Ukpong wrote:

[JBoss-user] RE:

2003-03-17 Thread Mark.Gargan
HI guys,      I’ve located the servlet file in the web-inf/classes folder of the exploded jmx-console.war folder in the deploy directory. Could it be that when shutting down the server using crtl+c I somehow tampered with the listener that handles deployments?   Mark.      

[JBoss-user] (no subject)

2003-03-17 Thread Mark.Gargan
Hi folks,     The jboss I’m using I built from a nightly snapshot. Windows XP with JDK1.4.1   The server started up fine. I attempted to deploy a web service and it didn’t seem to deploy. When I shutdown the server and then booted it back up I got a number of exceptions that

[JBoss-user] Out of Memory Exception

2003-03-17 Thread Michael Ukpong
Hi all I have an application running on Jboss-Jetty 3.0.3. We tested it in three environments. 1. Intel PIII 1.4Ghz 256MB ram ECC 21 Users with frequent clicks...it was slow...thats all... 2. Duron 1.2 GHz 1GB ram. SDRAM     21 Users with frequent clicks...a little faster    but s

Re: [JBoss-user] get environment entries

2003-03-17 Thread Guy Rouillier
Here is an example from some working code. In the bean, use this: Context initial = new InitialContext(); Context environment = (Context) initial.lookup("java:comp/env"); setServerName((String) environment.lookup("Ticket Server Name")); In ejb-jar.xml, use this: Ticket Server Name java.la

RE: [JBoss-user] please help with sar

2003-03-17 Thread JD Brennan
Title: RE: [JBoss-user] please help with sar I think you have to modify the META-INF/application.xml in the .ear to reference the .sar. You can also put the .sar inside the .jar inside the .ear and it will get deployed.  (That's what we do.) JD -Original Message- From: kiuma [mai

RE: [JBoss-user] JBoss.NET and Axis SOAP Monitor

2003-03-17 Thread Kevin Conner
> How can I use Axis SOAP Monitor with JBoss? Axis site says it > should be > in http://localhost:/axis/SOAPMonitor, but there is nothing. > > And does anyone know what is wrong with jboss.org site? It > seems to be > down.. You have to set it up yourself. You need to add a servlet mapping i

RE: [JBoss-user] Remote Beans as Web Services

2003-03-17 Thread Mark.Gargan
Title: Nachricht Hi Christoph,    I actually built jboss from a nightly snapshot I downloaded off the site. Originally I was using 3.2 though. The problem I think actually occurs when the java provider is trying to generate the wsdl. However I’m not 100% clear on the use of

Re: [JBoss-user] read-ahead question

2003-03-17 Thread Dain Sundstrom
You need to use a transaction. Preloaded data is only available in a single transaction. -dain On Monday, March 17, 2003, at 10:28 AM, Rafal Kedziorski wrote: hi, I have following entity bean definition in jbosscmp-jdbc.xml: UsersBean on-find 4 * 1000 users ... No

[JBoss-user] read-ahead question

2003-03-17 Thread Rafal Kedziorski
hi, I have following entity bean definition in jbosscmp-jdbc.xml: UsersBean on-find 4 * 1000 users ... Now I call: UsersLocalHome usersHome = (UsersLocalHome) serviceLocator.getLocalHome(JNDINamesAccess.USERS_EJB); Collection usersCollection = usersHome.findAll(); I

[JBoss-user] please help with sar

2003-03-17 Thread kiuma
Hi all, I currently have an ear (say test.ear archive (ejb-test.jar + test.war) and since I'm trying to eval hibernate I need a hib-test.sar. Now I'm trying to put hib-test.sar it inside test.ear, but inspecting jndi-view service no hibernate service is started. If I put hib-test.sar directly in

[JBoss-user] ★网络营销大全--助您一臂之力

2003-03-17 Thread fdhg2s
★网络营销大全--助您一臂之力 您现在还在为了推销产品而四处奔波吗?您还在为网站访问数量上不去而焦急吗? 本站为您提供全方位网络营销策略。★一起来吧!你面对的客户将是全中国! 详情请访问http://www.8he8.com ★ ★ 本站代办网络宣传任务: 广告邮件发送、商务网站登陆信息多站连发。 ★ ★ 本站主业定向搜索――发布各类商业电子邮件。 联系方式:0533-8652951 13853366319 网络咨询:QQ:66388619 如果本邮件不是你所需要的,我们表示抱歉,请随手删除或按回复删除 +++

RE: Re[2]: [JBoss-user] Using my Custom MBean to monitor my application

2003-03-17 Thread Marco.Mistroni
> MBeanServer server = MBeanServerFactory.findMBeanServer(null).get(0); thanx a lot! the line above what was i was missing...how to get teh default MBean server running in JBoss.( i should read more the JMX APIs :-( will it be so that, after my app has started, if i look at jmx-console i'll see m

RE: [JBoss-user] Using my Custom MBean to monitor my application

2003-03-17 Thread David Jencks
On 2003.03.17 09:11 [EMAIL PROTECTED] wrote: > > There is no dtd for the *-service.xml file format, it would > > need to be a > > schema anyway. > > > > I can never remember the constructor argument format, but if > > you look in > > the system module at org.jboss.system.ServiceCreator it is not

Re[2]: [JBoss-user] Using my Custom MBean to monitor my application

2003-03-17 Thread julien viet
Hello Marco, Monday, March 17, 2003, 3:11:49 PM, you wrote: >> There is no dtd for the *-service.xml file format, it would >> need to be a >> schema anyway. >> >> I can never remember the constructor argument format, but if >> you look in >> the system module at org.jboss.system.ServiceCreator

RE: [JBoss-user] Using my Custom MBean to monitor my application

2003-03-17 Thread Marco.Mistroni
> There is no dtd for the *-service.xml file format, it would > need to be a > schema anyway. > > I can never remember the constructor argument format, but if > you look in > the system module at org.jboss.system.ServiceCreator it is not hard to > figure out. > > I'm not well acquainted with se

[JBoss-user] remote EJB reference to local reference

2003-03-17 Thread Шевчик Виктор Александрович
Good afternoon! Whether there is a way to transform remote EJB reference to local reference in the context of method of another EJB? What`s the fastest way to do it for stateful session bean and for entity bean (may be specific for Jboss)? For entity bean it can be realized by localHome.findByPrim

[JBoss-user] JSP to access EJB

2003-03-17 Thread Ionel Gardais
Hi, I have developped my own JSP taglib. A tag takes a collection as parameter. I do : getAllPersonnes() is a method from a Stateless Session bean which act as a facade for CMP Entity Beans. The facade is a Remote interface and home. the HomeCaching class is a singleton that holds the home and

Re: [JBoss-user] Using my Custom MBean to monitor my application

2003-03-17 Thread David Jencks
There is no dtd for the *-service.xml file format, it would need to be a schema anyway. I can never remember the constructor argument format, but if you look in the system module at org.jboss.system.ServiceCreator it is not hard to figure out. I'm not well acquainted with servlets. I don't think

[JBoss-user] JBoss.NET and Axis SOAP Monitor

2003-03-17 Thread jK.MkIII
Hi, How can I use Axis SOAP Monitor with JBoss? Axis site says it should be in http://localhost:/axis/SOAPMonitor, but there is nothing. And does anyone know what is wrong with jboss.org site? It seems to be down.. -- jK.MkIII --- This S

[JBoss-user] loadLibray into an MBean

2003-03-17 Thread Mike Hepburn
Hi, i'm trying to load a third party library into an MBean as follows: static { try { System.loadLibrary("quickfix_jni"); } catch(UnsatisfiedLinkError e) { System.out.println("Could not quickfix library" + e); } System.out.println("Loa

[JBoss-user] Using my Custom MBean to monitor my application

2003-03-17 Thread Marco.Mistroni
hi all, i am little novice with JBoss JMX and i wanted to ask few questions. I have written my own Custom MBean to monitor properties loaded in the servlet of my web application. i have written a .sar file which contains .class files as well as jboss-service.xml. Now, in the constructor o

[JBoss-user] GUVENDE MISINIZ ?

2003-03-17 Thread HACKER REHBERI
TURKIYE'DE BIR ILK ! SADECE 25.000.000 TL HACKER ve GUVENLIK REHBERI CD'SI Hack ve Guvenlik konusunda bilmek istediginiz hersey, ihtiyaciniz olan her program bu cd'de. Sadece 25.00

[JBoss-user] jboss-service.xml DTD

2003-03-17 Thread Marco.Mistroni
hi all, anyone can point me to where i can find the DTD for jboss-service.xml? i have to specify a constructor for an MBean that accepts input parameters and i don't know how to do it can anyone help me? thanx and regards marco > -Original Message- > From: ext Kevi

RE: [JBoss-user] Axis & JBoss - Client Stubs Not Portable ?

2003-03-17 Thread Kevin Conner
Hiya Nicholas. > I have been working with Axis & JBoss for a while and > I am finally getting around to putting together my > build system. It has occured to me that when I run > WSDL2Java, the client stubs generated have HARD CODED > IP addresses or host names, making the generated code completel

RE: Re[4]: [JBoss-user] CMP Entity Bean Insert/Commit after ejbPostCreate()

2003-03-17 Thread BOCEK Michal
-Original Message- From: Alex Loubyansky [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003 8:25 PM To: Chad Brandon Subject: Re[4]: [JBoss-user] CMP Entity Bean Insert/Commit after ejbPostCreate() Thursday, March 13, 2003, 9:47:38 PM, you wrote: CB> Hi Alex, CB> I'd really like to

AW: [JBoss-user] Axis & JBoss - Client Stubs Not Portable ?

2003-03-17 Thread Jung , Dr. Christoph
Hi Nicholas, That is a unfortunately question that you need to post to the axis users list (or even, the wsdl4j community ...) I would guess that there is some command-line switch to influence that behaviour, but I am not into that tool, sorry. CGJ -Ursprüngliche Nachricht- Von: Nic

AW: [JBoss-user] error deploying jboss.net

2003-03-17 Thread Jung , Dr. Christoph
Hi Nathan, That "special" build was indeed a beta of axis that has a few changed interfaces wrt. 1.0 Axis 1.0 is not supported until 3.2 CGJ -Ursprüngliche Nachricht- Von: Nathan Hoover [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 14. März 2003 18:25 An: [EMAIL PROTECTED] Betreff: [JBo

AW: [JBoss-user] Remote Beans as Web Services

2003-03-17 Thread Jung , Dr. Christoph
Title: Nachricht Marc,   as Kevin has noted, there seems to be a problem with WSDL generation for allowedMethods="*" even in the axis version we use in the JBoss 3.2 branch (which version did you use?).   I will fix this in the next days.   CGJ     -Ursprüngliche Nachricht-Von: