[JBoss-user] [JBoss Eclipse IDE (users)] - JBoss Server main thread suspended with JBoss IDE

2006-01-03 Thread infectedrhythms
Every time I start JBoss through my server navigator at this exact point: 

09:44:57,015 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 
'java:DefaultDS'

... the main thread gets suspended for an SQLException. All I have to do is 
press the resume button a few times and I can finally have JBoss startup

Anoying if you ask me. Is there a way to get rid of this issue?

This is the debug stack I get...

Thread [main] (Suspended (exception SQLException))
Util.throwError(Result) line: not available
jdbcPreparedStatement.executeUpdate() line: not available [local 
variables unavailable]
WrappedPreparedStatement.executeUpdate() line: 227
JDBCStateManager.initDB() line: 445
JDBCStateManager.startService() line: 399
JDBCStateManager(ServiceMBeanSupport).jbossInternalStart() line: 274
JDBCStateManager(ServiceMBeanSupport).jbossInternalLifecycle(String) 
line: 230
GeneratedMethodAccessor42.invoke(Object, Object[]) line: not available
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 585
ReflectedDispatcher.invoke(Invocation) line: 141
Invocation.dispatch() line: 80
Invocation.invoke() line: 72
XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 
245
MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 644
ServiceController$ServiceProxy.invoke(Object, Method, Object[]) line: 
943
$Proxy0.start() line: not available
ServiceController.start(ObjectName) line: 428
ServiceController.start(ObjectName) line: 446
ServiceController.start(ObjectName) line: 446
ServiceController.start(ObjectName) line: 446
ServiceController.start(ObjectName) line: 446
ServiceController.start(ObjectName) line: 446
GeneratedMethodAccessor9.invoke(Object, Object[]) line: not available
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 585
ReflectedDispatcher.invoke(Invocation) line: 141
Invocation.dispatch() line: 80
Invocation.invoke() line: 72
XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 
245
MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 644
MBeanProxyExt.invoke(Object, Method, Object[]) line: 176
$Proxy4.start(ObjectName) line: not available
SARDeployer.start(DeploymentInfo) line: 285
NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not 
available [native method]
NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 585
ReflectedDispatcher.invoke(Invocation) line: 141
Invocation.dispatch() line: 80
NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 118
Invocation.invoke() line: 74
ModelMBeanOperationInterceptor.invoke(Invocation) line: 127
Invocation.invoke() line: 74
XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 
245
MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 644
JMXInvocationHandler.invoke(Object, Method, Object[]) line: 273
$Proxy38.start(DeploymentInfo) line: not available
XSLSubDeployer.start(DeploymentInfo) line: 185
MainDeployer.start(DeploymentInfo) line: 989
MainDeployer.deploy(DeploymentInfo) line: 790
MainDeployer.deploy(URL) line: 753
GeneratedMethodAccessor50.invoke(Object, Object[]) line: not available
DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
Method.invoke(Object, Object...) line: 585
ReflectedDispatcher.invoke(Invocation) line: 141
Invocation.dispatch() line: 80
NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 118
Invocation.invoke() line: 74
ModelMBeanOperationInterceptor.invoke(Invocation) line: 127
Invocation.invoke() line: 74
XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 
245
MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 644
MBeanProxyExt.invoke(Object, Method, Object[]) line: 176
$Proxy9.deploy(URL) line: not available
URLDeploymentScanner.deploy(URLDeploymentScanner$DeployedURL) line: 319
URLDeploymentScanner.scan() line: 507
AbstractDeploymentScanner$ScannerThread.doScan() line: 192
URLDeploymentScanner(AbstractDeploymentScanner).startService() line: 265
URLDeploymentScanner(ServiceMBeanSupport).jbossInternalStart() line: 274

URLDeploymentScanner(ServiceMBeanSupport).jbossInternalLifecycle(String) line: 
230
GeneratedMethodAccessor4

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Internet Explorer possibly hangs with Keep-Alive?

2005-07-18 Thread infectedrhythms
Maybe it's been documented...

Here is the scenario...

In my web app I pop-up a window with the wimpy flash player, which streams an 
mp3 from my JBoss 4.0.x server. Now as the mp3 continues to stream I would like 
to continue navigating my site, but no matter what link I click I.E does 
nothing. In fire fox I have no problem...

To me this looks like a Keep-Alive issue? If I.E 6.0.x is using one connection 
with Keep-Alive that means that the mp3 request will have to terminate before 
another request can be made?

If this is the case, can the issue be resolved?

Though it doesn' t happen all the time could be the way WinInet or WinHTTP if 
used the way the handle connections...

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

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


---
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] - Unknowhost exceptions when starting up...

2005-06-20 Thread infectedrhythms
Am getting alot of unknowhost failures and service failures namely because of 
the host...

ObjectName: jboss:service=invoker,type=http,target=Naming,readonly=true
  State: FAILED
  Reason: java.net.UnknownHostException: blue: blue

Is there something i need to configre on my Linux box! If so what? And is there 
any explanationsof how to do so somewhere?

Java version: 1.5.0_03,Sun Microsystems Inc.
Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b0$
OS-System: Linux 2.4.27-2-386,i386

Thanks


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

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


---
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] [HTTPD, Servlets & JSP] - Where is the session instantiated...

2005-06-01 Thread infectedrhythms
When a jsp gets compiled to a servlet... I noticed...

Httpsession session = null;

and

session = pageContext.getSession();

But where is the session object instantiated?

Thanks

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Ideas need for a service.

2005-04-21 Thread infectedrhythms
lol It's been a while I havent touched this... :P

But my services are synchronous...

Bassically some "client" computer connects to them sends a request they process 
the request with a 3rd party connecting to them externally, either through 
http, tcp/ip or any protocol required and they finally respond back to the 
client.

This is also realtime, meaning the "client" is expecting a response right away.

If I rethink it over now... I would implement them as simple servlets with an 
XMLRPC interface or something to that extent. Like this I wouldn't have to 
worry about life cycle management etc... And web apps can be monitored as well, 
servlets can be reloaded etc... So it's all good.

Thanks

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

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


---
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Retriving principals after authentication.

2004-12-28 Thread infectedrhythms
it's request.getUserPrincipal().getName()

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Retriving principals after authentication.

2004-12-28 Thread infectedrhythms
According to...

http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequest.html

There is no getPrincipal()


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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Retriving principals after authentication.

2004-12-28 Thread infectedrhythms
Still no go!

Same error

request.getPrincipal().getName()

Unresolved symbol

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Retriving principals after authentication.

2004-12-28 Thread infectedrhythms
in fact i looked at it through the eclipse code completion! and i didnt get the 
methodname getPrincipal!

But i will try this!

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Retriving principals after authentication.

2004-12-27 Thread infectedrhythms
Sorry more specifically, I would like to know the username (PrincipalID) that 
is loged in to my web site, so i can use that PrincipalID to query the DB for 
additional information.

As sugested in the other post, request.getPrincipal.getName(), throws an 
exception as shown in the previous post.

I also wanted to do this through filter so I can create a bean and pass it 
along through a session, so i wont have to query the DB for the extra info 
again.

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Retriving principals after authentication.

2004-12-27 Thread infectedrhythms
Am trying this as I need it in my web container not ejb...

request.getPrincipal.getName()

But i get...

An error occurred at line: 10 in the jsp file: /artists/profile_form.jsp
Generated servlet error:
D:\jboss-4.0.0\server\default\work\jboss.web\localhost\mamoth\org\apache\jsp\artists\profile_005fform_jsp.java:52:
 cannot resolve symbol
symbol  : variable getPrincipal 
location: interface javax.servlet.http.HttpServletRequest
  out.print(request.getPrincipal.getName());
   ^
1 error

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Retriving principals after authentication.

2004-12-27 Thread infectedrhythms
Hi how would I go about retrieving the princiopals after login in my web app?

Bassically I would like to know the users PrincipaID (username) and roles.

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Sending e-mail from web apps?

2004-12-18 Thread infectedrhythms
Cool! It's true java mail can bind to jndi! Doh! :P

Commons mail, just offers some helper to create attachements, or html formatted 
e-mail etc...

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Sending e-mail from web apps?

2004-12-18 Thread infectedrhythms
Can i use the JBoss mail service to send e-mails?

Or do I have to import the javax.mail and jakarta commons mail packages to send 
e-mails from my web app?

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Getting DatabaseServerLoginModule to work, please help.

2004-12-16 Thread infectedrhythms
Hi am trying to configure bassic auth on my app... i get the browser window but 
i can't seem to login

login-config.xml

  | 
  |
  |   
  |  guest
  |  java:/MamothtDS
  |  select Password from 
Principals where PrincipalID=?
  |  select Role, RoleGroup from 
Roles where PrincipalID=?
  |   
  |
  | 
  | 

web.xml

  | 
  | Mamoth Blue
  | Mamoth Blue web site
  | 
  | 
  | index.jsp
  | 
  | 
  | 
  | DB Connection
  | jdbc/MamothDB
  | javax.sql.DataSource
  | Container
  | 
  | 
  | 
  | 
  | HtmlAdaptor
  | Mamoth Blue security.
  | /*
  | GET
  | POST
  | 
  | 
  | Artist
  | 
  | 
  | 
  | 
  | BASIC
  | Mamoth Blue
  | 
  | 
  | 
  | Artist
  | 
  | 
  | 
  | 

jboss-web.xml

  | 
  | /mamoth
  | 
  | jdbc/MamothDB
  | java:/jdbc/MamothDB
  |  
  | 
  | java:/jaas/mamoth
  | 
  | 

DB tables

  | CREATE TABLE `principals` (
  |   `PrincipalID` varchar(50) NOT NULL default '',
  |   `Password` varchar(50) NOT NULL default '',
  |   `Active` tinyint(1) NOT NULL default '0'
  | ) TYPE=MyISAM; 
  | 
  | # Host: localhost
  | # Database: mamoth
  | # Table: 'roles'
  | # 
  | CREATE TABLE `roles` (
  |   `PrincipalID` varchar(50) NOT NULL default '',
  |   `Role` varchar(50) NOT NULL default '',
  |   `RoleGroup` varchar(50) default '',
  |   PRIMARY KEY  (`PrincipalID`)
  | ) TYPE=MyISAM; 
  | 

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Servlet with broker pattern.

2004-12-16 Thread infectedrhythms
Hi, I would like to create servlet that receives a request and depending on the 
request, the servlet will forward the request to the appropriate "broker". The 
broker will take the request and send it to a 3rd party server.

It is important to note that the request is transmited to the 3rd party in 
real-time. Meaning the "broker" will receive a response from the 3rd party 
almost immediatly, give or take a few seconds.

Once the broker receives the response it will send it back to the servlet and 
the servlet will repsond to the client.

The servlet must be able to forward to one or many of the different brokers 
depending the request received. I.e: different brokers handle the request 
different and connect to various 3rd parties.

Also a broker must be added dynamicly/configured when there is anew party to 
connect to. The brokers don't have to be entire applications. They can be 
simple beans with an "execute" method which will connect to 3rd party, send, 
receive, disconnect from 3rd party and respond back to servlet. There is one or 
two cases where the "brokers" will have to be constatly connected to the 3rd 
party. They also must be multi threaded. I.e: The servlet should be able to 
send requests to any "broker" for each request it receives. All 3rd parties ar 
capable of handling multiple request at once...

Any one have any good ideas or somewhere to point me to?

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: ServerSocket MBean

2004-12-03 Thread infectedrhythms
So here goes...

I currently have some "services" application that run there own TCP/IP server 
socket. They use that socket to receive requests, process the request and 
respond back to the client. Bassically we design a very crewd RPC...

Now recently I started looking to maybe porting these application as JBoss 
MBean services...

So I was thinking maybe I could separate the server code of these "services" 
and have them share one server.

How would I go about implementing this? and would it be worthwile?

1- Create an MBean that creates a server. As service beging to create 
themselves, they register a handler with this MBean. When this MBean receives a 
request, it will pass therequest to the appropriate handler. The server will 
determine the handler through the incomming request

2- Create an MBean that creates a ServerSocket and passes it back to the 
requesting MBean. Personally I see this no different then  just creating the 
ServerSocket code in my actual services...

Thanks



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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - ServerSocket MBean

2004-12-02 Thread infectedrhythms
I think Dimitris is going to start hating me lol But then again I should have 
been maybe posting this question here or maybe someone can point put a good 
forum to go discuss this...

Am thinking I want to write a service that will offer server capabilities to 
all my other services and I would like to discuss a few design ideas with you 
guys.

Can any one help?

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Force client to send client certificate?

2004-12-02 Thread infectedrhythms
Thanks!

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Force client to send client certificate?

2004-12-02 Thread infectedrhythms
How can I configure my web app or server  to force a client to send a client 
certificate when trying to get my servlet?

Thanks?

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Ideas need for a service.

2004-12-01 Thread infectedrhythms
ok bassically this how my current "services" work. The ones I want to port.

On start up, they create a listening server on a specified port. Once they 
receive a connection they spawn a thread, read the incomming data and take some 
action and then respond back.

So every service that runs, will create it's own server on a specified port.

So I was thinking if I port 2-3 of these services and maybe more, to maybe have 
them share that one server. This way I can standarize the protocol used by all 
of them. It's a very crewd RPC.

Question is if I create a service that creates one server how would I forward 
the incomming data to the appropriate service and how would each service 
respond back to the client?

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Tracking HTTP request in logs.

2004-12-01 Thread infectedrhythms
Hi what do I have to do to track the individual http request sent to my server.

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: SSL exception possible JBoss service cached?

2004-12-01 Thread infectedrhythms
It's an SSL thing...

It looks as if the keystore doesnt get loaded for the path if there is no 
exchange of client certs.

Though it does care for the trusted cert.

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Is config cached with persistance?

2004-12-01 Thread infectedrhythms
Never mind! lol

It's an SSL thing...

It looks as if the keystore doesnt care for the path, if there is no exchange 
of client certs.

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Ideas need for a service.

2004-12-01 Thread infectedrhythms
Am pretty new to writting services and I think I finally have it down on how to 
create them, but I need some ideas for this one service I want to write and if 
it's worth writting. So am not sure if I can post this here or not... :D

For some legacy purposes, I want to write a TCP/IP ServerSocket service and 
would like to use it with my other services to give them server capabilities...

1- Should the service create one ServerSocket listening on one port and using 
some type of handler so the other services can register themselves and using 
some method to dispatch the incomming messages to the appropriate handler 
registered for each service?

2- Should the service create a ServerSocket on request by another service? I 
see this no different then just importing the ServerSocket classes directly in 
my services and doing the work there...

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Is config cached with persistance?

2004-12-01 Thread infectedrhythms
I wrote my service that once it starts to connect to an external URL using SSL. 
One of the properties the path to my Keystores. The service starts and connects 
to the external URL and produces an XMLRPC error only do to the fact that I 
have some small bugs in the XMLRPC server am trying to connect to. I then go to 
the jmx-console change the path by making it wrong stop and restart the service 
yet it still works!?

I read the path propertie in the start method and print it just before I do all 
the keystore laoding and URLConnection.

I would asume that by passing the wrong keystore path... I would at least get 
Default SSL Context not initialized...

[org.TestService] Starting tmi:service=TestService
[org.TestService] Starting service...
[org.TestService] Cert Path: c:\\jboss-4.0.0\\server\\minimal\\conf\\
[org.TestService] org.apache.xmlrpc.XmlRpcException: 
java.lang.NoSuchMethodException: org.TestHandler.hello()
[org.TestService] Started tmi:service=TestService
[org.TestService] Stopping tmi:service=TestService
[org.TestService] Stopping service...
[org.TestService] Stopped tmi:service=TestService
[org.TestService] Starting tmi:service=TestService
[org.TestService] Starting service...
[org.TestService] Cert Path: c:\\jboss-4.0.0\\server\\minimal\\conf\\huh
[org.tmi.TestService] org.apache.xmlrpc.XmlRpcException: 
java.lang.NoSuchMethodException: org.TestHandler.hello()
[org.TestService] Started tmi:service=TestService
[org.TestService] Stopping tmi:service=TestService
[org.TestService] Stopping service...
[org.TestService] Stopped tmi:service=TestService
[org.TestService] Destroying tmi:service=TestService
[org.TestService] Destroyed tmi:service=TestService
2004-12-01 09:18:51,867 WARN  [org.jboss.deployment.DeploymentInfo] Could not 
delete file:/C:/jboss-4.0.0/server/minimal/tmp/deploy/tmp24617xmlrpc-1.2-b1.jar 
restart will delete it
[org.TestService] Creating tmi:service=TestService
[org.TestService] Created tmi:service=TestService
[org.TestService] Starting tmi:service=TestService
[org.TestService] Starting service...
[org.TestService] Cert Path: c:\\jboss-4.0.0\\server\\minimal\\conf\\huh
[org.TestService] org.apache.xmlrpc.XmlRpcException: 
java.lang.NoSuchMethodException: org.TestHandler.hello()
[org.TestService] Started tmi.org:service=TestService

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - SSL exception possible JBoss service cached?

2004-11-30 Thread infectedrhythms
1- What is the recomended way to load keystores in my JBoss services or 
servlets ? Any link I could look at?

Maybe this a bit of topic but am experincing some weird cahing problems while 
trying to load my trusted certificates in my JBoss service...

Bassically I want to open a HTTPS URLConnection within one of my services.

My service on start...

1- Set ups the keystores etc.. using the System.SetProperty functions...
2- Then connects to the 3rd party url.

On one server it works fine.
On another server sometimes I get sun.security.validator.ValidatorException: No 
trusted certificate found. Sometimes it works.

The path to the keystore is retrieved as an MBean property through persistance 
management...

I also mention cahcing because... I go to the JMX concole and I change the path 
of the keystore and restart my service. Yet it continues to connect, when I 
should expect at least an SSL context not initialized exception...

It seems that the path is not read properly??

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - How to set up certificates?

2004-11-29 Thread infectedrhythms
This might be a bit of topic maybe not...

Am trying to make one of JBoss services connect to an https server and I keep 
getting: java.io.IOException: Default SSL context init failed: null

My code works from a test application outside the JBoss enviroment.. Is it 
because JBoss is loading up it's own security providers etc...?

This is what I do in my code...

Security.addProvider(...);

/*
 * Set the packages that will provide the URL stream
 * handlers that can cope with TLS/SSL.
 */
System.setProperty(PROTOCOL_HANDLER_PACKAGES, ...);

