Orion's Port?

2002-01-01 Thread Namor Taror

I need to get orion's port number during to initialization phase. I have an 
initialization servlet, which is loaded on start-up. It is supposed to get 
the machine's domain name and the port number, orion is listening to. The 
servlet is not invoked by the client so I can't use the request info. Even 
if it ware, the request might have the proxy's port (not orion's) which is 
not what I need. My fail over architecture depends on the solution to this 
seemingly simple problem. Does anybody have any suggestions?

Roman



_
Chat with friends online, try MSN Messenger: http://messenger.msn.com





jndi.properties

2001-12-18 Thread Namor Taror


I'm getting jndi exception when envoking ejb web service. I have defined 
jndi.properties file and put a reference to it into my system classpath as 
well as into the axis orion-application.xml and orion-web.xml files.

My jndi.properties file is:

java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory
java.naming.provider.url=ormi://localhost:23791/Schedule
java.naming.security.principal=admin
java.naming.security.credentials=123


and the exception is:

javax.naming.NamingException: Error instantiating web-app JNDI-context: No 
location specified and no suitable instance of the type 
'com.taror.schedule.ejb.session.scheduler.SchedulerManager' found for the 
ejb-ref SchedulerManager



_
Send and receive Hotmail on your mobile device: http://mobile.msn.com





Re: System.exit(0)

2001-12-17 Thread Namor Taror

How do you start your services before orion has finished its init phase. 
What are those services? servlets or ejbs? I have marked my servlet to be 
loaded on start-up but it happens after the initialization.

Roman


From: erik [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: System.exit(0)
Date: Mon, 17 Dec 2001 13:11:06 +0100

Hi Folks,
I try to exit Orion via System.exit() from within the running
application server. This works fine. My problem is: This works only fine
after Orion has completely initialized and says Orion initialized on
the console. I do start some services within the initialize phase of
Orion and in some cases I want Orion to stop straight away and exit the
VM before finish initializing.
How can I tell Orion to stop initializing and shut down?
many greets to you
Erik Zimmermann
 e.zimmermann.vcf 




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.





SapDB

2001-12-15 Thread Namor Taror

How can I store a variable size string in sapdb. varchar has a limit of 8000 
which is a limit of all varchars in the raw of the table. SapDb 
documentation says that varchar(n) defines a variable length but it doesn't 
seem to work. I am getting exception when i use it while creating a table. 
What gives?

Roman


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx





Axis

2001-12-15 Thread Namor Taror

Finally, I have solved the soap iiop problem. And the way to do it is to
move up to Axis. Just watch out, it's an alpha release. there will be some
changes in the package between now and than.

One question to those who deployed ejbs as web services using axis. I have a
couple of orions clustered on my system. There is also a load balancer
running on it. When I send a message to a web service implemented by a
ScheduleManager, for example, all ScheduleManager's (on every instance of
orion server) are invoked. Does anybody have the same problem?

Roman



_
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com





Port Number

2001-12-15 Thread Namor Taror

I am trying to implement a failover for my scheduler. If I have multiple 
orions running on a single machine then the only way to distinguish between 
them is to use a host name and a port number. My problem is in getting the 
port number of either orion or rmi server associated with a specific 
instance of the application server. I was trying to get to rmi registry 
through jndi service but I could not find rmi service binding in the initial 
context or in any of its subcontexts. Any thoughts on how to get the port 
number?


Roman


_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx





[no subject]

2001-12-09 Thread Namor Taror

