[JBoss-user] [Installation, Configuration & Deployment] - Re: JBOSS Support for HTTPS

2006-06-07 Thread chrisbitmead
As I recall, you have to change deploy/jbossweb-tomcat55.sar/server.xml

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949762


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - UnknownHostException - specific to OSX

2006-06-05 Thread chrisbitmead

I've got a little network set up here with a Win 2003 server, some windows and 
Mac clients. This is just a test network and doesn't have any DNS server or any 
host names. So I use IP addresses in the JNDI addresses.

Anyway, Windows clients work fine, but on Mac OSX it comes up with 
UnknownHostException: pcl0002557

pcl0002557 is the windows name of our Win 2003 server running JBoss. The thing 
is, this network doesn't have any DNS and isn't connected to the internet or 
any wider network. I havn't even told the Mac where to find a DNS server.

So how the Mac even knows about the name "pcl0002557" is a mystery to me, 
because all I did was tell it to talk to 192.168.1.2. Anyway, this error occurs 
in jboss.naming.interceptors.ExceptionInterceptor.invoke which is called way 
down from org.jnp.InitialContext.lookup when I'm trying to look up an EJB.

Any ideas? How would it know the host name, and why would it be using it anyway 
when I've only told it the IP address?




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949016


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: 4.0.4GA bug port conflict snmp

2006-05-28 Thread chrisbitmead
In case you don't understand the ed editor syntax, all I did was uncomment the 
ServiceBinding section.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947232


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: 4.0.4GA bug port conflict snmp

2006-05-28 Thread chrisbitmead

But a brand spanking new 4.0.4GA instance has the problem. Below is an actual 
cut and paste session showing the exact edits down to a new installation. This  
example is when run from the command line with run.bat, but the exact same 
thing happens running under eclipse debug mode:

/cygdrive/c/download$ rm -rf jboss-4.0.4.GA/
/cygdrive/c/download$ unzip -q ../downloads/jboss-4.0.4.GA.zip
/cygdrive/c/download$ cd jboss-4.0.4.GA/server/
/cygdrive/c/download/jboss-4.0.4.GA/server$ mkdir all2
/cygdrive/c/download/jboss-4.0.4.GA/server$ cd all2
/cygdrive/c/download/jboss-4.0.4.GA/server/all2$ (cd ../all ; tar cf - . ) | ta
r xf -
/cygdrive/c/download/jboss-4.0.4.GA/server/all2$ ed conf/jboss-service.xml
27072
/ServiceBindingManager
   
.
p
-->

   

 ports-01

 ${jboss.home.url}/docs/examples/binding-manager/
sample-bindings.xml

 

   org.jboss.services.binding.XMLServicesStoreFactory

 

   

   -->
d
w
27069
q
cd ../../bin
cmd /c run.bat -c all


and now in another window.

cd jboss-4.0.4GA/bin
cmd /c run.bat -c all2
===
.
  JBoss Bootstrap Environment
.
  JBOSS_HOME: c:\download\jboss-4.0.4.GA\bin\\..
.
  JAVA: c:/Program Files/Java/jdk1.5.0_04\bin\java
.
  JAVA_OPTS:  -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn
terval=360 -Dsun.rmi.dgc.server.gcInterval=360
.
  CLASSPATH: c:/Program Files/Java/jdk1.5.0_04\lib\tools.jar;c:\download\jboss-4
.0.4.GA\bin\\run.jar
.
===
.
12:13:39,687 INFO  [Server] Starting JBoss (MX MicroKernel)...
12:13:39,687 INFO  [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBo
ss_4_0_4_GA date=200605151000)
12:13:39,687 INFO  [Server] Home Dir: C:\download\jboss-4.0.4.GA
12:13:39,687 INFO  [Server] Home URL: file:/C:/download/jboss-4.0.4.GA/
12:13:39,687 INFO  [Server] Patch URL: null
12:13:39,687 INFO  [Server] Server Name: all2
12:13:39,703 INFO  [Server] Server Home Dir: C:\download\jboss-4.0.4.GA\server\a
ll2
12:13:39,703 INFO  [Server] Server Home URL: file:/C:/download/jboss-4.0.4.GA/se
rver/all2/
12:13:39,703 INFO  [Server] Server Log Dir: C:\download\jboss-4.0.4.GA\server\al
l2\log
12:13:39,703 INFO  [Server] Server Temp Dir: C:\download\jboss-4.0.4.GA\server\a
ll2\tmp
12:13:39,703 INFO  [Server] Root Deployment Filename: jboss-service.xml
12:13:40,062 INFO  [ServerInfo] Java version: 1.5.0_04,Sun Microsystems Inc.
12:13:40,062 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_04-b05
,Sun Microsystems Inc.
12:13:40,062 INFO  [ServerInfo] OS-System: Windows 2000 5.0,x86
12:13:40,453 INFO  [Server] Core system initialized
12:13:42,265 INFO  [ServiceBindingManager] Initializing store
12:13:42,265 INFO  [ServiceBindingManager] Using StoreURL: file:/C:/download/jbo
ss-4.0.4.GA/docs/examples/binding-manager/sample-bindings.xml
12:13:42,890 INFO  [WebService] Using RMI server codebase: http://PCL0003215:818
3/
12:13:42,921 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
12:13:43,156 INFO  [NamingService] JNDI bootstrap JNP=/0.0.0.0:1199, RMI=/0.0.0.
0:1198, backlog=50, no client SocketFactory, Server SocketFactory=class org.jbos
s.net.sockets.DefaultSocketFactory
12:13:46,609 INFO  [SubscriptionManager] Bound event dispatcher to java:/EventDi
spatcher
12:13:47,531 WARN  [ServiceController] Problem starting service jboss.jmx:name=S
nmpAgent,service=snmp,type=adaptor
java.net.BindException: Address already in use: Cannot bind
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82
)
at java.net.DatagramSocket.bind(DatagramSocket.java:368)
at java.net.DatagramSocket.(DatagramSocket.java:210)
at java.net.DatagramSocket.(DatagramSocket.java:261)
at org.opennms.protocols.snmp.SnmpPortal.(SnmpPortal.java:295)
at org.opennms.protocols.snmp.SnmpPortal.(SnmpPortal.java:257)
at org.opennms.protocols.snmp.SnmpAgentSession.(SnmpAgentSession.j
ava:369)
at org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService.startAgent(SnmpAgen
tService.java:587)
at org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService.startService(SnmpAg
entService.java:506)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  

[JBoss-user] [Installation, Configuration & Deployment] - 4.0.4GA bug port conflict snmp

2006-05-25 Thread chrisbitmead

I'm having a problem that looks exactly like this bug:

http://jira.jboss.com/jira/browse/JBAS-2911

Except that I'm using the binding manager to map ports instead of the -b flag 
with multiple IP addresses, and I'm getting the port conflict on snmp. 

Is this a known problem? Anybody else seeing this problem?





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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946704


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - JBoss-4.0.4GA StateManager NOTYETINSTALLED

2006-05-17 Thread chrisbitmead
I'm going to ask and answer my own question because this took me a while to 
deal with and it might help someone else.

When upgrading from 4.0.3SP1 to 4.0.4GA, and when using Oracle instead of HSQL, 
it looks like the example oracle-jdbc3-service.xml is no longer supplied, and 
the 4.0.3SP1 version no longer works. So you need to use instead the 
oracle-jdbc2-service.xml but don't deploy it in deploy/jms but rather in 
deploy-haslington/jms.

Then don't delete hssqldb-state-service.xml, because in 4.0.4GA it is now 
needed, but you may want to rename it to be oracle-state-service.xml.

Also on a different note, jbossall-client.jar no longer contains the servlet 
stuff, but you have to add javax.servlet.jar to your development environment.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944452


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Changing servers while running

2006-05-07 Thread chrisbitmead

I have an app that needs to change the server it is talking to mid way through 
running. So the program disconnects, changes the java.naming.provider.url 
System property to  something else and creates a new InitialContext(). Trouble 
is, it seems to keep talking to the old server. So I thought instead I'll 
create a Hashtable of variables and pass that to the InitialContext constructor 
that takes a Hashtable. That doesn't seem to help either.

Any suggestions?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941754


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: multiple jbosses, keeps swapping databases

2006-05-01 Thread chrisbitmead
No, nothing at all is changing in the app.

I mean, I can start up the app, and it talks to Jboss "A" and database "X".

Now I start up Jboss "B" which is configured for database "Y".

Now while Jboss "B" is in the process of starting up, I start my app multiple 
times. I can start it up half a dozen times talking to the correct DB, but then 
after a minute obviously something in the start up process has screwed up, and 
maybe the 7th time I start the app, suddenly now it is talking to the wrong 
database. Nothing whatsoever has changed in the client app. Something is 
changing during the startup of the second JBoss.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940564


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - multiple jbosses, keeps swapping databases

2006-04-30 Thread chrisbitmead

I'm using the port-bindings.xml method to have two jbosses running on the same 
machine. Each jboss talks to a different oracle database and has a different 
database in its XXX-ds.xml. However both use the same datasource names.

If I start jboss instance "A" it talks to database "X". But now if I start 
jboss instance "B" (which is supposed to talk to database "Y", and access jboss 
instance "A", now instance "A" is talking to database "Y".

In other words, starting off the second jboss instance seems to make the first 
jboss instance swap databases.

Now, both jboss instances' datasources are named the same thing, but I wouldn't 
have thought they ought to conflict, but apparently they are. Surely I don't 
have to have different datasource names do I? The datasource names are hard 
coded into the application.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940415


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Proxy Server and EJBs - confused.

2006-03-20 Thread chrisbitmead
I tried that. It doesn't work. It still tries to talk directly to the site and 
ignores the proxy.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931455


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Proxy Server and EJBs - confused.

2006-03-15 Thread chrisbitmead
I'm still pretty confused about how to get JBOSS ejbs to talk through a http 
proxy and so on.

I understand about setting these properties, that's fine:

ava.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=http://myhost.com:80/invoker/JNDIFactory

But surely there must be somewhere to tell the JBOSS client where to find the 
proxy server. The java.naming.provider.url contains the internet address of the 
jboss server, but surely we need to tell it where the proxy server and port 
number is that it needs to talk through to access the server.

The other thing I don't understand is if there is something else that needs to 
be changed to get the actual EJBs to talk http protocol. The above config makes 
JNDI talk http, but is there another change to make the EJBs talk it as well, 
or does the above achieve the whole thing?

I'm finding the JBOSS documentation lacking in this area. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930481


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Proxy Server and EJBs - confused.

2006-03-08 Thread chrisbitmead

I'm still pretty confused about how to get JBOSS ejbs to talk through a http 
proxy and so on.

I understand about setting these properties, that's fine:

ava.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=http://myhost.com:80/invoker/JNDIFactory

But surely there must be somewhere to tell the JBOSS client where to find the 
proxy server.  The java.naming.provider.url contains the internet address of 
the jboss server, but surely we need to tell it where the proxy server and port 
number is that it needs to talk through to access the server.

The other thing I don't understand is if there is something else that needs to 
be changed to get the actual EJBs to talk http protocol. The above config makes 
JNDI talk http, but is there another change to make the EJBs talk it as well, 
or does the above achieve the whole thing?

I'm finding the JBOSS documentation lacking in this area.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928920


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: The insert-after-ejb-post-create plus sequence problem -

2006-01-19 Thread chrisbitmead
I havn't found a solution, I don't think there is any solution, I've tried 
about half a dozen approaches. It seems to me the EJB 2.0 spec is fundamentally 
broken in disallowing the setting of relationships, and jboss is broken in that 
the insert-after-ejb-post-create work around doesn't work. (I don't like the 
insert-after-ejb-post-create work around anyway, because it means the 
application can't work unless the jboss installation is modified. You can't 
just drop an ear into a jboss install and get it to work.)

I wonder if EJB 3.0 is better?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918549


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - The insert-after-ejb-post-create plus sequence problem - HEL

2006-01-17 Thread chrisbitmead

I have a CMR where the foreign key is NOT NULL. So I must turn on the 
insert-after-ejb-post-create option in standardjboss.xml. However I also have 
auto generated primary keys from oracle sequences. So now I get the error 
"Primary key for created instance is null", presumably because the ejb 
container can't cope with not getting a primary key as soon as ejbCreate 
completes.

What is the solution?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918000


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Packaging problem

2006-01-11 Thread chrisbitmead

I'm developing an EJB app with a Webstart client that talks to the EJB. The 
webstart client is deployed inside the .war inside the .ear so that it can be 
accessed over the web.

The problem is that in eclipse if I go "Run packaging" it re-creates the 
myapp-ejb-client.jar and immediately packages up the .war file without giving 
me a chance to sign the jar, thus the webstart app doesn't work.

I need some way either to run the packaging in two steps so I can sign it 
manually, or else a way to have eclipse run the signing process during the 
packaging. Any suggestions?



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917063


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Cannot start as Java Service

2006-01-11 Thread chrisbitmead
I can't get JBoss as a service working. This is my install script:

set NAME=JBossService
set JS=c:\downloads\JavaService
set JB=c:\jboss-4.0.3SP1
set JBI=%JB%\server\all
set JBBIN=%JB%\bin
set JDK=c:\jdk1.5.0_06
set JBEXE=%JBI%\%NAME%.exe

copy %JS%\JavaService.exe %JBEXE%
net stop %NAME%
%JBEXE% -uninstall %NAME%
%JBEXE% -install %NAME% %JDK%\jre\bin\client\jvm.dll 
-Djava.class.path=%JDK%\lib\tools.jar;%JBBIN%\run.jar -start org.jboss.Main 
-stop org.jboss.Main -method systemExit -out %JBBIN%\stdout.log -err 
%JBBIN%\stderr.log -current %JBBIN% -manual

When run it says it is successfully installed.  But when I try and start the 
service it says "Could not start the JBossService on the Local Computer. The 
service did not return an error". The stdout.log and stderr.log are not 
created. JBoss can start fine from the run.bat script. I've checked and double 
checked all the paths and I'm stumped for what to try next.




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917030


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: JNDI over HTTP - can't get it to work

2006-01-10 Thread chrisbitmead
Hmm, I see that if I change the jndi.properties on the client to use http, but 
leave the server .ear jndi.properties as standard, then it works. Could it be 
that the server .ear cannot access jndi via http, yet the client can? Seems 
that way. Not sure why. I guess it is ok, there is no reason for the server to 
use http.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916805


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: JNDI over HTTP - can't get it to work

2006-01-10 Thread chrisbitmead

My server.log contains the following. I have no idea if it relates to my 
problem. I can't see anything in any config that would cause it.

2006-01-11 14:29:45,919 DEBUG [org.jnp.interfaces.NamingContext] Failed to 
connect to http:1099

javax.naming.CommunicationException: Failed to connect to server http:1099 
[Root exception is javax.naming.ServiceUnavailableException: Failed to connect 
to server http:1099 [Root exception is java.net.UnknownHostException: http: 
http]]

at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:254)

at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1370)

at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:469)

at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:462)



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916801


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: JNDI over HTTP - can't get it to work

2006-01-10 Thread chrisbitmead
This is the full stack trace. The fact that http servlet is in the middle of 
the stack trace seems to indicate I guess that the servlet proxy is getting 
called, and then what happens, I don't know...

javax.naming.NameNotFoundException: SpFinOtherSession not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
at org.jnp.server.NamingServer.getObject(NamingServer.java:528)
at org.jnp.server.NamingServer.lookup(NamingServer.java:281)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.naming.NamingService.invoke(NamingService.java:327)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.invocation.http.servlet.InvokerServlet.processRequest(InvokerServlet.java:147)
at 
org.jboss.invocation.http.servlet.InvokerServlet.doPost(InvokerServlet.java:209)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916799


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - JNDI over HTTP - can't get it to work

2006-01-10 Thread chrisbitmead

I have an EJB application working on my machine in Eclipse. Both the .ear file 
and my client side work with a jndi.properties like this:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=jnp://localhost:1099

but I want to get it working with HTTP protocol. So I changed my 
jndi.properties to be this in both .ear and my client app, and re-installed:

java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=http://127.0.0.1:8080/invoker/JNDIFactory

But now I get an exception in the client:
javax.naming.NameNotFoundException: SpFinOtherSession not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
at org.jnp.server.NamingServer.getObject(NamingServer.java:528)
at org.jnp.server.NamingServer.lookup(NamingServer.java:281)


where SpFinOtherSession is one of my ejbs. But jboss started up correctly, with 
all the EJBS installed, and I can see this EJB in the JMX console correctly.

If I visit http://127.0.0.1:8080/invoker/JNDIFactory in a browser it has some 
x-java-serialised-object there, so that seems to be doing something.

Was there something else I have to change to get this working? I've read 
everything on the internet on this topic including the manual about 10 times 
and I can't figure it out. Do I have to do something special to enable the http 
forwarding in Jboss?



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916792


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Relationships - NullPointerException

2006-01-03 Thread chrisbitmead
Okay, it seems the problem was that I can't have relationships with remote 
interfaces. I had to change them to local interfaces. Why JBoss can't give a 
better error than NullPointerException I don't know.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915407


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Relationships - NullPointerException

2006-01-02 Thread chrisbitmead

I'm getting the following error in JBoss:

3:48:16,010 ERROR [LogInterceptor] TransactionRolledbackException in method: 
public abstract au.gov.ag.npc.financials.FinancialsDetailsLine 
au.gov.ag.npc.financials.FinancialReportDetail.gtFinancialsDetailsLine() throws 
java.rmi.RemoteException, causedBy:
java.lang.NullPointerException
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory$2.get(BaseLocalProxyFactory.java:490)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory$ClassLoaderAction$UTIL.get(BaseLocalProxyFactory.java:466)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.getEJBLocalHome(BaseLocalProxyFactory.java:225)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getRelatedEntityByFK(JDBCCMRFieldBridge.java:774)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getInstanceValue(JDBCCMRFieldBridge.java:732)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getValue(JDBCCMRFieldBridge.java:669)
at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler$FieldGetInvoker.invoke(EntityBridgeInvocationHandler.java:133)
at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)
at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62)
at 
au.gov.ag.npc.financials.FinancialReportDetailBeanCMP$Proxy.getSpAgreementSubmission()

I have two tables - FINANCIAL_REPORT_DETAIL that has a field SUBMISSSION_ID 
which is a  foreign key to the SP_AGREEMENT_SUBMISSION table.

my ejb-jar.xml contains:

  
  
SpAgreementSubmission-FinancialReportDetail
  
  
SpAgreementSubmission_has_FinancialReportDetail
  One
  
  SpAgreementSubmission
  
  
  
  
FinancialReportDetail_belongs_to_SpAgreementSubmission
  Many
  
  FinancialReportDetail
  
  
  spAgreementSubmission
  
  
   

My jbosscmp-jdbc.xml contains:

  
  
SpAgreementSubmission-FinancialReportDetail
  
  
SpAgreementSubmission_has_FinancialReportDetail
  
  
  submissionId
  SUBMISSION_ID
  
  
  
  
  
FinancialReportDetail_belongs_to_SpAgreementSubmission
  
   

The error occurs when I call getSpAgreementSubmission on a 
FinancialReportDetail object. There is an existing SP_AGREEMENT_SUBMISSION 
object for the particular FINANCIAL_REPORT_DETAIL object that I am calling it 
on - if that matters.


Trying to find out what is wrong is driving my crazy. Anybody see any problems 
with my config?


Here is the more complete stack trace:

13:48:16,010 ERROR [LogInterceptor] TransactionRolledbackException in method: 
public abstract au.gov.ag.npc.financials.FinancialsDetailsLine 
au.gov.ag.npc.financials.FinancialReportDetail.gtFinancialsDetailsLine() throws 
java.rmi.RemoteException, causedBy:
java.lang.NullPointerException
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory$2.get(BaseLocalProxyFactory.java:490)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory$ClassLoaderAction$UTIL.get(BaseLocalProxyFactory.java:466)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.getEJBLocalHome(BaseLocalProxyFactory.java:225)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getRelatedEntityByFK(JDBCCMRFieldBridge.java:774)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getInstanceValue(JDBCCMRFieldBridge.java:732)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getValue(JDBCCMRFieldBridge.java:669)
at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler$FieldGetInvoker.invoke(EntityBridgeInvocationHandler.java:133)
at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)
at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62)
at 
au.gov.ag.npc.financials.FinancialReportDetailBeanCMP$Proxy.getSpAgreementSubmission()
at 
au.gov.ag.npc.financials.FinancialReportDetailBeanCMP.gtFinancialsDetailsLine(FinancialReportDetailBeanCMP.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1174)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationI

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Relationships - NullPointerException

2006-01-02 Thread chrisbitmead

I'm having a ton of trouble getting a container managed relationship working. I 
am getting the following stack trace:

3:48:16,010 ERROR [LogInterceptor] TransactionRolledbackException in method: 
public abstract au.gov.ag.npc.financials.FinancialsDetailsLine 
au.gov.ag.npc.financials.FinancialReportDetail.gtFinancialsDetailsLine() throws 
java.rmi.RemoteException, causedBy:
java.lang.NullPointerException
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory$2.get(BaseLocalProxyFactory.java:490)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory$ClassLoaderAction$UTIL.get(BaseLocalProxyFactory.java:466)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.getEJBLocalHome(BaseLocalProxyFactory.java:225)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getRelatedEntityByFK(JDBCCMRFieldBridge.java:774)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getInstanceValue(JDBCCMRFieldBridge.java:732)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getValue(JDBCCMRFieldBridge.java:669)
at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler$FieldGetInvoker.invoke(EntityBridgeInvocationHandler.java:133)
at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)
at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62)
at 
au.gov.ag.npc.financials.FinancialReportDetailBeanCMP$Proxy.getSpAgreementSubmission()
at 
au.gov.ag.npc.financials.FinancialReportDetailBeanCMP.gtFinancialsDetailsLine(FinancialReportDetailBeanCMP.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)


I have two tables - FINANCIAL_REPORT_DETAIL that has a field SUBMISSION_ID 
which is a foreign key to the SP_AGREEMENT_SUBMISSION table.

My ejb-jar.xml has this:

 
  
SpAgreementSubmission-FinancialReportDetail
  
  
SpAgreementSubmission_has_FinancialReportDetail
  One
  
  SpAgreementSubmission
  
  
  
  
FinancialReportDetail_belongs_to_SpAgreementSubmission
  Many
  
  FinancialReportDetail
  
  
  spAgreementSubmission
  
  
   

and my jbosscmp-jdbc.xml has this:

 
  
SpAgreementSubmission-FinancialReportDetail
  
  
SpAgreementSubmission_has_FinancialReportDetail
  
  
  submissionId
  SUBMISSION_ID
  
  
  
  
  
FinancialReportDetail_belongs_to_SpAgreementSubmission
  
   

The error occurs when I call getSpAgreementSubmission on a 
FinancialReportDetail object. The database does contain a record for the 
particular FINANCIAL_REPORT_DETAIL object in question, - if that matters.

Anybody have any ideas what is going wrong? Jboss mis-configurations and 
problems can be infuriating to find, and this one is driving me nuts.


The more complete stack trace is here:

