Rickard,

"Rickard wrote: "
>>  # JNP server configuration
>>jnp.port=1099
>>---
>>
>>Edit appropriately.

Thanks, but I figured that much out (changed jnp.port=2100), and still get
errors like this...

Any ideas?


thanks,
Jason

<<ERROR>>

[Naming] Starting
[Naming] Naming started on port 2100
[Naming] Started
[DataSource] Starting
[DataSource] Stopped
[DataSource] javax.naming.ServiceUnavailableException: Connection refused:
no fu
rther information.  Root exception is java.net.ConnectException: Connection
refu
sed: no further information
[DataSource]    at java.net.PlainSocketImpl.socketConnect(Native Method)
[DataSource]    at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
[DataSource]    at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:125)
[DataSource]    at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
[DataSource]    at java.net.Socket.<init>(Socket.java:273)
[DataSource]    at java.net.Socket.<init>(Socket.java:100)
[DataSource]    at
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:
503)
[DataSource]    at
org.jnp.interfaces.NamingContext.bind(NamingContext.java:117)

[DataSource]    at
org.jnp.interfaces.NamingContext.bind(NamingContext.java:110)

[DataSource]    at javax.naming.InitialContext.bind(InitialContext.java:358)
[DataSource]    at
org.jboss.jdbc.DataSourceImpl.startService(DataSourceImpl.jav
a:98)
[DataSource]    at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.
java:69)
[DataSource]    at
org.jboss.util.ServiceMBeanSupport.preRegister(ServiceMBeanSu
pport.java:110)
[DataSource]    at java.lang.reflect.Method.invoke(Native Method)
[DataSource]    at
javax.management.MBeanServer.preRegisterInvoker(MBeanServer.j
ava:2253)
[DataSource]    at
javax.management.MBeanServer.createMBean(MBeanServer.java:721
)
[DataSource]    at
javax.management.loading.MLet.getMBeansFromURL(MLet.java:385)

[DataSource]    at
javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)

[DataSource]    at org.jboss.Main.run(Main.java:90)
[DataSource]    at org.jboss.Main$1.run(Main.java:62)
[DataSource]    at java.security.AccessController.doPrivileged(Native
Method)
[DataSource]    at org.jboss.Main.main(Main.java:58)
[Auto deploy] Watching E:\jboss\deploy
[Auto deploy] Auto deploy of file:/E:/jboss/deploy/ejbc-AccountMgr.jar
[Container factory] Deploying:file:/E:/jboss/deploy/ejbc-AccountMgr.jar
[Container factory] Deploying net.ejip.ejb.AccountMgr
[Container factory] Started: net.ejip.ejb.AccountMgr
javax.naming.ServiceUnavailableException: Connection refused: no further
informa
tion.  Root exception is        at
java.net.PlainSocketImpl.socketConnect(Native
 Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
        at java.net.Socket.<init>(Socket.java:273)
        at java.net.Socket.<init>(Socket.java:100)
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:503)
        at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:76)
        at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:69)
        at javax.naming.InitialContext.rebind(InitialContext.java:366)
        at org.jboss.ejb.ContainerFactory.rebind(ContainerFactory.java:357)
        at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:220)
        at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:84)
        at java.lang.reflect.Method.invoke(Native Method)
        at javax.management.MBeanServer.invoke(MBeanServer.java:1635)
        at javax.management.MBeanServer.invoke(MBeanServer.java:1501)
        at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:139)
        at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:224)
        at org.jboss.ejb.AutoDeployer.preRegister(AutoDeployer.java:156)
        at java.lang.reflect.Method.invoke(Native Method)
        at
javax.management.MBeanServer.preRegisterInvoker(MBeanServer.java:2253
)
        at javax.management.MBeanServer.createMBean(MBeanServer.java:721)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:385)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)
        at org.jboss.Main.run(Main.java:90)
        at org.jboss.Main$1.run(Main.java:62)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.Main.main(Main.java:58)
javax.naming.ServiceUnavailableException: Connection refused: no further
informa
tion.  Root exception is java.net.ConnectException: Connection refused: no
furth
er information
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
        at java.net.Socket.<init>(Socket.java:273)
        at java.net.Socket.<init>(Socket.java:100)
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:503)
        at org.jnp.interfaces.NamingContext.bind(NamingContext.java:117)
        at org.jnp.interfaces.NamingContext.bind(NamingContext.java:110)
        at javax.naming.InitialContext.bind(InitialContext.java:358)
        at
org.jboss.jdbc.DataSourceImpl.startService(DataSourceImpl.java:98)
        at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:69)

        at
org.jboss.util.ServiceMBeanSupport.preRegister(ServiceMBeanSupport.ja
va:110)
        at java.lang.reflect.Method.invoke(Native Method)
        at
javax.management.MBeanServer.preRegisterInvoker(MBeanServer.java:2253
)
        at javax.management.MBeanServer.createMBean(MBeanServer.java:721)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:385)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)
        at org.jboss.Main.run(Main.java:90)
        at org.jboss.Main$1.run(Main.java:62)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.Main.main(Main.java:58)
[Container factory] java.net.ConnectException: Connection refused: no
further in
formation
[Auto deploy] Deployment failed:file:/E:/jboss/deploy/ejbc-AccountMgr.jar
[Auto deploy] javax.naming.ServiceUnavailableException: Connection refused:
no f
urther information.  Root exception is java.net.ConnectException: Connection
ref
used: no further information
[Auto deploy]   at java.net.PlainSocketImpl.socketConnect(Native Method)
[Auto deploy]   at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
[Auto deploy]   at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.jav
a:125)
[Auto deploy]   at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
[Auto deploy]   at java.net.Socket.<init>(Socket.java:273)
[Auto deploy]   at java.net.Socket.<init>(Socket.java:100)
[Auto deploy]   at
org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:
503)
[Auto deploy]   at
org.jnp.interfaces.NamingContext.rebind(NamingContext.java:76
)
[Auto deploy]   at
org.jnp.interfaces.NamingContext.rebind(NamingContext.java:69
)
[Auto deploy]   at
javax.naming.InitialContext.rebind(InitialContext.java:366)
[Auto deploy]   at
org.jboss.ejb.ContainerFactory.rebind(ContainerFactory.java:3
57)
[Auto deploy]   at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:2
20)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rickard �berg
Sent: Tuesday, May 16, 2000 12:38 AM
To: jBoss
Subject: Re: [jBoss-User] changing naming port in Jboss2.0 from 1099?


Hey

"Jason A. Westra" wrote:
>
> This was a way to change the port in an earlier version...
>
> change property -
> >> org.ejboss.naming.spi.rmi.port=XXXX in conf/system.properties
>
> Anybody know how to in JBoss 2.0?

I will add proper configuration methods later on, but for now you can
put this into /lib/ext/jnp.properties:
---
# JNP server configuration
jnp.port=1099
---

Edit appropriately.

/Rickard

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.ejboss.org
http://www.dreambean.com


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to