[JBoss-user] [Installation & Configuration] - Re: Error DataSource Microsoft SQL Server 2000

2005-06-20 Thread Didi1976
You have forgotten the "/" so it should look like "java:/MSSQLDS"

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

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


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Help requried for JBoss 3.2.5 behind Firewall

2005-06-13 Thread Didi1976
You have to decide which EJBs are accessible from the "outside". For those EJBs 
you have to set the invoker. 

Entity Beans are normaly not accessed from any client, instead you use the 
session facade pattern. So you only need to set the invoker for those Session 
Beans not for the Entity Beans.

If you set the invoker-proxy-binding in the standardjboss.xml you are chaning 
that for all deployments. So if you are hosting different applications on your 
server you have to take care not to overwrite any defaults an other application 
relys on.

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Help requried for JBoss 3.2.5 behind Firewall

2005-06-13 Thread Didi1976
Specifying the HttpNamingContextFactory is only half the way. This only enables 
JNDI requests over HTTP.

Now you have to specify RMI over HTTP on your EJB in jboss.xml, e.g.:



  | 
  | 
  | 
  |   YourBean
  |   YourBeansJNDIName
  | 
  |   
  | 
  |   http
  |   YourBeansHTTPJNDIName
  | 
  |   
  | 
  | ...
  |   
  | 
  |   http
  |   jboss:service=invoker,type=http
  |   org.jboss.proxy.ejb.ProxyFactory
  |   
  | 
  |   
  | org.jboss.proxy.ejb.HomeInterceptor
  | org.jboss.proxy.SecurityInterceptor
  | 
org.jboss.proxy.TransactionInterceptor
  | 
org.jboss.invocation.InvokerInterceptor
  |   
  |   
  | 
org.jboss.proxy.ejb.StatefulSessionInterceptor
  | org.jboss.proxy.SecurityInterceptor
  | 
org.jboss.proxy.TransactionInterceptor
  | 
org.jboss.invocation.InvokerInterceptor
  |   
  | 
  |   
  | 
  |   
  | ...
  | 
  | 

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: jboss + debian

2005-06-06 Thread Didi1976
We use a wrapper to do that. Have a look at:

http://wrapper.tanukisoftware.org

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

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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB QL and time comparison

2005-02-10 Thread Didi1976
Try using java.sql.Timestamp instead of java.sql.Date. AFAIK Date sets the 
hour, minute, second, ... to 0 to be conform to the standard.

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

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


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBosss and Apache

2004-11-15 Thread Didi1976
Ok, the xml-part got lost by the forum ... and again

{Engine name="MainEngine" defaultHost="localhost" jvmRoute="node3" }
...
{/Engine}

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

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


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBosss and Apache

2004-11-15 Thread Didi1976
Sorry, don't know where to find the full document.

In short, the missing part is that you need to configure a clusterwide id for 
your tomcat. This is done by adding jvmRoute="..." to the engine-tag in your 
tomcat.

e.g.:


...


Have a look at the documentation from apache.org (don't know a direct link). 
There is no difference if you start Tomcat within JBoss or as an external 
process. The configuration is similar in both cases.

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

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


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBosss and Apache

2004-11-10 Thread Didi1976
Have a look at

http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss

or

http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss

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

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


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: jboss can be run without console mode?

2004-10-07 Thread Didi1976
Hi,

we are using http://wrapper.tanukisoftware.org.

This one has proofen to be running stable in production.

Regards,
Didi



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

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


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Fail Over best practice?

2004-08-05 Thread Didi1976
Hi,

are there any hints on setting up a fault tolerant system of JBoss servers.

We have an application with a Swing Client which uses RMIoverHTTPs to connect to the 
JBoss servers (we have three).

The distribution is done using WebStart. Caused by a lack of knowledge and money, we 
decided to add all three IPs to one DNS-Name.

The result is that if any one of the servers is down you may not connect correctly to 
the application.

One solution could be putting an Apache in front of these servers and using MOD_JK2 to 
connect to the JBoss/Tomcat.

An other one is using a hardware load balancer.

What other alternatives do I have? What are the pros/cons of such solutions?

Thanks,
Didi

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Jboss & Eclipse IDE

2004-06-17 Thread Didi1976
@raagav:
IMHO you have confused the versions of Eclipse and JBoss IDE. If you have Eclipse 
2.1.3 you need to download JBossIDE 1.2.3. 

The one you downloaded (1.2.330) is targeted for Eclipse 3.0 ... so it will not work 
with Eclipse 2.1.3

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

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


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JNDI and EJB over *Proxied* HTTP. How?

2004-06-16 Thread Didi1976
You can specify a proxy on startup of your fat-client using:

java -Dhttp.proxyHost=yourproxy -Dhttp.proxyPort=8080 YourClass

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

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


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: UsersRolesLoginModule AND CLIENT-CERT (desperately)

2004-05-26 Thread Didi1976
Hi,

I would suggest to write it yourself. As starting point just download the source of 
4.0.0DR4 and take CertRolesLoginModule and AbstractCertLoginModule. Try to backport 
them to run in 3.2.3.

The info is from the sources. I had to write a similar LoginModule for 3.2.1. My 
source is not that nice but it works for me:

  | package test;
  | 
  | import org.jboss.security.auth.spi.AbstractServerLoginModule;
  | import javax.security.auth.Subject;
  | import javax.security.auth.callback.*;
  | import javax.security.auth.login.*;
  | import java.util.Map;
  | import java.security.acl.Group;
  | import java.security.Principal;
  | import org.jboss.security.SimplePrincipal;
  | import org.jboss.security.SimpleGroup;
  | import java.security.cert.*;
  | import java.security.cert.*;
  | import org.apache.log4j.Logger;
  | 
  | /**
  |  * ClientCertificateLoginModule
  |  * Login Module which checks the supplied certificate
  |  * 
  |  * Usage within login-config.xml:
  |  * 
  |  *   
  |  *  
  |  * 
  |  *test
  |  * 
  |  *  
  |  *   
  |  * 
  |  * 
  |  * 
  |  * Copyright (c) 2002 SoftSolution EDV GmbH
  |  */
  | public class ClientCertificateLoginModule extends AbstractServerLoginModule
  | {
  |   private Principal identity;
  | 
  |   public void initialize(Subject subject, CallbackHandler callbackHandler,
  | Map sharedState, Map options)
  |   {
  | super.initialize(subject,callbackHandler,sharedState,options);
  | 
  | if( log.isDebugEnabled() )
  | {
  |   log.debug( "initialize" );
  |   log.debug( "subject=" + subject );
  |   log.debug( "callbackHandler=" + callbackHandler );
  |   log.debug( "sharedState=" + sharedState );
  |   log.debug( "options=" + options );
  | }
  | 
  | javax.security.auth.callback.NameCallback nameCb =
  | new javax.security.auth.callback.NameCallback("Name");
  | org.jboss.security.auth.callback.ObjectCallback objCb =
  | new org.jboss.security.auth.callback.ObjectCallback("Certificate Chain");
  | 
  | javax.security.auth.callback.Callback[] cbs =
  | new javax.security.auth.callback.Callback[2];
  | cbs[0] = nameCb;
  | cbs[1] = objCb;
  | 
  | try
  | {
  |   // Get the name and the certificates from the callback handler
  |   callbackHandler.handle(cbs);
  |   this.sharedState.put("javax.security.auth.login.name",nameCb.getName());
  |   
this.sharedState.put("javax.security.auth.login.password",objCb.getCredential());
  | }
  | catch( Exception e )
  | {
  |   log.error("Exception in initializing LoginModule",e);
  | }
  |   }
  | 
  | 
  |   public boolean login() throws LoginException
  |   {
  | // Check if the certificate is valid
  | java.security.cert.X509Certificate[] certs =
  | 
(java.security.cert.X509Certificate[])sharedState.get("javax.security.auth.login.password");
  | 
  | if( certs != null )
  | {
  |   try
  |   {
  | certs[0].checkValidity();
  | 
  | // Generate a Principal
  | String tmpString = String.valueOf(certs[0].getSubjectDN());
  | int cnIndex = tmpString.indexOf("CN=");
  | int cnIndexEnd = tmpString.indexOf(",",cnIndex);
  | if( cnIndexEnd > -1 )
  | {
  |   identity = new 
SimplePrincipal(tmpString.substring(cnIndex+3,cnIndexEnd));
  | }
  | else
  | {
  |   identity = new SimplePrincipal(tmpString.substring(cnIndex+3));
  | }
  | 
  | loginOk = true;
  |   }
  |   catch (CertificateExpiredException ex)
  |   {
  | log.info("Certificate expired " + certs[0].getSubjectDN(),ex);
  | loginOk = false;
  |   }
  |   catch (CertificateNotYetValidException ex)
  |   {
  | log.info("Certificate not yet valid " + certs[0].getSubjectDN(),ex);
  | loginOk = false;
  |   }
  | }
  | else
  | {
  |   identity = new 
SimplePrincipal(String.valueOf(options.get("unauthenticatedIdentity")));
  |   loginOk = true;
  | }
  | 
  | if( log.isDebugEnabled() )
  | {
  |   log.debug( "login ok=" + loginOk + " principal=" + identity);
  | }
  | 
  | return loginOk;
  |   }
  | 
  |   public Group[] getRoleSets()
  |   {
  | Group[] groups = null;
  | 
  | // set the groups of a user
  | groups = new Group[1];
  | SimpleGroup rolesGroup = new SimpleGroup("Roles");
  | rolesGroup.addMember(new SimplePrincipal("User"));
  | groups[0] = rolesGroup;
  | 
  | return groups;
  |   }
  | 
  |   public Principal getIdentity()
  |   {
  | return identity;
  |   }
  | }
  | 

Put it into your ejb.jar and add the lines to login-config.xml. That's all.

Hope my example helps. Just add the logic to get the correct roles. My example only 
checks if the certificate is valid. Play around and have fun with it.

Didi

View the

[JBoss-user] [Security & JAAS/JBoss] - Re: UsersRolesLoginModule AND CLIENT-CERT (desperately)

2004-05-26 Thread Didi1976
Hi,

which release do you use? Have a look at the 4.0.0DR4. There you will find a 
CertRolesLoginModule which should do exactly what you are looking for. 

I have not tried it but it should give you a hint.

Didi


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

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



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: JBOSS-JWS security problem

2004-05-10 Thread Didi1976
Did you sign the jar-files? You must also sign the jbossall-client.jar! The files 
distributed with jboss are not signed by default!

To get "all-permission", every jar-file within the jnlp-file must be signed. All files 
within one jnlp-file must be signed with the same certificate. If the jar-files are 
signed by different people, organisations, ... you need to group them according to 
that in different jnlp-files.

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: JBOSS startting problem

2004-03-24 Thread Didi1976
Hello,

just type: run -c epg

Regards,
Didi

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827216#3827216";>View 
the original post

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ejb and java web start problem

2004-03-23 Thread Didi1976
Here is an example of our JNLP-Files. We have signed the jbossall-client.jar and put 
it into an separate JNLP-File. In our case it is an application and not an applet so I 
do not know if that matters.

I hope that helps.


  | (?xml version="1.0" encoding="utf-8"?)
  | (jnlp 
  |   spec="1.0+" 
  |   codebase="$$codebase" 
  |   href="myapp.jnlp") 
  |   (information) 
  | (title)MyApp(/title) 
  | (vendor)Softsolution EDV GmbH(/vendor) 
  | (homepage href="index.html"/) 
  | (description)MyApp(/description) 
  | (description kind="short")MyDescription(/description) 
  | (icon href="image/soso.gif"/)
  | (icon kind="splash" href="image/splash.jpg"/)
  |   (/information) 
  | (security)
  | (all-permissions/)
  | (/security)
  | (resources)
  | (j2se version="1.4+" max-heap-size="256M"/)
  | (jar href="lib/myclient.jar" version="1.0"/)
  | (extension href="jbossclient.jnlp"/)
  | (/resources)
  | (application-desc main-class="at.softsolution.scd.MyApp"/)
  | (/jnlp)
  | 


  | (?xml version="1.0" encoding="utf-8"?)
  | (jnlp 
  |   spec="1.0+" 
  |   codebase="$$codebase" 
  |   href="jbossclient.jnlp") 
  |   (information) 
  | (title)JBoss Client Library(/title) 
  | (vendor)JBoss.org(/vendor) 
  | (homepage href="index.html"/) 
  | (description)JBoss Client Library(/description) 
  | (description kind="short")JBoss Client Library(/description) 
  |   (/information) 
  | (security)
  | (all-permissions/) 
  | (/security) 
  | (resources)
  | (j2se version="1.4+"/)
  | (jar href="lib/jbossall-client.jar" version="3.2.1"/)   
  | (jar href="lib/log4j.jar" version="3.2.1"/)
  | (/resources)
  | (component-desc/)
  | (/jnlp)
  | 

We are using the Servlet which is available from SUN to do version based distribution 
of the jar-Files. You can omit that if you don't need that part.

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827016#3827016";>View 
the original post

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: ejb and java web start problem

2004-03-22 Thread Didi1976
Did you also sign the jbossall-client.jar? Or did you include all classes in your 
jar-File?

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826839#3826839";>View 
the original post

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: How can I get the Eclipse?

2004-02-29 Thread Didi1976
You can download it at:

http://www.eclipse.org

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

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


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustering on HP-UX

2004-02-13 Thread Didi1976
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821374#3821374

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

What I forgot to post is how the story ended:



The problem seems to be my java version:

phohpux2:/opt/java1.4/bin#./java -version

java version "1.4.1.03"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1.03-030630-19:37)

Java HotSpot(TM) Server VM (build 1.4.1 1.4.1.03-030701-03:26-IA64N IA64, mixed)



I upgraded to:

phohpux1:/opt/java1.4/bin#./java -version

java version "1.4.2.01"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.01-040128-03:14)

Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.01-040128-09:53-IA64N IA64, mixed)



This fixed the problem with MulticastSockets but created some new ones ... now the 
UnifiedClassLoader3 is not working correctly but thats an other story ... *g*



Downgrading does the job (thats how I got JBoss up and running):

phohpux1:/opt/java1.3/bin#./java -version

java version "1.3.1.09"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.09-030418-12:59)

Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.09-_18_apr_2003_15_19 IA64, mixed)



My problem is that my application relies on some features of Java 1.4 ... :-(



Didi


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustering on HP-UX

2004-02-09 Thread Didi1976
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820700#3820700

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

phohpux1:/#ifconfig lan0

lan0: flags=843

inet 16.55.16.122 netmask fe00 broadcast 16.55.17.255



I would say multicast is enabled.



Didi


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustering on HP-UX

2004-02-09 Thread Didi1976
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820692#3820692

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

Don't know why but the forum lost some of the config-lines ...





 {!-- Name of the partition being built --}

{attribute name="PartitionName"}DefaultPartition{/attribute}

{!-- Determine if deadlock detection is enabled --}

{attribute name="DeadlockDetection"}False{/attribute}

{!-- The JavaGroups protocol configuration --}

{attribute name="PartitionConfig"}

  {Config}





I had to replace <> with {} to post the lines.






---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustering on HP-UX

2004-02-09 Thread Didi1976
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820690#3820690

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

Hi,



here is my ClusterPartition-part of my cluster-service.xml. It should look like the 
default one. The only thing I changed is the multicast address so I get a stand alone 
machine without changing my deployment descriptors. 





  

 



DefaultPartition



False





  



























  



  





Thanks,

Didi


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Clustering on HP-UX

2004-02-06 Thread Didi1976
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820445#3820445

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

Hi,



I am just trying to start JBoss 3.2.1 on my HP-UX but I am getting the following 
Exception on deployment of cluster-service.xml (this one is already running on my 
WinXP, its the file from the all-config):





2004-02-06 15:01:12,516 DEBUG [org.javagroups.DefaultPartition] [Fri Feb 6 15:01:12 
CET 2004] [ERROR] JChannel.connect(): exception: java.net.SocketException: Invalid 
argument

2004-02-06 15:01:12,518 ERROR [org.jboss.ha.framework.server.ClusterPartition] 
Starting failed

ChannelException: java.net.SocketException: Invalid argument

at org.javagroups.JChannel.connect(JChannel.java:214)

at 
org.jboss.ha.framework.server.ClusterPartition.startService(ClusterPartition.java:267)

at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)

at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)

at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)

at $Proxy11.start(Unknown Source)

at org.jboss.system.ServiceController.start(ServiceController.java:392)

at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

at $Proxy5.start(Unknown Source)

at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)

at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

at $Proxy7.deploy(Unknown Source)

at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)

at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)

at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)

at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)

at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)

at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)

at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)

at $Proxy0.start(Unknown Source)

at org.jboss.system.ServiceController.start(ServiceController.java:392)

at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)

at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)

at $Proxy5.start(Unknown Source)

at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)

at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)

at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:

[JBoss-user] [Installation & Configuration] - Re: How set the JBoss 3.2 in service of the Windows 2000?

2004-02-06 Thread Didi1976
View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820423#3820423

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

Hi,



have a look at:



http://www.alexandriasc.com/software/JavaService/index.html



That's the way we added JBoss to the services.



We have a small batch file which helps installing and uninstalling the service:



@echo off

if "%1" == "uninstall" goto uninstall

if "%1" == "-uninstall" goto uninstall

if "%1" == "" goto usage

if "%2" == "" goto usage

if "%3" == "" goto usage

if "%1" == "-help" goto usage

if "%1" == "-?" goto usage

if "%1" == "/?" goto usage





:install

JavaService.exe -install JBoss %1\jre\bin\%3\jvm.dll 
-Djava.class.path=%1\lib\tools.jar;%2\bin\run.jar -start org.jboss.Main -stop 
org.jboss.Main -method systemExit -out %2\bin\out.txt -current %2\bin

goto eof



:uninstall

JavaService.exe -uninstall JBoss

goto eof



:usage

echo  To Install JBoss 3.2 do

echo Usage: %0 jdk_home jboss_home (classic/hotspot/server)

echo NOTE: You MAY NOT use spaces in the path names. If you know how

echo to fix this, please tell me.

echo JDK 1.3 does not come with hotpot server by default, you must

echo install this seperately if you wish to use it.

echo Example: %0 c:\progra~1\jdk c:\progra~1\jboss30 hotspot

echo 



echo  To Uninstall JBoss 3.0 do

echo Usage: %0 uninstall

echo 



goto eof



:eof



Regards,

Didi


---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user