13:48:16,010 ERROR [LogInterceptor] TransactionRolledbackException in method: 
public abstract au.gov.ag.npc.financials.FinancialsDetailsLine 
au.gov.ag.npc.financials.FinancialReportDetail.gtFinancialsDetailsLine() throws 
java.rmi.RemoteException, causedBy:
java.lang.NullPointerException
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory$2.get(BaseLocalProxyFactory.java:490)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory$ClassLoaderAction$UTIL.get(BaseLocalProxyFactory.java:466)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.getEJBLocalHome(BaseLocalProxyFactory.java:225)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getRelatedEntityByFK(JDBCCMRFieldBridge.java:774)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getInstanceValue(JDBCCMRFieldBridge.java:732)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.getValue(JDBCCMRFieldBridge.java:669)
at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler$FieldGetInvoker.invoke(EntityBridgeInvocationHandler.java:133)
at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)
at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62)
at 
au.gov.ag.npc.financials.FinancialReportDetailBeanCMP$Proxy.getSpAgreementSubmission()
at 
au.gov.ag.npc.financials.FinancialReportDetailBeanCMP.gtFinancialsDetailsLin

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: ClassCastException: JDBCCMP1xFieldBridge

2005-11-10 Thread chrisbitmead
Ok, I found it. Darn that was hard to figure out. I had an ejb 1.0 DTD at the 
top of the ejb-jar xml, so it was getting confused between EJB 1 and EJB 2.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906744


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: ClassCastException: JDBCCMP1xFieldBridge

2005-11-10 Thread chrisbitmead
Ok, I found it. Darn that was hard to figure out. I had an ejb 1.0 DTD at the 
top of the ejb-jar xml, so it was getting confused between EJB 1 and EJB 2.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906739


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - CMP can't get working port from Borland - HELP!

2005-11-01 Thread chrisbitmead
Hi,

Trying to port an app that uses CMP to Jboss from Borland.

I've set up all the config files, ejb-jar.xml, jboss.xml, jbosscmp-jdbc.xml 
oracle-ds.xml. I start up the server and everything seems ok. The JMX console 
reports my beans are deployed etc.

Then I run my app which eventually gets to call findByPrimaryKey on one of my 
CMP objects and it returns javax.ejb.ObjectNotFoundException: No such entity!

I look at the jboss log file and it shows the SQL being executed which is 
perfectly fine. The row is definitely in the database, the key being passed is 
definitely correct from using the Eclipse debugger.

I just don't know how to diagnose a problem like this. I mean, I wonder if it 
is definitely executing the SQL on the correct oracle database, and not for 
example the HSSQL database. All the config I THINK points to the right place, 
but there is nothing in the log to say what is what.

I just don't know how to proceed on this. I've looked at these config files a 
hundred times. I've looked at all the details in the log. There isn't enough 
info to know where to go next. Help!


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904779


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - CMP can't get working port from Borland - HELP!

2005-11-01 Thread chrisbitmead
Hi,

Trying to port an app that uses CMP to Jboss from Borland.

I've set up all the config files, ejb-jar.xml, jboss.xml, jbosscmp-jdbc.xml 
oracle-ds.xml. I start up the server and everything seems ok. The JMX console 
reports my beans are deployed etc.

Then I run my app which eventually gets to call findByPrimaryKey on one of my 
CMP objects and it returns javax.ejb.ObjectNotFoundException: No such entity!

I look at the jboss log file and it shows the SQL being executed which is 
perfectly fine. The row is definitely in the database, the key being passed is 
definitely correct from using the Eclipse debugger.

I just don't know how to diagnose a problem like this. I mean, I wonder if it 
is definitely executing the SQL on the correct oracle database, and not for 
example the HSSQL database. All the config I THINK points to the right place, 
but there is nothing in the log to say what is what. 

I just don't know how to proceed on this. I've looked at these config files a 
hundred times. I've looked at all the details in the log. There isn't enough 
info to know where to go next. Help!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904777


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user