Re: Geronimo 2.1.2-SNAPSHOT Server Start-Up Failed

2008-07-07 Thread jklcom99

Yes, that was it.

Now it's not finding my config.properties file which is included in the
myApp.jar:
config.properties
Manifest.mf
persistence.xml
...

InputStream is = this.getClass().getResourceAsStream( "/" + bundleFileName
); 


 Starting myApp...10:03:22,072 FATAL [Server] Could not find bundle.
Name: config.properties apps.config.ConfigBundleException: Could not find
bundle. Name: config.properties

Thank you
-- 
View this message in context: 
http://www.nabble.com/Geronimo-2.1.2-SNAPSHOT-Server-Start-Up-Failed-tp18298989s134p18317837.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Geronimo 2.1.2-SNAPSHOT Server Start-Up Failed

2008-07-06 Thread Lin Sun
Hi,

Did you intend to use "tcp://localhost:8989" instead of the default
value "tcp://localhost:61616" for the ConnectionFactory's ServerUrl?
If you want to use a different port than the default port, you'll need
to update the geronimo_home/var/config/config_substitutions.properties
file accordingly.

HTH, Lin

On Sun, Jul 6, 2008 at 5:54 PM, jklcom99 <[EMAIL PROTECTED]> wrote:
>
> I added  
> and it was happy a little bit.
>
> but now I'm getting this error:
>
> I tried setting the port but still getting this error.
> Here's what I have in geronimo-ra.xml
>
> Thanks for your help.
>
>
>
>
>ConnectionFactory
> name="ServerUrl">tcp://localhost:8989
> name="UserName">**
> name="Password">**
> xmlns='http://geronimo.apache.org/xml/ns/naming-1.2'>
>DefaultWorkManager
>
>
>
>
>
>
> javax.jms.ConnectionFactory
>
>ConnectionFactory
>
> javax.jms.QueueConnectionFactory
>
> javax.jms.TopicConnectionFactory
>
>
>
>
>
>10
>0
>
>
>
>
>
>
>
>
>
> ERROR [MCFConnectionInterceptor] Error occurred creating
> ManagedConnection for
> [EMAIL PROTECTED]:
> Could not create connection.
> [java] at
> org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:112)
> [java] at
> org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:48)
> [java] at
> org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.getConnection(XAResourceInsertionInterceptor.java:41)
> ...
>
>
> [java] Caused by: javax.jms.JMSException: Could not connect to broker
> URL: tcp://localhost:8989. Reason: java.net.ConnectException: Connection
> refused: connect
> [java] at
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:33)
> [java] at
> org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:280)
> [java] at
> org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:168)
> [java] at
> org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:108)
> [java] at
> org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:102)
> [java] at
> org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:109)
> [java] ... 42 more
>
>
>
> Jacek Laskowski wrote:
>>
>> On Sun, Jul 6, 2008 at 7:22 AM, jklcom99 <[EMAIL PROTECTED]> wrote:
>>>
>>> I'm running 07/03 build
>>>
>>> [java] Booting Geronimo Kernel (in Java 1.6.0)...
>>
>> Change the JVM version and let us know how it goes. AFAIR, the CORBA
>> stuff was exactly what made us stay at Java SE 5.0-level.
>>
>> Jacek
>>
>> --
>> Jacek Laskowski
>> Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Geronimo-2.1.2-SNAPSHOT-Server-Start-Up-Failed-tp18298989s134p18307079.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


Re: Geronimo 2.1.2-SNAPSHOT Server Start-Up Failed

2008-07-06 Thread jklcom99

I added   
and it was happy a little bit.

but now I'm getting this error:

I tried setting the port but still getting this error.
Here's what I have in geronimo-ra.xml

Thanks for your help.




ConnectionFactory
tcp://localhost:8989
**
**

DefaultWorkManager





   
javax.jms.ConnectionFactory

ConnectionFactory
   
javax.jms.QueueConnectionFactory
   
javax.jms.TopicConnectionFactory





10
0









 ERROR [MCFConnectionInterceptor] Error occurred creating
ManagedConnection for
[EMAIL PROTECTED]:
Could not create connection.
 [java] at
org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:112)
 [java] at
org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:48)
 [java] at
org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.getConnection(XAResourceInsertionInterceptor.java:41)
...


 [java] Caused by: javax.jms.JMSException: Could not connect to broker
URL: tcp://localhost:8989. Reason: java.net.ConnectException: Connection
refused: connect
 [java] at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:33)
 [java] at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:280)
 [java] at
org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:168)
 [java] at
org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:108)
 [java] at
org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:102)
 [java] at
org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:109)
 [java] ... 42 more



Jacek Laskowski wrote:
> 
> On Sun, Jul 6, 2008 at 7:22 AM, jklcom99 <[EMAIL PROTECTED]> wrote:
>>
>> I'm running 07/03 build
>>
>> [java] Booting Geronimo Kernel (in Java 1.6.0)...
> 
> Change the JVM version and let us know how it goes. AFAIR, the CORBA
> stuff was exactly what made us stay at Java SE 5.0-level.
> 
> Jacek
> 
> -- 
> Jacek Laskowski
> Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Geronimo-2.1.2-SNAPSHOT-Server-Start-Up-Failed-tp18298989s134p18307079.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Geronimo 2.1.2-SNAPSHOT Server Start-Up Failed

2008-07-06 Thread Jacek Laskowski
On Sun, Jul 6, 2008 at 7:22 AM, jklcom99 <[EMAIL PROTECTED]> wrote:
>
> I'm running 07/03 build
>
> [java] Booting Geronimo Kernel (in Java 1.6.0)...

Change the JVM version and let us know how it goes. AFAIR, the CORBA
stuff was exactly what made us stay at Java SE 5.0-level.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl