RE: [JBoss-user] Does anybody Configure jboss for MS JDBC Driver ??

2001-12-17 Thread Bill Burke

  
 org.hsqldb.jdbcDriver,net.avenir.jdbc2.Driver
  

  
DJDBPool
org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl

jdbc:AvenirDriver://some.dns.name.com:1433/Data5
120
username
10
password
false
false
false
true
12
180
false
false
1.0
0
  

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of David Cao
> Sent: Monday, December 17, 2001 10:07 PM
> To: JBoss 2
> Subject: [JBoss-user] Does anybody Configure jboss for MS JDBC Driver ??
>
>
> Does anybody successful use MS JDBC driver with jboss ? I set up with
> it, but it always see it can't create prepared statement, does anybody
> can forward my a sample configuration?
>
> Thanks, David
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Does anybody Configure jboss for MS JDBC Driver ??

2001-12-17 Thread David Cao

Does anybody successful use MS JDBC driver with jboss ? I set up with
it, but it always see it can't create prepared statement, does anybody
can forward my a sample configuration?

Thanks, David

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] data retrieval from readonly table

2001-12-17 Thread danch

If they're CMP beans, they'll try to write into the tables at commit of 
the transaction - something Oracle will object to (as you point out), 
which will roll back the whole transaction and throw an exception up to 
the client.

Guy Rouillier wrote:

> Oracle controls the read-write access.   If Oracle says you can't write 
> to it, then it doesn't really matter what you declare in a deployment 
> descriptor.  So why do you want to do something on the EJB side?
> 
> - Original Message -
> 
> From: Jane Liu 
> 
> To: [EMAIL PROTECTED]
> 
> 
> Cc: [EMAIL PROTECTED]  ; [EMAIL PROTECTED]
> 
> 
> Sent: Sunday, December 16, 2001 2:12 AM
> 
> Subject: [JBoss-user] data retrieval from readonly table
> 
> 
> Hi,
> 
>  
> 
> I want to use entity beans to retrieve data from a oracle database
> table which I only have read permission. Is that possible? If in
> jaws.xml, I specify true will that work? If
> anyone has experience with similar problem, please help me.
> 
>  
> 
> Thanks a million!
> 
>  
> 
> Jane
> 



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] RE: security exception while running/debugging from jbuilder

2001-12-17 Thread John P. Coffey



Alice, 

 
there 
are two things you can do here, firstly I like to see all the JBoss source code 
and not be selective about the components I step into, to that end JBOss 2.4.3 
ships with the source code to all the 3rd party components and I simply 
downloaded and extracted the code including source code.  I then edited the 
JBoss library and added the various directories in the source tabs (allowing 
JBuilder to navigate to the appropriate one when required).
 
If you 
explcitly want prefent tracing into a package (as typically happens when you 
step into F7 for the java.sun.* or javax.* packages), there is a panel in the 
debugger context lower pane (you must start the debugger before you see this 
pane) and it's called the 'classes with tracing disabled' and has a little arrow 
bouncing off three colored circles.  If you select the context menu 
assiciated with the package disable the ones you do not want to step into and 
you should be all set. Hope this helps.
 
John

  -Original Message-From: Alice Ad 
  [mailto:[EMAIL PROTECTED]]Sent: Saturday, December 15, 2001 
  9:08 PMTo: [EMAIL PROTECTED]; 
  [EMAIL PROTECTED]Cc: 'Alice Ad'Subject: 
  Re: [JBoss-user] RE: security exception while running/debugging from 
  jbuilder
   Hi John, 
  thanks for the help. i had a different sequence of the jar files in my 
  library. i just changed the sequence and everything went fine. 
  however i have another small question. i am using jbuilder 5. when i use 
  "step into" while debugging, it takes me in2 java system (java.lang.* for 
  example) and decompiled java files (MBeanServer for example that doesnt have a 
  source code in jboss download). this is something i dont want to do, i.e. i 
  want to "browse" only those source files that came with jboss 
  download. i couldnt find the solution easily. is there any option that i can 
  set for this? please advise. 
  thanks a lot. 
    "John P. Coffey" <[EMAIL PROTECTED]> wrote: 
  