I am also getting this exception when including  a soap call into my ejb. I 
am certain I have correct soap.jar classpath reference in my classpath 
environment variable. My ant deployment also has a correct reference to the 
soap.jar. It happens during the run time. As if the container (bean wrapper 
in particular didn't know of the soap). Strangely enough the method that 
makes the call is not even executed at the time the exception is thrown.

lang.NoClassDefFoundError: org/apache/soap/SOAPException
at 
ContextManager_StatelessSessionBeanWrapper52.saveContext(ContextManag
er_StatelessSessionBeanWrapper52.java:353)
at 
__jspPage85_CXTSaveContext_jsp._jspService(__jspPage85_CXTSaveContext
_jsp.java:145)
at com.orionserver.http.OrionHttpJspPage.service(Unknown Source)
at com.evermind._ah._rad(Unknown Source)
at com.evermind.server.http.JSPServlet.service(Unknown Source)
at com.evermind._cxb._abe(Unknown Source)
at com.evermind._cxb._uec(Unknown Source)
at com.evermind._io._twc(Unknown Source)
at com.evermind._io._gc(Unknown Source)
at com.evermind._if.run(Unknown Source)

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Web Services and WSTK

2001-12-08 Thread Namor Taror

Has anybody worked out ejb deployment as web services on orion?

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Port Number

2001-12-03 Thread Namor Taror

is there any standard api that returns a port number of the server it 
listens to?

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





RuntimeException in threads

2001-11-28 Thread Namor Taror

I've been trying to catch a runtime exception thrown by one of my user 
threads, before the orion server gets it. One of the solutions I thought 
would work was to create a ThreadGroup as a parent of the thread in question 
and have it to catch the exception. It doesn't seem to work. Any ideas?

Roman

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





User Threads

2001-11-27 Thread Namor Taror

Anybody knows if user threaded application is portable to other application 
servers. Orion requires a specific parameter -userThreads to be passed in 
the command line. I know that weblogic could not handle user threads in its 
previous versions. I don't have any experience with other server.

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





load-on-startup

2001-11-14 Thread Namor Taror

It seems that orion loads a servlet only when load-on-start in the web.xml 
is present and also the load-on-startup is set to true in the 
default-web-site.xml file. My understanding was that it should be sufficient 
to set the load-on-startup in the web.xml. Has anybody has a similar 
experience?

-roman

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





load-on-startup

2001-11-14 Thread Namor Taror

romen,

have you ever resolved the load-on-startup problem (message below)?. My 
server freezes all together.

-rr


ello,

If I use the load-on-startup in web.xml under my startup servlet, orion will
correctly start it up automatically. What I found strange was that when this
is done I cannot shutdown orion any more by using admin.jar or ctrl-C. If I
comment out the load-on-startup line, everything will be fine.

I am using orion 1.5.2 + JDK 1.3.0 + W2K

Has anyone encountered this?

cheers
romen




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





BodyTagSupport

2001-11-12 Thread Namor Taror

Has anybody had any problems with the iterative tag execution? Even my 
simplest 'test' tag does not execute its body. doStartTag and doEndTag are 
executing fine but the doIntBody and doAfterBody are not execiting at all.

taglib.tld:

tag
namegetCalendarList/name
tagclasscom.taror.schedule.taglib.calendar.CalendarList/tagclass
bodycontentjsp/bodycontent
infoList.../info


Class code:

public class LoopTag extends BodyTagSupport
{
private int count;
private int pos;

public void setCount(int count)
{
this.count = count;
}

public int doStartTag()
{
if(count  0)
  return EVAL_BODY_TAG;
else
  return SKIP_BODY;
}

public int doAfterBody() throws JspException
{
// Iterate until the count's up
if(++pos  count)
return EVAL_BODY_TAG;
else
return SKIP_BODY;
}

public int doEndTag() throws JspException
{
pos = 0;

try
{
if(bodyContent != null) // Check if we even entered the body
bodyContent.writeOut(bodyContent.getEnclosingWriter());
}
catch(java.io.IOException e)
{
throw new JspException(IO Error:  + e.getMessage());
}

return EVAL_PAGE;
}
}

JSP:

%@ page session=false %
%@ taglib uri=ScheduleUtil prefix=schedule %
html
head
titleCalendar List/title
/head
body
table
schedule:getCalendarList
tr
tdlksdjhg /td
/tr
/schedule:getCalendarList
/table
/body
/html





_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp