JRun Server.
After starting JRun Server, I close the command window and
the JRun Server is automatically shut down.
If the command window is left open, the server stays running.
How do I change the settings to keep it running after closing
the command window ?
webber123456 wrote:
> After starting JRun Server, I close the command window
and the JRun Server is
> automatically shut down.
> If the command window is left open, the server stays
running.
>
> How do I change the settings to keep it running after
closing the command
> window ?
>
>
>
Is this Windows or Unix? I take it from your question that
you're
starting JRun from a command line?
On Unix if you're starting from a term window just stick an
& at the end
of your command and that will keep it running after you close
the term
window. On Windows I'm not sure how that's accomplished.
Matt
Matt Woodward
[email protected]
Adobe Community Expert - ColdFusion
Similar Messages
-
How to deploy a WAR file in JRun server?
hi,
I created one war file, now i want to deploy that file in JRun server. can anyone give me an idea of how to deploy that war file in server...By following the deployment documentation for your server. This isn't a general purpose "help me do everything" forum
-
Jrun4 as my application webserver. The application was running fine.
But when start jrun server after updated Oracle security patch on database server, there are errors: please see the errors:
# ./jrun -start dleers &
15139
# Starting Macromedia JRun 4 (Build 61650), dleers server
07/07 13:48:25 error Exception thrown in operation init
[1]java.io.IOException: Configuration Error: {0}
at jrun.security.metadata.AuthConfigParser.match(AuthConfigParser.java:203)
at jrun.security.metadata.AuthConfigParser.parseLoginEntry(AuthConfigParser.java:69)
at jrun.security.metadata.AuthConfigParser.getConfiguration(AuthConfigParser.java:51)
at jrun.security.metadata.AuthConfigMetaData.importDocument(AuthConfigMetaData.java:53)
at jrun.security.JRunSecurityManagerService.init(JRunSecurityManagerService.java:204)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)
at jrunx.kernel.JRunServiceDeployer.initServices(JRunServiceDeployer.java:307)
at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:256)
at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87)
at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.JRun.startServer(JRun.java:558)
at jrunx.kernel.JRun.<init>(JRun.java:476)
at jrunx.kernel.JRun$1.run(JRun.java:329)
at java.security.AccessController.doPrivileged(Native Method)
at jrunx.kernel.JRun.start(JRun.java:326)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at jrunx.kernel.JRun.invoke(JRun.java:180)
at jrunx.kernel.JRun.main(JRun.java:168)
[0]javax.management.MBeanException: Exception thrown in operation init
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1644)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)
at jrunx.kernel.JRunServiceDeployer.initServices(JRunServiceDeployer.java:307)
at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:256)
at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87)
at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.JRun.startServer(JRun.java:558)
at jrunx.kernel.JRun.<init>(JRun.java:476)
at jrunx.kernel.JRun$1.run(JRun.java:329)
at java.security.AccessController.doPrivileged(Native Method)
at jrunx.kernel.JRun.start(JRun.java:326)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at jrunx.kernel.JRun.invoke(JRun.java:180)
at jrunx.kernel.JRun.main(JRun.java:168)
07/07 13:48:30 info JRun Naming Service listening on *:2908
07/07 13:48:31 error The lookup for JRunSecurityManager failed.
javax.naming.NameNotFoundException: No such binding: JRunSecurityManager
at jrun.naming.ContextManager.getBinding(ContextManager.java:680)
at jrun.naming.ContextManager.getBinding(ContextManager.java:686)
at jrun.naming.ContextManager.getObject(ContextManager.java:690)
at jrun.naming.ContextManager.lookup(ContextManager.java:463)
at jrun.naming.ContextManager.lookup(ContextManager.java:427)
at jrun.naming.ContextManager.lookup(ContextManager.java:427)
at jrun.naming.JRunNamingContext.lookup(JRunNamingContext.java:526)
at jrun.naming.JRunNamingContext.lookup(JRunNamingContext.java:495)
at jrun.naming.NamingService.lookupInServerContext(NamingService.java:930)
at jrun.servlet.security.WebAppSecurityService.findSecurityManager(WebAppSecurityService.java:344)
at jrun.servlet.security.WebAppSecurityService.start(WebAppSecurityService.java:92)
at jrun.servlet.WebApplicationService.start(WebApplicationService.java:219)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)
at jrunx.kernel.ConfigurableServicePartition.startServices(ConfigurableServicePartition.java:196)
at jrunx.kernel.ConfigurableServicePartition.start(ConfigurableServicePartition.java:178)
at jrun.servlet.ServletEngineService.start(ServletEngineService.java:112)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)
at jrunx.kernel.JRunServiceDeployer.startServices(JRunServiceDeployer.java:312)
at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:260)
at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87)
at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.JRun.startServer(JRun.java:558)
at jrunx.kernel.JRun.<init>(JRun.java:476)
at jrunx.kernel.JRun$1.run(JRun.java:329)
at java.security.AccessController.doPrivileged(Native Method)
at jrunx.kernel.JRun.start(JRun.java:326)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at jrunx.kernel.JRun.invoke(JRun.java:180)
at jrunx.kernel.JRun.main(JRun.java:168)
07/07 13:48:31 error Exception thrown in operation start
[1]jrun.servlet.security.SecurityInitException: javax.naming.NameNotFoundException: No such binding: JRunSecurityManager
at jrun.servlet.security.WebAppSecurityService.findSecurityManager(WebAppSecurityService.java:350)
at jrun.servlet.security.WebAppSecurityService.start(WebAppSecurityService.java:92)
at jrun.servlet.WebApplicationService.start(WebApplicationService.java:219)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)
at jrunx.kernel.ConfigurableServicePartition.startServices(ConfigurableServicePartition.java:196)
at jrunx.kernel.ConfigurableServicePartition.start(ConfigurableServicePartition.java:178)
at jrun.servlet.ServletEngineService.start(ServletEngineService.java:112)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)
at jrunx.kernel.JRunServiceDeployer.startServices(JRunServiceDeployer.java:312)
at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:260)
at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87)
at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.JRun.startServer(JRun.java:558)
at jrunx.kernel.JRun.<init>(JRun.java:476)
at jrunx.kernel.JRun$1.run(JRun.java:329)
at java.security.AccessController.doPrivileged(Native Method)
at jrunx.kernel.JRun.start(JRun.java:326)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at jrunx.kernel.JRun.invoke(JRun.java:180)
at jrunx.kernel.JRun.main(JRun.java:168)
[0]javax.management.MBeanException: Exception thrown in operation start
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1644)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)
at jrunx.kernel.ConfigurableServicePartition.startServices(ConfigurableServicePartition.java:196)
at jrunx.kernel.ConfigurableServicePartition.start(ConfigurableServicePartition.java:178)
at jrun.servlet.ServletEngineService.start(ServletEngineService.java:112)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.ServiceAdapter.invokeMethod(ServiceAdapter.java:705)
at jrunx.kernel.JRunServiceDeployer.invokeOnServices(JRunServiceDeployer.java:460)
at jrunx.kernel.JRunServiceDeployer.startServices(JRunServiceDeployer.java:312)
at jrunx.kernel.JRunServiceDeployer.startLifecycle(JRunServiceDeployer.java:260)
at jrunx.kernel.JRunServiceDeployer.deployServices(JRunServiceDeployer.java:87)
at jrunx.kernel.DeploymentService.loadServices(DeploymentService.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at jrunx.kernel.JRun.startServer(JRun.java:558)
at jrunx.kernel.JRun.<init>(JRun.java:476)
at jrunx.kernel.JRun$1.run(JRun.java:329)
at java.security.AccessController.doPrivileged(Native Method)
at jrunx.kernel.JRun.start(JRun.java:326)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at jrunx.kernel.JRun.invoke(JRun.java:180)
at jrunx.kernel.JRun.main(JRun.java:168)
My question is : Do I have to change jrun server security setting and How?
Thanks for any help!
ygdevCF6, Java 1.4.2 and Windows NT - have not seen those for a long time myself.
Perhaps this is the issue from error report:
PSPermGen total 20736K, used 20580K
object space 20736K, 99% used
I guess Java non heap space Permanent Generation is full the next object trying to load into that space can’t fit, plus all the objects in there are referenced so no objects can be removed so free space can’t be made available. One would need to do some work with Java logging and know what JVM.CONFIG looks like to know if that guess is accurate.
You could try increase that parameter 10Mb or so and see what happens? In JVM.CONFIG, JVM args, -XX:MaxPermSize=NNm where NN = numbers.
Needless to say you are running a lot of end of life product and should plan to migrate to something more current.
HTH, Carl. -
Hi ,
I am getting the jrun server error with the message
” The server encountered an internal error and was
unable to complete your request. Application server is busy. Either
there are too many concurrent requests or the server still is
starting up.”
I am confused what causes this type of errors.
Has anyone faced this kind of error? What is the reason for
such kind of errors?
The OS is”sunsolaris” and the web server used is
the “Apache “and coldfusion application server is
CFMX6.1.
Thanks in advance..
AnbuThanks for the reply..
I get the error offent... when i refresh the page again and
again then it is working fine.
There is a script written to check the jrun server if the
server is hanged or not able to process the request then it
automatically restart the jrun server.
regards
Anbu -
I have a new server with a jrun problem I am stuck on. The
old server is setup in standalone mode and somewhere jrun has a
mapping to listen for an extention other than .cfm (ex. index.xyz).
Apache is setup correctly, as it passes the request to coldfusion
who then gives an error;
"JRun will not accept request. Check JRun web server
configuration and JRun mappings on JRun server."
Well I have 2 test servers, 1 standalone mode, 1 multiserver
mode, and I finally got the admin started (using the jrun -start
admin), port 8000. But still stuck on what's next.
The old server works, the .xyz get's parsed and treated just
like a .cfm and I don't know where to add it, so I am assuming in
the jrun admin. I also don't know howto get to the jrun admin on
the standalone server as port 8000 is not listening. So is there
some /opt/coldfusion8/bin/coldfusion -- flag somewhere to start?
Any help is appreciated.What does this have to do with programming? This sounds more like a support issue -- have you contacted the vendor?
-
Sql statement causes my JRun server to fail.
I'm beginning JSP and can't go through this recurrent error: the first request to the JSP page containing sql statement works well, in the second, an error occurs and finally, the third forces my Jrun server to fail with a stack error...
<CODE>
<%-- page global declaratiosn --%>
<%@ page import="java.sql.*,javax.sql.*,allaire.taglib.*" %>
<%
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver") ;
String url = "jdbc:odbc:ademeregion" ;
Connection con = DriverManager.getConnection( url , "" , "" ) ;
Statement stmt = con.createStatement();
ResultSet itom = stmt.executeQuery( "SELECT * FROM ITOM" ) ;
ResultSetMetaData itomMetaData = itom.getMetaData( ) ;
out.print( getServletContext().getInitParameter( "test" ) + "<br>" ) ;
%>
<table border=1 cellspadding=0 cellspacing=0>
<%
while( itom.next() ){%>
<tr>
<%
for (int i = 1 ; i <= itomMetaData.getColumnCount() ; i++ ){
out.print( "<td><font face=Verdana color=#EEEEEE size=1>" + itom.getString( i ) + "</font></td>") ;
%>
</tr><%
%>
</CODE>
I assume it could be a typical jdbc problem that beginners encounter...
Help required...
Thanks a lot...
SylvainThnks but it's allready done:
I had the following code allready:
<%
itom = null ;
itomMetaData = null ;
stmt.close( ) ;
con.close( ) ;
%>
But thanks anyway... -
JRUN Server Configuration - Urgent
Dear friends,
Now I am working an JSP Project..
So I am using jsp files like
http://localhost:8100/test/test.jsp
But i want to access that jsp file with out 8100 port..
like http://localhost/test/test.jsp or any other..
Is is possible..
If possible plz help me
Thanks in advance..
jeevaOpen the administrator console(JRUN 3.0) , go to JRUN default server>JRUN Web Server and change the Web server Port Property..
I don't know how to change in JRUN 2.3.3
Hope this helps....
Shubhrajit :-) -
Jrun server thread dump...... how to interpret?
i cannot find a good link any hwere on this subject..... which
means i am not looking in the right place. If anyone knows of a tutorial or somthing that can help pleas let me know...
thanks,i cannot find a good link any hwere on this subject..... which
means i am not looking in the right place. If anyone knows of a tutorial or somthing that can help pleas let me know...
thanks, -
Displaying BAR chart using JSPChart , Sysbase database, Jrun server
I would like to explain my requirements to you.
1. I will be displaying a Exponential bar chart. The length of bar chart is obatined from Sybase database.
2. This chart should be dynamically created depending on the value on the database and x -axis is exponential.
This will be displayed on a HTML page.
Hope this is clear. Basically, I want to show the database values using a chart on a Web Page.
Can this be done, if so, pl give me further info if possible.
I have downloaded JSP chart from
http://www.javaside.com/asp/menu_fr.asp?page=jspChart.shtml
Pl reply ASAP.
Thanks in advanceSerious fraud allegations leveled against Elansoft, in the web pages: http://www.manero.org/weblog/archives/000083.html
or
http://archives.real-time.com/pipermail/cocoon-users/2003-March/031298.html .
If the charges were not true, Elansoft might have angrily denied. Instead, Elansoft closed US office and ran from the law. If Elansoft continue to evade the laws, what kind of legal protection buyers could get from the legal system?
These are credible charges, because, it is impossible to believe Agileblox could get more votes than OpenOffice (which has been downloaded by millions of users) and more votes than SVG-technology itself (which has support of tens of thousands of die hard developers, and many companies building products around the technology).
In the news release, Pravin Raju, CEO, said Agileblox rated higher than products from Sun, Oracle and Macromedia:
http://www.blonnet.com/bline/2002/10/11/stories/2002101101590900.htm
The CEO may be ignorant enough to know, that all those products are well known and financially successful. There were hundreds of news article published in respected technology journals about each one of them. There are many developer groups (Ex: user-groups and discussion forums) about each of them. Each of these forums patronized by thousands of developers each month.
Is there any detailed product review for Agileblox out there? How about any freelance discussion? May be too stupid to participate in technical debate? What about, at least one use case presentation from a �real- happy customer? The crooks committed fraud. Pravin Raju, CEO of Elansoft, shamelessly claimed his product had rated higher than many respected products. What a moron?
Look at Agileblox documentation and flowchart. Does the flowchart make any sense, or look like work of a software guy? Does Elansoft know any thing about product development? Why they have not able to release any upgrade to Agileblox for so long? Who developed Aileblox? Are they still working at Elansoft?
P.S: Please send any information and names of the players of the Award scam to: [email protected] -
How to connect SQL server using JRun
I am relatively dumb into Java. I am running JRun server in Unix box, and I need to connect to the SQL server (full marks for guesssing that SQL server is on the Win2K box).
Now I want to connect to the SQL server from Jrun using JSPs.
Question:
1. Is JDBC:ODBC only way to connect to the SQL server, if yes -
2. Do I have to create a DSN on the server for the JDBC:ODBC bridge to work
3. Can I write my own database connection package,
Appreciate if any body can help me with this problem, and if you have written a package to connect to the database, then would be nice if you would let me try the same.
If you have any responses, please email me at [email protected]
Thanks in Advance for the anticipated help.
Viviar PrasadHi Prasad,
There is two ways(what I have done) to connect to sql server in jRun..
1) using your jdbc - odbc connectivity using your type one jdbc driver..
2) using type 4 driver.. (type 2 and 3 are not available right now for sql server)
in 1 you have to create an dsn and use it directly in program bypassing jrun management console(I mean u don't have to configure for that)
in 2 case you need to use jrun proprietery driver for the jdbc... there is a problem here..
this driver is available in Jrun 3.0 enterprise edition only and still has got some problem so you need to apply service pack-2 to your Jrun installation and need to download the driver.. jdbc driver from following link
ftp://ftp.allaire.com/kbftp/jrun/all/jrun_drivers.jar.zip
this will suply a html doc along with the driver . which will explain you how to apply..
you can download jdbc driver specilly for sql server from this link http://www.j-netdirect.com/jsqlconnect2_26.zip
but it will expire in a month..
any way once you have obtain any of the above driver, follow these step to configure jdbc in jrun.. you need to put the driver in the classpath..
1 - open your management console
2- select the webapplication for which you want to configure from left frame of mc(management console)
3- select jdbc data source click the add button and follow the wizard..
for more info ref to jrun quick start configuring jdbc settings that came with your JRun..
or you can directly click the link there and type
the name of the
first
datasource(you have supply any name you will be using that to access db in your java prog)
second name of the the jdbc driver
for Jrun it's
allire.jrun.jdbc.JRunDriver
for net direct
com.jnetdirect.jsql.JSQLDriver
third
url for jrun driver
jdbc:jrun:sqlserver://hostname:portno/databasename = dbname; USER = uname; Password = password
where dbname is your database name
uname is your sql server user name e.g sa
password is your password for the corresponding user name
where hostname is the name of the computer where your sqlserver is running it could be an ip e.g 10.0.0.32:1433
1433 is the default port no for the sqlserver if you are using tcp protocol to connect to the sql server
url for net direct
jdbc:JSQLConnect//hostname:port/databasename=dbname; USER =uname; Password = password
for any more information on this you can mail me in this id
[email protected]
All the best..
regards
Bishwa -
jcp.endpoint.main.max.threads exceeded error on jrun 4.0.1 server
Posted: May 20, 2005 4:30 AM Reply
hi,
i am getting following error on my jrun server
'too many concurrent requests,
jcp.endpoint.main.max.threads exceeded'
The application is running on jrun 4.0.1 server.
i checked the log files but the load was too few on the day.
I tried a lots of stuff on net but could not find the solution.
pls help it out urgently
manojLisa,
I would check the online docs and/or the following HowTos for more details. They are not specific to JRun, but will give you the general process and list or archives and other things to copy and add to the classpath:
http://technet.oracle.com:89/ubb/Forum2/HTML/006397.html
http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html -
JRUN Upgrade for Web Server Config Tool
Recently, I applied the latest connector update discussed in
APSB07-02. Today, I attempted to create a connector to my new CF
cluster and get the following error when using the Web Server
Config tool:
"The JRun server(s) found on host 127.0.0.1 must be upgraded
to use this version of the Web Server Configuration tool"
CF 7.0.2HF1
JRun 4 Updater 6
W2k3 SP1
What update is it refering too?This issue was asked in 2007 but never answered. It's now 2010 and I am experiencing the same problem. I'm trying to add a new IIS web server for CF. Running CF 7 and the web config tool worked 12 months ago. Now it doesn't... saying the "Jrun server must be upgraded to use this version of the Web Configuration Tool". I've done one jrun patch that I am aware of in the past few months.
So now, does anyone have an answer as to what I have to do to get this thing to run????
Thanks,
...Wes -
How can I get the server absolute path of virtual directory?
Problem context:
absolute path of my application at JRUN server is
c:\testing
nd url is
http://kaspak/test
( kaspak is a machine local to server i-e client nd server r at same machine )
I m uploading a file nd saving it at server.
PROBLEM:
server save my uploaded file at
C:\Program Files\Allaire\JRun\servers\default
[ a path where server is installed ]
while I want to save it at directory
c:\testing\uploadfiles
How can I achieve this???
waiting for quick reply..
KasPakhere is a function for which u said,
protected void readAndSaveFile(MultipartInputStreamHandler in,
String boundary,
String filename,
String contentType) throws IOException
A utility method that reads a single part of the multipart request that represents a file, and saves the file to the given directory. A subclass can override this method for a better optimized or differently behaved implementation.
again saving a file, or uploading a file is no problem,
but saving a file at our desired location,
nd this can only be done if we know reall/absolute path of our application at server,
i-e we need an API which can tells the absolute path of our application.
e.g
our application url is http://kaspak/testcode
we need its absolute mapping to directory on server
e.g it it is at c:\testcode
if we get the absolute path then we can pass it in above function or in File class constructor.
isn't it??
I think in this way i can save file at other location.
But how i can get absolute path?????
thanks for ur reply,
nd waiting for ur reply again.
wbw
kaspak -
New Apache sites return 500 Internal Server Error for all CFML requests
This is an ugly one. I think it is an Apache2 - ColdFusion 9 web server connector problem.
I have two Solaris Unix web servers. Each of these servers have a dozen and a half Apache web sites each one connected to one of five ColdFusion instances.
All, but TWO of them are working properly. We created two new Apache web sites and connected them to a new ColdFusion instance. This worked fine on one of our boxes, the development one, but not on the other, production of course.
Whenever we try to request a cfm url from one of these sites on the production server we get a 500 Internal Server Error. HTML pages serve up just fine, and the new instance's Administrator runs fine on its 8305 port. So both Apache and ColdFusion seem to be working independently, but they are not talking to each other. All the other Apache sites connected to the other four ColdFusion instances also work properly.
This has led me to investigate the web server connectors. They have always been tricky and problematic to set up on these boxes. The built in tools have never worked for us on these boxes and we have always had to manually compile the connectors and configure the connections in the web sites..
But, as far as I can tell, all the connection setups are the same between working examples and these non-working sites.
Any insights into what else I should be checking and|or how web server connectors actually work (they have alwasy been mysterious black boxes to me) would be greatly appreciated.
TIA
IanSome more information.
I took a closer look at the logs (I wasn't looking
in the Apache logs before). I found this block for the last attempt to
request a cfm page.
[Tue Nov 23 15:17:17 2010] [notice] jrApache[18177: 60758] could not
open serverstore "/opt/jrun4/lib/wsconfig/www/jrunserver.store": No such
file or directory[Tue Nov 23 15:17:17 2010] [notice] jrApache[18177:
60758] Couldn't initialize from remote server, JRun server(s) probably
down.
What I don't understand is why could it not open that file, it is there
and it has the same permissions as all the other web server connectors.
/opt/jrun4/lib/wsconfig/www
$ ls -al
total 166
drwxr-xr-x 2 root root 512 May 29 13:51 .
drwxr-xr-x 8 root root 512 May 29 13:51 ..
-rw-r--r-- 1 root root 14 May 29 13:51 jrunservers.store
-rwxr-xr-x 1 root root 81528 May 29 13:51 mod_jrun20.so
The following is the 'calpip' connector folder that is working just fine.
/opt/jrun4/lib/wsconfig/calpip
$ ls -al
total 166
drwxr-xr-x 2 root root 512 May 29 13:51 .
drwxr-xr-x 8 root root 512 May 29 13:51 ..
-rw-r--r-- 1 root root 14 May 29 13:51 jrunservers.store
-rwxr-xr-x 1 root root 81528 May 29 13:51 mod_jrun20.so -
Multiple Apache Servers tied to CF8/JRUN?
I've got CF6 experience over J2EE, but now I'm trying to
deploy CF8 over
embedded JRUN 4.0 on an OS X Tiger Server (10.4.10) and
running into some
headaches. From what I can see in the JRUN 4 documentation I
need to enable
Proxy Service so that I can have multiple web hosts tied into
the same CF8
server, but I can't figure out how to do this. The CF8
documentation doesn't
talk about embedded JRUN very much. Is there an administrator
interface for
embedded JRUN or should I attempt to edit jrun.xml by hand?
Or am I totally on
the wrong track?
Any help would be appreciated.
What follows are the nitty-gritty details.
The JRun / CF8 server is running at 192.168.1.100 and
jrun.xml contains the
following snippet (the default);
<service class="jrun.servlet.jrpp.JRunProxyService"
name="ProxyService">
<attribute
name="activeHandlerThreads">50</attribute>
<attribute
name="minHandlerThreads">1</attribute>
<attribute
name="maxHandlerThreads">1000</attribute>
<attribute name="mapCheck">0</attribute>
<attribute
name="threadWaitTimeout">300</attribute>
<attribute name="backlog">500</attribute>
<attribute name="deactivated">false</attribute>
<attribute name="interface">*</attribute>
<attribute name="port">51800</attribute>
<attribute name="timeout">300</attribute>
<!-- set this to false for multi-hosted sites -->
<attribute
name="cacheRealPath">false</attribute>
<!--
<attribute
name="keyStore">{jrun.rootdir}/lib/keystore</attribute>
<attribute
name="keyStorePassword">changeit</attribute>
<attribute
name="trustStore">{jrun.rootdir}/lib/trustStore</attribute>
<attribute
name="socketFactoryName">jrun.servlet.jrpp.JRunProxySSLServerSocketFactory</attr
ibute>
-->
</service>
The Apache server running on the same machine
(192.168.1.100) contains the
following connection info in its httpd.conf file. This works
beautifully.
# JRun Settings
LoadModule jrun_module
/Applications/ColdFusion8/runtime/lib/wsconfig/1/mod_jrun.so
<IfModule mod_jrun.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore
/Applications/ColdFusion8/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51800
#JRunConfig Errorurl url <optionally redirect to this URL
on errors>
#JRunConfig ProxyRetryInterval 600 <number of seconds to
wait before
trying to reconnect to unreachable clustered server>
#JRunConfig ConnectTimeout 15 <number of seconds to wait
on a socket
connect to a jrun server>
#JRunConfig RecvTimeout 300 <number of seconds to wait on
a socket receive
to a jrun server>
#JRunConfig SendTimeout 15 <number of seconds to wait on
a socket send to
a jrun server>
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr
.cfswf
</IfModule>
Where I run into trouble is when I enable the following
configuration on a
second Apache server (at 192.168.1.102). If I enable the
following code I get
errors. [Yes, /Applications/Coldfusion8 is populated
properly, as far as I can
tell, but I don't want to launch JRUN / CF8 on this machine.]
# JRun Settings
LoadModule jrun_module
/Applications/ColdFusion8/runtime/lib/wsconfig/1/mod_jrun.so
<IfModule mod_jrun.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ignoresuffixmap false
JRunConfig Ssl false
JRunConfig Serverstore
/Applications/ColdFusion8/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 192.168.1.100:51800
#JRunConfig Errorurl url <optionally redirect to this URL
on errors>
#JRunConfig ProxyRetryInterval 600 <number of seconds to
wait before
trying to reconnect to unreachable clustered server>
#JRunConfig ConnectTimeout 15 <number of seconds to wait
on a socket
connect to a jrun server>
#JRunConfig RecvTimeout 300 <number of seconds to wait on
a socket receive
to a jrun server>
#JRunConfig SendTimeout 15 <number of seconds to wait on
a socket send to
a jrun server>
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr
.cfswf
</IfModule>
Here are the connection errors that I receive when the
Apache server at
192.168.1.102 fires up:
[Thu Aug 9 16:36:40 2007] [notice] jrApache[25761:61918]
255.255.255.255:0
connect failed[54]: 49 49 Can't assign requested address
[Thu Aug 9 16:36:40 2007] [notice] jrApache[25761:61918]
could not
initialize proxy for fe80:0:0:0:203:93ff:feab:9662%4:51800
[Thu Aug 9 16:36:40 2007] [notice] jrApache[25761:61918]
255.255.255.255:0
connect failed[54]: 49 49 Can't assign requested address
[Thu Aug 9 16:36:40 2007] [notice] jrApache[25761:61918]
could not
initialize proxy for fe80:0:0:0:203:93ff:fec0:7676%5:51800
---END---Hi:
I played with this stuff and I found that this will work, without the Location elements:
<IfModule mod_weblogic.c>
MatchExpression /app1 WebLogicHost=server1|WebLogicPort=7003
MatchExpression /app2 WebLogicHost=server2|WebLogicPort=7003
</IfModule>
Also this will work too, with no entries inside the IfModule element:
<Location /app1 >
SetHandler weblogic-handler
WebLogicHost server1
WebLogicPort 7003
</Location>
<Location /app2 >
SetHandler weblogic-handler
WebLogicHost server2
WebLogicPort 7003
</Location>
Maybe you are looking for
-
guys hele me please..
-
Block purchase receipts for a material for a given period during MRP.
Hey all, What is the most simple way to block delivery of a material for a specific period of time within a plant? I want to block a 3 month period, where no deliveries can be received, however I still want to run MRP during this time. I want MRP to
-
Updation problem in custom infotypes.
HI ALL, I have created two custom infotypes, and the process is that one infotype updates the other infotype. When i open the first infotype by pa30 and then open the second and changes some value which update the first infotype table. now when i go
-
OS 10.4.8 on Intel and 4th Dimension
Hi, I think you are allready aware of this bug. But the database software 4th Dimension is totaly not workable anymore on 10.4.8,i wont get into details but a lot of math commands arent working the way they are supposed to. This is a very serious pro
-
Hi Everyone, I have a process order with production plant in plant A, I assigned batch automatically with our own customize program. I am wondering why the batch was created in Plant B. But as I was checking the process order itself I noticed in Assi