Alice,
 
I 
think I may have seen this one a couple of times a long time back, It may 
have to do with the directory (project properties) you are running the 
debugger from.  What version of JBuilder are you 
using?
 
Here are my JBuiler 5 project library files. I know I need to enhance 
the documentation, but time is the problem, note that teh library is for 
JBoss 2.4.3, one annoyance is this set of libraries keeps changing between 
dot releases making keeping up a bit of a nightmare.
 
Hope this helps
 
John
 

  -Original Message-From: Alice Ad 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, December 14, 2001 
  8:49 PMTo: [EMAIL PROTECTED]Cc: 
  [EMAIL PROTECTED]Subject: security exception while 
  running/debugging from jbuilder
  This question is for John P. Coffey or anyone else 
  who can answer this.
  Im using JBoss2.2.2 with Tomcat 3.2.2 on 
  Win2k.
  I did exactly as explained in Integrating 
  JBuilder 4.0 Foundation with JBoss for source level debugging of 
  Chapter 9. It compiles fine but when I try to run/debug it, it gives me 
  java.lang.SecurityException as shown in the stack trace at the end. This 
  happens when invoking this line from Main.java:
  server.invoke(new 
  ObjectName(":service=Configuration"), "loadConfiguration", new Object[0], 
  new String[0]); (which calls DocumentBuilderFactory factory = 
  DocumentBuilderFactory.newInstance(); in 
  org.jboss.configuration.ConfigurationService.java)
  This does not happen when I run jboss from run.bat 
  script. 
  I don't understand this because 
  server.policy is granting everyone AllPermission (I also 
  changed java.policy for JBuilder to allow all, just in case). Can someone please guide me into this? Why is it behaving 
  different when run from run.bat?
  Thanks a lot for the help.
   
  [Default] java.lang.SecurityException: sealing 
  violation
  [Default]  at 
  java.net.URLClassLoader.defineClass(URLClassLoader.java:234)
  [Default]  at 
  java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  [Default]  at 
  java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  [Default]  at 
  java.security.AccessController.doPrivileged(Native Method)
  [Default]  at 
  java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  [Default]  at 
  java.lang.ClassLoader.loadClass(ClassLoader.java:297)
  [Default]  at 
  sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
  [Default]  at 
  java.lang.ClassLoader.loadClass(ClassLoader.java:253)
  [Default]  at 
  java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
  [Default]  at 
  java.lang.ClassLoader.defineClass0(Native Method)
  [Default]  at 
  java.lang.ClassLoader.defineClass(ClassLoader.java:486)
  [Default]  at 
  java.security.

Re: [JBoss-user] Initialize JSP problem (Jetty in RH7 and Windows)

2001-12-17 Thread 黃富鴻 Eric Huang


Hello Julian,
Thanks for your kind help.
I got JBoss's daily snapshot (12/15/2001) and rebuild it in JDK1.3.0_02.
Everything is fine in my windows. But got exception in RH7.
The attachment is the zip of my RH7 server log and the EAR file.

Please load the ear file and try for me! thank you!

Best regards,
Eric


> Eric,
> 
> how recent is the RH build that you are using ? 
> 
> How are you doing the deployment?
> 
> Are you using load-on-startup in your web.xml ?
> 
> etc...
> 
> I need a little more to go on.
> 
> If the app is small enough to let me have a copy that
> would be useful as well.
> 
> Jules
> 
>  --- Eric Huang <[EMAIL PROTECTED]> wrote: > Hello
> world,
> > I've really fighted for the problem for quite a few
> > days. I can run JSP pages in Windows2000, but can't
> > in RH7. I use the same ear, of course. I tried to
> > find Jetty's precompile and check the claspath. But
> > I can't get anything. 
> > 
> > Can anyone kindly help me to point out a lighter
> > way?
> > Please take a quick look the message:
> > 
> > Thanks,
> > Eric
> > 
> >  JBoss3.0alpha/Jetty in Linux(RH7) 
> > 
> > 2001-12-16 22:40:41,450 INFO [org.jboss.jetty.Jetty]
> > Started SecurityHandler in
> > WebApplicationContext[/Link,LinkAppWAR]
> > 2001-12-16 22:40:41,453 INFO [org.jboss.jetty.Jetty]
> > Started WebInfProtect
> > 2001-12-16 22:40:41,456 INFO [org.jboss.jetty.Jetty]
> > Started FilterHandler in
> > WebApplicationContext[/Link,LinkAppWAR]
> > 2001-12-16 22:40:41,460 INFO [org.jboss.jetty.Jetty]
> > Started ServletHandler in
> > WebApplicationContext[/Link,LinkAppWAR]
> > 2001-12-16 22:40:42,183 INFO [org.jboss.jetty.Jetty]
> > JSP: init
> > 2001-12-16 22:40:42,659 ERROR
> > [org.jboss.deployment.J2eeDeployer#Default] Starting
> > links.war failed!
> > javax.management.RuntimeErrorException: Error thrown
> > in operation deploy
> > at
> >
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1642)
> > at
> >
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> > at
> >
> org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:492)
> > at
> >
> org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:435)
> > at
> >
> org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:202)
> > at java.lang.reflect.Method.invoke(Native Method)
> > at
> >
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> > at
> >
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> > at
> >
> org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:683)
> > at
> >
> org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:326)
> > at java.lang.Thread.run(Thread.java:484)
> > 2001-12-16 22:40:42,665 INFO
> > [org.jboss.deployment.J2eeDeployer#Default] Module
> > links.war is not running
> > 
> > ===
> >  JBoss3.0alpha/Jetty in windows 2000 
> > 
> > 22:51:28,026 INFO [Jetty] Started WebInfProtect
> > 22:51:28,026 INFO [Jetty] Started FilterHandler in
> > WebApplicationContext[/Link,
> > LinkAppWAR]
> > 22:51:28,036 INFO [Jetty] Started ServletHandler in
> > WebApplicationContext[/Link
> > ,LinkAppWAR]
> > 
> > 22:51:28,457 INFO [Jetty] JSP: init
> > 22:51:29,018 INFO [Jetty] ResourceHandler started in
> >
> file:/C:/jboss3.0.0alpha/tmp/deploy/Default/links.ear/web1004/
> > 22:51:29,018 INFO [Jetty] Started ResourceHandler in
> > WebApplicationContext[/Link,LinkAppWAR] 
> >  
> 
> __
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



links.ear
Description: Binary data


server.zip
Description: Zip compressed data


Re: [JBoss-user] production config on Mandrake Linux

2001-12-17 Thread Edward Q. Bridges


this is what my isp is using:
http://www.freebsd.org/java/dists/13.html

the isp is hub.org, and i highly highly recommend them.  very responsive,
good pricing, and part of money goes to support postgres development.

they also provide "virtual servers" where you basically have your own machine
in a virtual environment -- including sudo access, your own webserver, etc.

HTH
--e--



On Mon, 17 Dec 2001 09:04:10 +0100, Sebastian Hauer wrote:

>Hi Edward,
>
>
>"Edward Q. Bridges" wrote:
>>
>> you might also investigate *BSD.  it has very robust threading.
>Just curious. Which JDK do you use under *BSD I thought there it no 1.3
>compliant version.
>
>Regards,
>
>   Sebastian



 ed.q.bridges
 tel. 089-368179.552
 fax 089-368179.79
 osterwaldstraße 10
 (haus F eingang 21)
 80805 münchen





___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Initialize JSP problem (Jetty in RH7 and Windows)

2001-12-17 Thread Julian Gosnell

Eric,

how recent is the RH build that you are using ? 

How are you doing the deployment?

Are you using load-on-startup in your web.xml ?

etc...

I need a little more to go on.

If the app is small enough to let me have a copy that
would be useful as well.

Jules

 --- Eric Huang <[EMAIL PROTECTED]> wrote: > Hello
world,
> I've really fighted for the problem for quite a few
> days. I can run JSP pages in Windows2000, but can't
> in RH7. I use the same ear, of course. I tried to
> find Jetty's precompile and check the claspath. But
> I can't get anything. 
> 
> Can anyone kindly help me to point out a lighter
> way?
> Please take a quick look the message:
> 
> Thanks,
> Eric
> 
>  JBoss3.0alpha/Jetty in Linux(RH7) 
> 
> 2001-12-16 22:40:41,450 INFO [org.jboss.jetty.Jetty]
> Started SecurityHandler in
> WebApplicationContext[/Link,LinkAppWAR]
> 2001-12-16 22:40:41,453 INFO [org.jboss.jetty.Jetty]
> Started WebInfProtect
> 2001-12-16 22:40:41,456 INFO [org.jboss.jetty.Jetty]
> Started FilterHandler in
> WebApplicationContext[/Link,LinkAppWAR]
> 2001-12-16 22:40:41,460 INFO [org.jboss.jetty.Jetty]
> Started ServletHandler in
> WebApplicationContext[/Link,LinkAppWAR]
> 2001-12-16 22:40:42,183 INFO [org.jboss.jetty.Jetty]
> JSP: init
> 2001-12-16 22:40:42,659 ERROR
> [org.jboss.deployment.J2eeDeployer#Default] Starting
> links.war failed!
> javax.management.RuntimeErrorException: Error thrown
> in operation deploy
> at
>
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1642)
> at
>
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> at
>
org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:492)
> at
>
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:435)
> at
>
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:202)
> at java.lang.reflect.Method.invoke(Native Method)
> at
>
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> at
>
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> at
>
org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:683)
> at
>
org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:326)
> at java.lang.Thread.run(Thread.java:484)
> 2001-12-16 22:40:42,665 INFO
> [org.jboss.deployment.J2eeDeployer#Default] Module
> links.war is not running
> 
> ===
>  JBoss3.0alpha/Jetty in windows 2000 
> 
> 22:51:28,026 INFO [Jetty] Started WebInfProtect
> 22:51:28,026 INFO [Jetty] Started FilterHandler in
> WebApplicationContext[/Link,
> LinkAppWAR]
> 22:51:28,036 INFO [Jetty] Started ServletHandler in
> WebApplicationContext[/Link
> ,LinkAppWAR]
> 
> 22:51:28,457 INFO [Jetty] JSP: init
> 22:51:29,018 INFO [Jetty] ResourceHandler started in
>
file:/C:/jboss3.0.0alpha/tmp/deploy/Default/links.ear/web1004/
> 22:51:29,018 INFO [Jetty] Started ResourceHandler in
> WebApplicationContext[/Link,LinkAppWAR] 
>  

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] production config on Mandrake Linux

2001-12-17 Thread Sebastian Hauer


Hi,

there is a RedHat startup sample script in the CVS tree (I think it
comes with JBoss 3.0 alpha too)... Should work with Mandrake and others
cause it doesn't use any RH specific commands.

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co -d
init_script jboss/src/bin/jboss_init_redhat.sh

Downloads the script into init_script.

Regards,

Sebastian

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] production config on Mandrake Linux

2001-12-17 Thread Sebastian Hauer

Hi Edward,


"Edward Q. Bridges" wrote:
> 
> you might also investigate *BSD.  it has very robust threading.
Just curious. Which JDK do you use under *BSD I thought there it no 1.3
compliant version.

Regards,

Sebastian

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] how to unsubscribe from this mailing list?

2001-12-17 Thread Orly Tchemkin

Hello,
please send me link, how to unsubscribe from this mailing list ?

Thanks in advance,
  [EMAIL PROTECTED]


WWW.COM - Where the Web Begins! http://www.www.com

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user