// Setup KeyStore
System.setProperty(KEY_STORE_TYPE,...);
System.setProperty(KEY_STORE,...);  
System.setProperty(KEY_STORE_PASSWORD,...);

// Setup TrustStore
System.setProperty(TRUST_STORE_TYPE,...);
System.setProperty(TRUST_STORE,...);
System.setProperty(TRUST_STORE_PASSWORD,...);

Thanks


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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: How can I get minimal configuration?

2004-11-29 Thread infectedrhythms
Thanks Ill check it out!

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Deploying JMX console on JBoss 4.0.0

2004-11-26 Thread infectedrhythms
I followed the wiki instruction, but it seems that there some small 
differences...

Here is the log of my console when starting...

13:10:13,734 INFO  [Server] Starting JBoss (MX MicroKernel)...
13:10:13,859 INFO  [Server] Release ID: JBoss [Zion] 4.0.0 (build: CVSTag=JBoss_
4_0_0 date=26112004)
13:10:13,859 INFO  [Server] Home Dir: C:\jboss-4.0.0
13:10:13,859 INFO  [Server] Home URL: file:/C:/jboss-4.0.0/
13:10:13,859 INFO  [Server] Library URL: file:/C:/jboss-4.0.0/lib/
13:10:13,875 INFO  [Server] Patch URL: null
13:10:13,875 INFO  [Server] Server Name: minimal
13:10:13,875 INFO  [Server] Server Home Dir: C:\jboss-4.0.0\server\minimal
13:10:13,875 INFO  [Server] Server Home URL: file:/C:/jboss-4.0.0/server/minimal
/
13:10:13,890 INFO  [Server] Server Data Dir: C:\jboss-4.0.0\server\minimal\data
13:10:13,890 INFO  [Server] Server Temp Dir: C:\jboss-4.0.0\server\minimal\tmp
13:10:13,890 INFO  [Server] Server Config URL: file:/C:/jboss-4.0.0/server/minim
al/conf/
13:10:13,890 INFO  [Server] Server Library URL: file:/C:/jboss-4.0.0/server/mini
mal/lib/
13:10:13,890 INFO  [Server] Root Deployment Filename: jboss-service.xml
13:10:13,953 INFO  [Server] Starting General Purpose Architecture (GPA)...
13:10:16,921 INFO  [ServerInfo] Java version: 1.4.2_04,BEA Systems, Inc.
13:10:16,921 INFO  [ServerInfo] Java VM: BEA WebLogic JRockit(TM) 1.4.2_04 JVM
ari-31788-20040616-1132-win-ia32,BEA Systems, Inc.
13:10:16,921 INFO  [ServerInfo] OS-System: Windows 2000 5.0,x86
13:10:18,031 INFO  [Server] Core system initialized
13:10:21,609 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
13:10:24,171 INFO  [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=5
0, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jbo
[EMAIL PROTECTED]
13:10:26,671 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
Packages waiting for a deployer:
[EMAIL PROTECTED] { url=file:/C:/jboss-4.0.0/server/m
inimal/deploy/jbossweb-tomcat50.sar/ROOT.war/ }
  deployer: null
  status: Starting
  state: START_SUBDEPLOYMENTS
  watch: file:/C:/jboss-4.0.0/server/minimal/deploy/jbossweb-tomcat50.sar/ROOT.w
ar/
  altDD: null
  lastDeployed: 1101492626437
  lastModified: 1101487762976
  mbeans:

[EMAIL PROTECTED] { url=file:/C:/jboss-4.0.0/server/m
inimal/deploy/jmx-console.war/ }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/C:/jboss-4.0.0/server/minimal/deploy/jmx-console.war/
  altDD: null
  lastDeployed: 1101492626671
  lastModified: 1101487761523
  mbeans:

Incompletely deployed packages:
[EMAIL PROTECTED] { url=file:/C:/jboss-4.0.0/server/m
inimal/deploy/jmx-console.war/ }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/C:/jboss-4.0.0/server/minimal/deploy/jmx-console.war/
  altDD: null
  lastDeployed: 1101492626671
  lastModified: 1101487761523
  mbeans:

MBeans waiting for other MBeans:
ObjectName: jboss.web:service=WebServer
 state: CONFIGURED
 I Depend On:  jboss.security:service=JaasSecurityManager
 jboss:service=TransactionManager

 Depends On Me:

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss:service=TransactionManager
 state: NOTYETINSTALLED
 I Depend On:
 Depends On Me:  jboss.web:service=WebServer


13:10:26,765 INFO  [Server] JBoss (MX MicroKernel) [4.0.0 (build: CVSTag=JBoss_4
_0_0 date=26112004)] Started in 12s:797ms

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Building JBoss with optimizations

2004-11-26 Thread infectedrhythms
I found a great link: http://www.myj2ee.com/Members/Firedragon/jbosstuning

I added it to the wiki: 
http://www.jboss.org/wiki/Wiki.jsp?page=JBossInstallation

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Should I implement a service for...?

2004-11-26 Thread infectedrhythms
Would you mind if I picked your brain on how to create this TCP/IP ServerSocker 
service?

So far am thinking when another service instantiates it... That it create a new 
instance of ServerSocket and binds it to a specific port.

How would I take care of the listening and receiving data from the ServerSocket 
service to the actuall service thats using it?  I mean I know how to use 
ServerSocket infact that all I do at work more or less. But how would I "proxy" 
the listening and sending an receiving of data bewteen my service and the 
ServerSocket service...

Thanks.

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - JBoss with JRockit?

2004-11-25 Thread infectedrhythms
Has any one managed to compile and run JBoss with jRockit?

Do you sujest doing so?

Thanks!?

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Should I implement a service for...?

2004-11-25 Thread infectedrhythms
I see how this works! So i figure I just have to import the interface of the 
Mbean I want to use in my service right?

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Should I implement a service for...?

2004-11-25 Thread infectedrhythms
Oh lala some reading to do thanks!

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Should I implement a service for...?

2004-11-25 Thread infectedrhythms
Cool thanks!

So how do I access another service from a service. I nead a simple code 
example. If you can point me to one possibly...

Thanks!

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Should I implement a service for...?

2004-11-25 Thread infectedrhythms
Just to be sure one of the config parameters for this mbean will be the server 
port right? This way each other service will have it's own server socket. So I 
wont have to write some complexe code to route to the right service...

As of using the mbean interface, how is it done in code? Am still figuring out 
the whole java way of coding.

Thanks!

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Should I implement a service for...?

2004-11-25 Thread infectedrhythms
Just wondering I will be implementing a few of my application as JBoss 
services...

Because of some legacy code some of these service will require a regular TCP/IP 
server socket.

Shoudl I create this "server" functionality as a service?

If so how would I access this service from my other services? Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - How can I get minimal configuration?

2004-11-25 Thread infectedrhythms
Could some one please point me out as how I can get the minimal installation?

apart running: run -c minimal

Am looking to reduce the actual size of hd space beeing used. This way I dont 
have to deploy an 118MB minimal package!

So far I have removed...

jboss_home/client
jboss_home/server/default
jboss_home/server/all
jboss_home/server/standard

I have it down to about 6MB. Am I breaking something by removing any of the 
above folders?

Bassically I want to create this JBoss package that I can easily deploy on my 
servers with minimal config and deploy my custom "services". Should I be maybe 
looking at network boostrap?

Thanks



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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Need for SeviceMbean

2004-11-25 Thread infectedrhythms
As I have recently learned...

ServiceMbean and ServiceMBean support are good if you want your "Services" to 
be notified of JBoss events when starting and restarting services etc...

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - JBoss on NT 2000 Server for production am I crazy? :P

2004-11-24 Thread infectedrhythms
How many of you are running JBoss on NT 2000 server, in production enviroments?

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: How to enable HTTPS?

2004-11-23 Thread infectedrhythms
Thanks!

I got it working!

But there is a tiny problem...

Am trying to connect to my servlet using https and apache XML RPC which uses 
URLConnection but I get an exception look below...

What I want to do is write a service that will use apache XML rpc, which 
essentially uses URLConnection...

I also wrote a temporary servlet and hosted it on the same JBoss server.
I have the service connect to localhost which works fine... But I want to use 
https. Eventually the service will connect externally...

So how can I get the URLConnection used by apache XML RPC to trust the self 
signed certificate?

Thanks

12:03:23,421 INFO  [STDOUT] java.io.IOException: 
sun.security.validator.ValidatorException: No trusted certificate found
12:03:23,421 INFO  [STDOUT] at org.apache.xmlrpc.XmlRpcClient$Worker.execute
(XmlRpcClient.java:444)
12:03:23,421 INFO  [STDOUT] at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpc
Client.java:163)
12:03:23,421 INFO  [STDOUT] at org.tmi.TestService.startService(TestService.
java:50)
12:03:23,421 INFO  [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInt
ernalStart(ServiceMBeanSupport.java:271)
12:03:23,421 INFO  [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInt
ernalLifecycle(ServiceMBeanSupport.java:221)
12:03:23,421 INFO  [STDOUT] at sun.reflect.GeneratedMethodAccessor2.invoke(U
nknown Source)
12:03:23,421 INFO  [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
12:03:23,421 INFO  [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
24)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.
invoke(ReflectedDispatcher.java:141)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:80)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.
invoke(AbstractInterceptor.java:119)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:74)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationI
nterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:74)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invo
ke(AbstractMBeanInvoker.java:242)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:642)
12:03:23,421 INFO  [STDOUT] at org.jboss.system.ServiceController$ServicePro
xy.invoke(ServiceController.java:891)
12:03:23,421 INFO  [STDOUT] at $Proxy0.start(Unknown Source)
12:03:23,421 INFO  [STDOUT] at org.jboss.system.ServiceController.start(Serv
iceController.java:416)
12:03:23,421 INFO  [STDOUT] at sun.reflect.GeneratedMethodAccessor6.invoke(U
nknown Source)
12:03:23,421 INFO  [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
12:03:23,421 INFO  [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
24)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.
invoke(ReflectedDispatcher.java:141)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:80)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:72)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invo
ke(AbstractMBeanInvoker.java:242)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:642)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanP
roxyExt.java:176)
12:03:23,421 INFO  [STDOUT] at $Proxy4.start(Unknown Source)
12:03:23,421 INFO  [STDOUT] at org.jboss.deployment.SARDeployer.start(SARDep
loyer.java:261)
12:03:23,421 INFO  [STDOUT] at org.jboss.deployment.MainDeployer.start(MainD
eployer.java:935)
12:03:23,421 INFO  [STDOUT] at org.jboss.deployment.MainDeployer.deploy(Main
Deployer.java:746)
12:03:23,421 INFO  [STDOUT] at org.jboss.deployment.MainDeployer.deploy(Main
Deployer.java:709)
12:03:23,421 INFO  [STDOUT] at sun.reflect.GeneratedMethodAccessor30.invoke(
Unknown Source)
12:03:23,421 INFO  [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
12:03:23,421 INFO  [STDOUT] at java.lang.reflect.Method.invoke(Method.java:3
24)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.
invoke(ReflectedDispatcher.java:141)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invoc
ation.java:80)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.
invoke(AbstractInterceptor.java:119)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocat
ion.java:74)
12:03:23,421 INFO  [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationI
nterceptor.invoke(ModelMBeanOperationIntercepto

[JBoss-user] [Security & JAAS/JBoss] - How to enable HTTPS?

2004-11-23 Thread infectedrhythms
Can someone please point out the documents I can use to enable Jboss to accept 
HTTPS requests.

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Persistance service problems.

2004-11-23 Thread infectedrhythms
Thanks alot got it working at work as well!

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Deploying services with external JARs

2004-11-22 Thread infectedrhythms
I would like to deploy my service with the apache XML RPC jar file...

Where do I have to put the JAr so my service can use it with out having to put 
it in the server/default/lib folder

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: 3057 is not a managed VM.

2004-11-22 Thread infectedrhythms
So you dont have to start JMX through the VM.

Also it seems that Java 5 breaks some thing in Jboss and other application in 
general...

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: 3057 is not a managed VM.

2004-11-22 Thread infectedrhythms
Jboss 4 is built on JDK 1.4.x and uses JMX 1.2 so it is remotable already.

Only recently is JMX standard in JDK 1.5.

Also use MC4J pretty good open source JMX console.

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Persistance service problems.

2004-11-22 Thread infectedrhythms
yeah I tried the sample here at home and it worked fine!

It looks like 1,5 is breaking quite afew thing all around...

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Persistance service problems.

2004-11-22 Thread infectedrhythms
ok ill try it tomorow...

Even  the persistName attribute?

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Persistance service problems.

2004-11-22 Thread infectedrhythms
I just tries it under 3.2.6 as well it still complains that persistName is 
required.

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Persistance service problems.

2004-11-22 Thread infectedrhythms
thanks


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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Persistance service problems.

2004-11-22 Thread infectedrhythms
I mean If I remove the doctype here is the actual exception...

16:38:12,698 INFO  [STDOUT] [Fatal Error] jboss-service.xml:30:23: The entity "d
efaultAttributes" was referenced, but not declared.
16:38:12,698 ERROR [MainDeployer] Could not initialise deployment: file:/C:/Prog
ramming/jboss-4.0.0/server/default/deploy/TestService.sar/
org.jboss.deployment.DeploymentException: The entity "defaultAttributes" was ref
erenced, but not declared.; - nested throwable: (org.xml.sax.SAXParseException:
The entity "defaultAttributes" was referenced, but not declared.)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:176)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:799)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:736)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
at sun.reflect.GeneratedMethodAccessor29.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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:119)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:481)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:215)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:194)
Caused by: org.xml.sax.SAXParseException: The entity "defaultAttributes" was ref
erenced, but not declared.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:539)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:140)
... 21 more


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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Persistance service problems.

2004-11-22 Thread infectedrhythms
Actually yes I have infact I copied the example ;)

Even the example did not work.

I run Jboss 4.0.0 as default.

And then I cut and paste TestService.sar in the deploy folder...

Here I will provide my code and XML descriptors...

jboss-service.xml for my Mbean...

Ass for persisteName I get an exception listed below the code...


  | 
  | 
  | http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd";>
  | 
  | 
  | 
  | 
  | 
  | 
  | Test Service
  | 
  | 
  | 
  | 
  | org.package.TestService
  | 
  | 
  | 
  | A parameter
  | Param
  | java.lang.String
  | 
  | 
  | 
  | 
  | 
  | 
  | Prints the parameter value to the 
console.
  | printParam
  | 
  | 
  | 
  | &defaultAttributes;
  | 
  | &defaultOperations;
  | 
  | 
  | 
  | 

jboss-service.xml of Jboss, persistence section...


  |
  |
  |   
  |
  |   
  |
  |   
  |
  | 

My Service's code...


  | package org.package;
  | 
  | import org.jboss.system.ServiceMBean;
  | 
  | public interface TestServiceMBean extends ServiceMBean
  | {
  | public void setParam(String param);
  | public String getParam();
  | 
  | public void printParam();
  | }
  | 
  | 
  | 
  | package org.package;
  | 
  | import java.util.*;
  | import org.jboss.system.ServiceMBeanSupport;
  | import org.apache.xmlrpc.*;
  | 
  | public class TestService extends ServiceMBeanSupport implements
  | TestServiceMBean
  | {
  | String param = "Not initialized.";
  | 
  | public void setParam(String param)
  | {
  | this.param = param;
  | }
  | 
  | public String getParam()
  | {
  | return(param);
  | }
  | 
  | public void printParam()
  | {
  | log.info("Param value: " + param);
  | }
  | 
  | protected void startService() throws Exception
  | {
  | log.info("Starting service...");
  | 
  | try
  | {
  | XmlRpcClient xmlrpc = new XmlRpcClient 
("https://deesse.trustmarque.ca";);
  | Vector params = new Vector ();
  | params.addElement ("some parameter");
  | // this method returns a string
  | Vector result = (Vector) xmlrpc.execute 
("system.listMethods", params);
  | 
  | Iterator it = result.iterator();
  | 
  | while(it.hasNext())
  | {
  | log.info((String)it.next());

  | }
  | 
  | }
  | catch(Exception ex)
  | {
  | log.error(ex.toString());
  | }
  | }
  | 
  | protected void stopService() throws Exception
  | {
  | log.info("Stopping service...");
  | }
  | }
  | 


The reason I use persiste name is because if I don' t use it Iget the following 
exception when deploying...

16:16:40,058 WARN  [EntityResolver] Entity is not registered, publicId=-//JBoss/
/DTD JBOSS XMBEAN 1.1//EN systemId=http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_
1.dtd
16:16:40,105 WARN  [BasicMBeanRegistry] javax.management.MBeanRegistrationExcept
ion: preRegister() failed: [ObjectName='org.tmi:service=TestService', Class=org.
tmi.TestService ([EMAIL PROTECTED])]
16:16:40,105 INFO  [TestService] Registration is not done -> stop
16:16:40,105 ERROR [MainDeployer] could not create deployment: file:/C:/Programm
ing/jboss-4.0.0/server/default/deploy/TestService.sar/
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect
.InvocationTargetException)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
:139)
at org.jboss.system.ServiceController.install(ServiceController.java:200
)
at sun.reflect.GeneratedMethodAccessor45.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:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker

[JBoss-user] [Management, JMX/JBoss] - Re: Persistance service problems.

2004-11-22 Thread infectedrhythms
Thanks I also managed to put the xml with my jboss-service.xml instead of the 
external descriptor...

But it still doesnt seem to persist! :(


  | 
  | 
  | http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd";>
  | 
  | 
  | 
  | 
  | 
  | 
  | Test Service
  | 
  | 
  | 
  | 
  | org.package.TestService
  | 
  | 
  | 
  | A parameter
  | Param
  | java.lang.String
  | 
  | 
  | 
  | 
  | 
  | &defaultOperations;
  | 
  | 
  | 
  | 

and


  |
  |   
  |
  |   
  |
  | 

Thanks

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Persistance service problems.

2004-11-22 Thread infectedrhythms
I read the wiki it seems I have implemented evrything ok...

1- When I wrap my Mbean as an XMBean it seems that I loose my Mbeans 
operations... The JMX console does not see the operations...
2- It doesnt seem to persist.

Am using JBoss 4.0.0

here is my XML configurations and code...

My Mbeans jboss-service.xml...

  | 
  | 
  | 
  | 
  | 
  | PersistentServiceExample
  | 
  | 
  | 
  | 
  | 
  | 
org.jboss.jmx.examples.persistence.PersistentServiceExample
  | 
  | 
  | Param
  | java.lang.String
  | Hello World
  | 
  | 
  | 
  | 
  | 

jboss-service.xml persistance config...

  |
  |
  |   
  |
  |   
  |
  |   
  |
  | 

Mbean java file...

  | package org.package;
  | 
  | import org.jboss.system.ServiceMBeanSupport;
  | 
  | public class TestService extends ServiceMBeanSupport implements
  | TestServiceMBean
  | {
  | String param = "Not initialized.";
  | 
  | public void setParam(String param)
  | {
  | this.param = param;
  | }
  | 
  | public String getParam()
  | {
  | return(param);
  | }
  | 
  | public void printParam()
  | {
  | log.info("Param value: " + param);
  | }
  | 
  | protected void startService() throws Exception
  | {
  | log.info("Starting service...");
  | }
  | 
  | protected void stopService() throws Exception
  | {
  | log.info("Stopping service...");
  | }
  | }
  | 
  | 

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Setting up login from DB.

2004-11-21 Thread infectedrhythms
Hey am still having problems this time I decided to use dault values...

login-config.xml...

  | 
  |
  |   
  |  guest
  |  java:/jdbc/MamothDB
  |   
  |
  |   
  | 

jboss-web.xml...

  | 
  | /mamoth
  | java:/jaas/Mamoth
  | 
  | jdbc/MamothDB
  | java:/jdbc/MamothDB
  |  
  | 
  | 

web.xml...

  | 
  | mamoth Blue
  | mamoth Blue web site
  | 
  | 
  | 
  | 
  | Mamoth
  | Mamoth Blue security
  | /*
  | GET
  | POST
  | 
  | 
  | Admin
  | 
  | 
  | 
  | 
  | 
  | BASIC
  | Mamoth Blue
  | 
  | 
  | 
  | Admin
  | 
  | 
  | 
  | 
  | 
  | index.jsp
  | 
  | 
  | 
  | DB Connection
  | jdbc/MamothDB
  | javax.sql.DataSource
  | Container
  | 
  | 
  | 
  | 
  | 
  | 

db structure...

  | # Host: localhost
  | # Database: mamoth
  | # Table: 'principals'
  | # 
  | CREATE TABLE `principals` (
  |   `PrincipalID` varchar(64) NOT NULL default '',
  |   `Password` varchar(64) NOT NULL default '',
  |   PRIMARY KEY  (`PrincipalID`)
  | ) TYPE=MyISAM; 
  | 
  | # Host: localhost
  | # Database: mamoth
  | # Table: 'roles'
  | # 
  | CREATE TABLE `roles` (
  |   `PrincipalID` varchar(64) NOT NULL default '',
  |   `Role` varchar(32) NOT NULL default '',
  |   `RoleGroup` varchar(32) NOT NULL default '',
  |   PRIMARY KEY  (`PrincipalID`)
  | ) TYPE=MyISAM; 
  | 

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Setting up login from DB.

2004-11-21 Thread infectedrhythms
Try it for yourselves...

http://infected.dynu.com:82/mamoth

user: admin
pass: 1ng2l3d4s


use a few different usernames and password it will keep rejecting you as it 
should... But then try the above and you will get a 403


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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Whats the point of notifications?

2004-11-21 Thread infectedrhythms
So I figure if I wanted to if my batch filed creation through an exception it 
would be simpler just to sebnd an e-mail with log4j?

As for "threadcount" that wouldn't be an actuall attribute because it wouldn't 
have any set and get. On the other hand "maxthreadcount" would and only once 
"threadcount" reached the "maxthreadcount" then I would get the notification.

Now how can I implement this?

Would it be somewhere in my service's logic like...?

start loop
   spawn thread
   increase threadcount
   
   if threadcount is > maxthreadcount
  send notification

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Whats the point of notifications?

2004-11-19 Thread infectedrhythms
Or how can I use notifications?

Bassically I would like to track a specific occurance in my application say a 
thread count and when ever the thread count reaches a specific level send an 
e-mail. Or if a "batch" file failed to create send an e-mail.

How do I track this in my application? Do I have to check the count every time 
I increase the thread count? And if the thread count is greater then a 
threshhold send a notification? Same for lets say FileCreationException or what 
you have...

I find it overkill to have to create a Notification listener...

And then finally in my app...

long now = System.currentTimeMillis();
MyNotifications notifications = new MyNotifications(this, 
getNextNotificationSequenceNumber(), now, "Thread count high");
sendNotification(notifications);

When I can just
log.warn("Thread count high") and create and configure an smtp appender.

Thanks


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

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


---
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] [Management, JMX/JBoss] - Wrapping POJOs as Mbeans

2004-11-19 Thread infectedrhythms
If I understand correctly...

I should be able to use my pojo as a service just by providing a 
jboss-service.xml file.

So something to the likes of...


  | 
  | 
  | 
  | 
  | Hello World
  | 
  | 
  | 
  | 
  | 
  | 

Right?

If I wanted MyPojo to be started and stoped through the Jboss service events 
startService, stopService etc... Would I need to wrapy my pojo in an XMbean and 
define the operations?

Also when would I actually want to implement MyPojo using the ServiceMean and 
ServiceMbeanSupport interafce and class?

thanks

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

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


---
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] [Beginners Corner] - I would like to extend the JBoss logger

2004-11-16 Thread infectedrhythms
I need to extend the JBoss logger to add my own XLevel and the appropriate 
methods to the logger I.e log.operations("something hapenned!");

I would liek to create my own level since I would like to send E-mails in my 
applications on specific events not just errors.

I have this working standalone in a test application.

Can I just add my classes to the class path? And then import them in my JBoss 
apps?

Thanks

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

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


---
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] [Management, JMX/JBoss] - Accessing other services.

2004-11-16 Thread infectedrhythms
How can I use another service within my own service? For instance I would like 
to use the Logging service and possibly the thread pool service in my 
application.

Thanks

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

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


---
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] [Management, JMX/JBoss] - jbossInternalLifecycle(...) what does it do?

2004-11-16 Thread infectedrhythms
I create my class using eclipse and I had it implement all the interface 
methods...

On of those methods is jbossInternalLifecycle(...)

I noticed when this method exists

the startService(), stopService, destroyService() etc... methods do not get 
called...

So I commented out that method and recompiled and the mentioned functions 
worked.

Thanks

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

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


---
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] [Beginners Corner] - Re: Get instance of logging service.

2004-11-16 Thread infectedrhythms
Or more specifically how can I access a particualr service (Jboss MBeans) from 
my own services.

Thanks

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

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


---
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: Deploying minimal configuration.

2004-11-16 Thread infectedrhythms
Well I want to create a minimal deployment package smallest in size where I can 
deploy my own custom services.

I want to get it as mall as possible and add as needed.

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

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


---
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] [Beginners Corner] - Get instance of logging service.

2004-11-16 Thread infectedrhythms
How would I go about to get an instance of the logger thats is configured as a 
service in Jboss?

Am writting my own Service and would like to use the logging built in to Jboss

Thanks

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

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


---
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: Deploying minimal configuration.

2004-11-16 Thread infectedrhythms
Opps it was this section remind me not to work late! :P

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

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


---
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] - Deploying minimal configuration.

2004-11-16 Thread infectedrhythms
I asked this question in another topic... I got one reply, but maybe it wasn't 
the right section anyaways...

Am looking to deploy a minimal Jboss config for my production machines...

So far I have gotten rid of the following folders...

/client
/doc
/server/all
/server/default
/server/standard

So far the package is down to about 5.9 MB Can it further be reduced? Did I 
remove something I shouldn't have?

Thanks

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

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


---
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] [Security & JAAS/JBoss] - Re: 403 - Access to the requested resource has been denied

2004-11-16 Thread infectedrhythms
Is there a way I can debug the module or do I have to recompile it?

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

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


---
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] [Security & JAAS/JBoss] - Re: 403 - Access to the requested resource has been denied

2004-11-15 Thread infectedrhythms
I opened up the src for the DatabaseServerModule and I copied the queries 
exactly. I even made sure to structure my db the same way.

Yet same problem... I can enter invalid user name and password all day, but one 
I enter the right username and password I get the 403 error... So it does seem 
to authenticate. I also checked the logs no eceptions thrown...

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

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


---
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] [Security & JAAS/JBoss] - Re: 403 - Access to the requested resource has been denied

2004-11-14 Thread infectedrhythms
It seems to be working some what! I get the 403 error only when I enter the 
correct username and password... If not the browser will keep asking me to 
enter username and password!

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

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


---
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: Creating minimal server package for deployment.

2004-11-14 Thread infectedrhythms
am running 4.0

I think it still quite big no or that the smallest it can go?

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

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


---
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] [Security & JAAS/JBoss] - 403 - Access to the requested resource has been denied

2004-11-14 Thread infectedrhythms
I am trying to set up jass security on my web site and am getting: 403 - Access 
to the requested resource has been denied.

This is in my login-config.xml...

  | 
  |
  |   
  |  guest
  |  java:/jdbc/MamothDB
  |  select Password from 
users where Username=?
  |  select Username, Role from 
UserRoles where username=?
  |   
  |
  |
  | 

This is in my web.xml...

  | 
  | 
  | http://java.sun.com/dtd/web-app_2_3.dtd";>
  | 
  | 
  | mamoth Blue
  | mamoth Blue web site
  | 
  | 
  | 
  | 
  | Mamoth
  | Mamoth Blue security
  | /*
  | GET
  | POST
  | 
  | 
  | Admin
  | 
  | 
  | 
  | 
  | 
  | BASIC
  | Mamoth Blue
  | 
  | 
  | 
  | Admin
  | 
  | 
  | 
  | 
  | 
  | index.jsp
  | 
  | 
  | 
  | DB Connection
  | jdbc/MamothDB
  | javax.sql.DataSource
  | Container
  | 
  | 
  | 
  | 
  | 
  | 

And this is in my jboss-web.xml...


  | 
  | 
  | http://www.jboss.org/j2ee/dtds/jboss-web_3_0.dtd";>
  | 
  | 
  | /mamoth
  | java:/jaas/Mamoth
  | 
  | jdbc/MamothDB
  | java:/jdbc/MamothDB
  |  
  | 
  | 

Any ideas? Thanks!

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

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


---
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] - Creating minimal server package for deployment.

2004-11-12 Thread infectedrhythms
Hi I would like to run JBoss using the minimal server config and would like to 
create a distributable package using the bare minumum of external jar 
dependencies.

So far I have removed...

/client
/docs
/server/default
/server/standard
/server/all

The package is still a whopping 5.9 MB
What jars can be removed from the /lib folder to further rediuce the 
distribution size?

Thanks

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

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


---
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] [Management, JMX/JBoss] - Re: Using Jboss MX Kernel for custom apps...

2004-11-11 Thread infectedrhythms
Ah ok that cool. Actually the Corba interface for my service will be quite 
simple as all calls will originate from one "client", my database which will 
use and extended stored proc.

So all my services will implement an execute() method with a parameter called 
message (maybe XML). Now either the message will be already preformated to the 
3rd parties spec or I might implement a simple message protocol that the 
services will parse and format the message to a specifcation.

For instance some of my services comunicate to 3rd parties using simply tcp/ip 
with some delimited message, some ask for XML, some http pair/value queries, 
some archaic binary protocol with 7bit even party :P etc...

It's alot easier to format the required request in the db and send it to the 
service. Unless you thibnk there is a simple and elegant solution? :|

Now you mentioned also the Corba Example... And I also see there is a threapool 
service. I think am getting ahaed of myself... I should start simple but so 
many ideas lol... I guess it would be nicer to keep my service simple and to 
hook into the corba service? Same goes if I want to use threading within my 
service I could hook inusing the thread pool service right? I have an old 
mentality where my apps for each client request spawns a thread. Simple 
blocking socket accept() with new thread for each connection, with a simple 
system to count threads so they dont get to high...

Thanks


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

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


---
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] [Management, JMX/JBoss] - Re: Using Jboss MX Kernel for custom apps...

2004-11-11 Thread infectedrhythms
Why would I need to implement the corba server within my own bean?

Would it not be easier to just expose some "execute() method within my mbean 
and use Jboss's remoting?

Or are you saying that there is no client libs for c/c++ application to access 
Jboss remoting?

Thanks for the answers! ;)

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

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


---
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