Ctxsrv as a Win2K service
Hello,
I would like to automatize the launching process of intermedia text server - "ctxsrv" - in Windows 2000.
My idea (which i already tried) is to start it as a service (I edited the Registry manally, and in the service path i wrote the command-line instruction to launch ctxsrv manual: ctxsrv -user ctxsys/<pwd>@<svc>).
This idea didn4t work, the way i tried it.
What I really want is to start the intermedia text server somehow, with or without command-line.
Any suggestions?
Thanks,
Tiago
ctxsrv is deprecated. We recommend using the package ctx_sync for synchronizating the indexes. Check the ctx_schedule sample code for more information.
Similar Messages
-
JavaService - can install java program into win2k service, but cannot run
i have a JavaService problem: i can install java program into win2k service, but cannot run
the version of javaservice is 2.0.7.0
the following is the message:
C:\DailyUpdate\dist>JavaService.exe -install DailyUpdate C:\Program Files\Java\j
dk1.5.0_05\jre\bin\client\jvm.dll -Djava.class.path=C:\DailyUpdate\dist\ftpbean.
jar;C:\DailyUpdate\dist\mysql-connector-java-3.0.10-stable-bin.jar;C:\DailyUpdat
e\dist\DailyUpdater.jar -Xms16M -Xmx64M -start DailyUpdateHandler -params C:\Dai
lyUpdate\dist -out C:\DailyUpdate\dist\logs\out.log -err C:\DailyUpdate\dist\lo
gs\err.log
The DailyUpdate automatic service was successfully installed
The DailyUpdate service is starting.
The DailyUpdate service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.I might be doing some programming for my company soon
which will require a program to monitor a database
and whenever there is a change to certain fields, it
must copy certain fields into another database. When I see "whenever thiere is a change to certain fields" I tend to think "triggers" - but maybe this won't work for you 'cause of the "another database" part. And the fact that triggers are inherently evil.
[snip]
Is it possible to run a Java program as a windows
service? And if so then how would you go about it? I'd hit Google - there're a couple ways to do this.
[snip]
Also,...if I were to use one of those programs which
can make an .exe of a Java program, then do you still
require the JRE to be on the machine? It depends on how you did the conversion. If you compile to native then no, if you just wrap up a JRE then yes.
Why I ask is
that I occasionally get asked to do small development
projects for my company, but we are a microsoft
partner and therefore do all the development in C#
and the like. So I would like to just implement as
many things in Java as I can, just to show everyone
that Java can do exactly what C# can do. But its
difficult to convince people of this since I always
require the JRE and they dont. Of course, they require the .NET framework and you don't. And last I looked that thing was around 23 Meg. -
Win2k service & java.policy configuration
Hi,
Got tomcat 4 on Win2k performing unrestricted encryption/decryption using chosen provider. When I launch tomcat from the console as an application all works fine, both ways (enc/dec). When tomcat is started automatically as a win2k service at boot, it generates errors and fails to enc/dec with following exception:
java.security.NoSuchProviderException
Does anyone knows how to configure the java.policy file, the catalina.policy or whatever is necessary to allow the Win2k service (tomcat 4) using the runas "LocalSystem" account in Win2k to be able to read and execute java security methods (ie ....Cypher.getInstance("..blah, blah"), as per Java 1.4 security model.
Any suggestions and/or examples would be great. ThanksHaving to modify the policy file defeats the whole point of using applets in the first place. If you have to install anything (such as a new policy file) on the client machine, you may as well install a GUI program.
Either get yourself a digital certificate and sign the applet, or use an independent program instead. -
Minimum user rights to run WLS 8.1 as a Win2k service
Anyone know what the "minimum" user rights are required to run WLS 8.1 as a service
on Win2k?
(no connections to remote server directories etc is required)"TomL" <[email protected]> wrote:
Anyone know what the "minimum" user rights are
required to run WLS 8.1 as a service on Win2k?Tom,
WebLogic can log on to Microsoft Windows NT 5.0/2000 under the
"LocalSystem" account. This is a local account used by system
processes.
So, your WebLogic Server 8.1 service, running in the context of the
LocalSystem account, would inherit these characteristics:
- This service cannot open the registry key: HKEY_CURRENT_USER...
- This service is allowed to open registry key:
HKEY_LOCAL_MACHINE\SECURITY...
- This service has limited access to network resources,
such as shares and pipes, because it has no credentials
and must connect using a null session...
- If the service opens a command window and runs a batch file,
the user could use CTRL+C to terminate the batch file and
gain access to a command window with LocalSystem permissions...
- This service cannot share objects with other applications
unless they are opened using a DACL or NULL DACL...
- Finally, if this Service requires anything more than a
brief moment to perform necessary initialization, it may
be required to create another thread to do the common
initialization while the main thread continues with
processing.
Brian J. Mitchell
Systems Administrator, MIS
TRX
6 West Druid Hills Drive
Atlanta, GA 30329 USA
http://www.trx.com
email: [email protected]
office: +1 404 327 7238
mobile: +1 678 283 6530 -
VB OO40 program as a WIN2K service
Is it possible to create a VB program that uses OO4O to connect to a database on a Unix server and have it running as a service on Win2K server?
JohnThere are free tools available...just google it.
Try http://jslwin.sourceforge.net/ -
I'm a bit new to win2K and don't completely understand how services are setup. I read somewhere that you could start catalina as a service but have not had any success. If someone could point me to a guide on how to setup a service using Tomcat4 as the example I would greatly appriciate it.
Perhaps I should just convince the domain account owner to switch over to BSD.Just so that people know I'm making some headway here. I've found a way to get the service to setup in 2K server but I haven't had any luck to get it to work on the prompt. Here's the information I'm getting.
To install a service:
-install service_name jvm_library (jvm_option)*
-start start_class [-method start_method] [-params (start_parameter)+]
[-stop start_class [-method stop_method] [-params (stop_parameter)+]]
[-out out_log_file] [-err err_log_file]
[-current current_dir]
[-path extra_path]
To uninstall a service:
-uninstall service_name
service_name: The name of the service.
jvm_library: The location of the JVM DLL under which to run the service.
jvm_option: An option to use when starting the JVM, such as:
"-Djava.class.path=c:\classes" or "-Xmx128m".
start_class: The class to load when starting the service.
start_method: The method to call in the start_class. default: main
start_parameter:A paramete to pass in to the start_method.
stop_class: The class to load when stopping the service.
stop_method: The method to call in the stop_class. default: main
stop_parameter: A parameter to pass in to the stop_method
out_log_file: A file to redirect System.out into.
err_out_file: A file to redirect System.err into.
current_dir: The current working directory for the service.
Relative paths will be relative to this directory.
extra_path: Path additions, for native DLLs etc.I've also found something called TomcatSVC but that seems to be a bit of a hack more than anything else. This is what I'm trying on the command line to try and get the service to install:
tomcat -install c:\jdk\bin\jre\java.dll... yet no luck. Any other ideas? -
Stopping the WL service from the Win2k Services screen is a simple "kill"?
I have another question related to WLS as a WinNt service:
If I use the WL console to stop a WL server, it initiates a normal shutdown.
So for example:
<The shutdown sequence has been initiated.> is put in the log.
If I just stop the service in Win2k using the Services screen, nothing is
logged.
I'm just curious if it's normal (so "Stop" is equal to ^C if I start WL from
the command prompt) or there is a problem in my configuraiton.
It's a minor question, but it would be much easier to start/stop WL from the
same place.
BR,
AdamI have another question related to WLS as a WinNt service:
If I use the WL console to stop a WL server, it initiates a normal shutdown.
So for example:
<The shutdown sequence has been initiated.> is put in the log.
If I just stop the service in Win2k using the Services screen, nothing is
logged.
I'm just curious if it's normal (so "Stop" is equal to ^C if I start WL from
the command prompt) or there is a problem in my configuraiton.
It's a minor question, but it would be much easier to start/stop WL from the
same place.
BR,
Adam -
Error Starting Weblogic Server as a Win2K service
Hi
I am unable to start Weblogic Server 6.1 as a Windows 2000 Server
service. Installation as NT service is successful and I used the password as
"weblogic" for the system user. But then when I try to start the service it gives
the following error complaining about incorrect password for the system user.
####<Sep 11, 2002 11:39:11 AM EDT> <Info> <Logging> <LDSERV10> <myserver> <main>
<> <> <000000> <FileLogger Opened.>
####<Sep 11, 2002 11:39:13 AM EDT> <Error> <Security> <LDSERV10> <myserver> <main>
<> <> <090052> <Server installed as NT Service with incorrect password for user
system.>
####<Sep 11, 2002 11:39:13 AM EDT> <Emergency> <Server> <LDSERV10> <myserver>
<main> <> <> <000000> <Unable to initialize the server: 'Fatal initialization
exception
Throwable: java.lang.SecurityException: Authentication for user system denied;
contact your administrator to correct NT Service attributes
java.lang.SecurityException: Authentication for user system denied; contact your
administrator to correct NT Service attributes
at weblogic.security.SecurityService.initializeSuid(SecurityService.java:308)
at weblogic.security.SecurityService.initialize(SecurityService.java:118)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:390)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
'>
Please, any help is gratly appriciated.
Thanks
Babu"Babu Arumugam" <[email protected]> wrote:
>
Hi
I forgot to add in my prevoius msg that I am able to start the weblogic
server
from the cmd propt with out any error. The problem is only when I try
to start
it as a windows service .
Thanks
babu
Have you resolved this yet?
I had the same problem, and read that if I add the
"-password <password>" argument to the "beasvc.exe" command
in the "intallNtService.cmd" script, the problem was resolved.
To do this, you will have to use the "uninstallNtServer.cmd"
script to uninstall the service, edit the install script to
add the "-password <password>" argument to the beasvc.exe
command, then run the "installNtService.cmd" script to install
the service.
For me, it now works.
Good luck. -
Problems compiling jsps using WLS6.1sp3 as Win2k service
Two related issues:
Issue #1:
I'm encountering an error where the javac compiler cannot be found (when
trying to compile jsps) when running as a Windows Service. JAVA_HOME is set
in the profile and I'm passing in E:\bea\jdk131\bin in the extrapath
parameter of beasvc.exe. The error I get is a file permission exception -
unable to access (read) C:\WINNT\System32\javac. Question is - why is it
looking there and not in JAVA_HOME? To try and isolate this, I've removed
everything from the PATH and CLASSPATH environment variables except for
E:\bea\jdk131\bin but to no avail.
Issue #2:
I've also tried hard-coding the location E:\bea\jdk131\bin\javac.exe into
the config.xml and weblogic.xml. The error is then a file permission
exception - unable to access (read) .\E:\bea\jdk131\bin\javac. Note the
initial dot-slash... however, the weblogic.policy file is set to allow
read,execute access for all files and directories below E:\bea (I've even
tried to grant a permission to .\E:\....... but that didn't work either)
Hope someone can help - it's been driving me nuts for a week now! What do I
need to do to get Weblogic to find javac when running as a Windows Service?Hi Sudha
Plese see the error in the starting post. Do u agree with me now? The server is looking for org.apache.jsp.techSupport_jsp class.
Generated servlet error:
[javac] Compiling 1 source file
D:\MANTRA\jboss-3.0.4_tomcat-4.1.12\tomcat-4.1.x\work\M
inEngine\localhost\JSPTechSupport\techSupport_jsp.java:
2: cannot resolve symbol
symbol : class TechSupportBean
location: class org.apache.jsp.techSupport_jsp
TechSupportBean techSupportBean = null;
^
An error occurred at line: 2 in the jsp file:
/techSupport.jsp
Generated servlet error:
D:\MANTRA\jboss-3.0.4_tomcat-4.1.12\tomcat-4.1.x\work\M
inEngine\localhost\JSPTechSupport\techSupport_jsp.java:
4: cannot resolve symbol
symbol : class TechSupportBean
location: class org.apache.jsp.techSupport_jsp
techSupportBean = (TechSupportBean)
rtBean) pageContext.getAttribute("techSupportBean",
PageContext.APPLICATION_SCOPE);
^Take care.
Hafizur Rahman
SCJP -
How to run O9iAS as a Win2K Service?
We installed 09iAS using "0C4J_extended.zip". We would like to run 09iAS as a proper service within W2K instead of starting it manually within a MS-DOS box.
I haven't tried this with oc4j, but I've had good luck in the past with SRVANY.EXE out of the Windows NT Resource Kit for perl scripts, etc...
Just a thought.
Jeff -
Oracle and Instance Service Not Starting After Win2K Service Pack 4 Install
Please help
We are running Oracle 8.1.6 on Windows 2000 Server and everything ran fine. Our Network Admin installed Windows service pack 4 and now after a reboot we have to manually go in and start Oracle because it does not start automaticially.
I've looked everywhere and cannot find any documented resolution to this problem.
Regards,
AndyIf you completely patched your server then it might be related to the problems some of us are experiencing with a certain MS patch. Check this thread for more details:
ORACLE NOT AVAILABLE..ORA 01034 -
Labview application crashes with a Dr Watson Access violation c0000005 in win2K service pack 2 and 3
The application was developed on a Dell Optiplex PIV 2GHz, 512 MB Ram using LabVIEW 6.1 Profesional Control Development Suite. The exe runs for between 10 minutes and 21 days before exiting with a Dr Watson Access Violation error 0xc0000005. The basic stack dump info is as follows:
Application exception occurred:
App: (pid=312)
When: 2/4/2003 @ 20:54:51.843
Exception number: c0000005 (access violation)
*----> System Information <----*
Computer Name: NO1
User Name: No1
Number of Processors: 1
Processor Type: x86 Family 15 Model 2 Stepping 4
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: 2
Current Type: Uniprocessor Free
Registered Organization: xxxxxxxxxxxx
Registered Owner: xxxxxxxxxx
*----> Task List <----* edited for brevity
312 xxxxxxx.exe
1056 drwtsn32.exe
0 _Total.exe
State Dump for Thread Id 0x38c
eax=78e34ff8 ebx=79288ab8 ecx=00000001 edx=78e338cc esi=78e34ffd edi=78e338d1
eip=3027bf0d esp=0012fc70 ebp=0012fc7c iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000202
function: MoveBlock
3027bef7 fc cld
3027bef8 eb15 jmp CheckFPStat+0xe52 (3027ce0f)
3027befa 0fbae100 bt ecx,0x0
3027befe 7301 jnb CheckFPStat+0xa344 (30286301)
3027bf00 a4 movsb ds:78e34ffd=32 es:78e338d1=00
3027bf01 d1f9 sar ecx,1
3027bf03 0fbae100 bt ecx,0x0
3027bf07 7302 jnb CheckFPStat+0x654e (3028250b)
3027bf09 66a5 movsw ds:78e34ffd=3532 es:78e338d1=0000
3027bf0b d1f9 sar ecx,1
FAULT ->3027bf0d f3a5 rep movsd ds:78e34ffd=???????? es:78e338d1=00000000
3027bf0f 5e pop esi
3027bf10 5f pop edi
3027bf11 59 pop ecx
3027bf12 8be5 mov esp,ebp
3027bf14 5d pop ebp
3027bf15 c3 ret
The error is always "move block" and leads me to believe that it is a windows memory manager issue but I cannot resolve it. The application connects to an ethernet GPIB interface and to 10 Opto22 Ethernet brains via activeX. The processor runs about 25%, there are no apparent memory leaks, and there is at least 300Mb of free ram when the crashes occur. Any suggestions?
Thanks,
IanI am having the same issue with LabVIEW 7.1
From Dr. Watson:
Microsoft (R) Windows 2000 (TM) Version 5.00 DrWtsn32
Copyright (C) 1985-1999 Microsoft Corp. All rights reserved.
Application exception occurred:
App: (pid=2208)
When: 10/21/2005 @ 13:09:12.530
Exception number: c0000005 (access violation)
*----> System Information <----*
Computer Name: WEESUSCILPCWRM0
User Name: RDL
Number of Processors: 2
Processor Type: x86 Family 15 Model 4 Stepping 1
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: 4
Current Type: Multiprocessor Free
Registered Organization:
Registered Owner: Administrator
*----> Task List <----*
0 Idle.exe
8 System.exe
168 SMSS.exe
192 CSRSS.exe
188 WINLOGON.exe
240 SERVICES.exe
252 LSASS.exe
396 scardsvr.exe
472 svchost.exe
500 spoolsv.exe
568 dklog.exe
592 svchost.exe
616 FrameworkServic.exe
688 mcshield.exe
708 vstskmgr.exe
728 naPrdMgr.exe
844 regsvc.exe
860 mstask.exe
900 Smc.exe
1020 WinMgmt.exe
1048 Wuser32.exe
1076 CcmExec.exe
1188 dkcktkn.exe
1876 svchost.exe
916 explorer.exe
2172 shstat.exe
1988 tbmon.exe
1200 UpdaterUI.exe
2012 dkAutoReg.exe
2072 ERClient7.exe
1916 LabVIEW.exe
2288 notepad.exe
2284 notepad.exe
2208 WINWORD.exe
2424 agentsvr.exe
1900 DRWTSN32.exe -
9ias & win2k - services won't start
Recently installed 9ias, no install issues, however none of the services associated with 9ias will start - error 3221356569. Any ideas?
there is a problem with this windows installer package.a program required for this install could not be run.contact your support personnal or package vendor.
Even though you're getting this when uninstalling ASU, try the procedure from the following user tip with that one:
"There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows -
Listener service not start automatically after reboot in Win2K server Clust
Hi all,
I set up a two node Server Cluster with Microsoft Windows 2000 server cluster service. Hardware are two HP DL380 servers and HP MSA500 (the shared storage). The cluster's IP address is 10.1.241.65. When I shut down both servers and restart the primary server, the listener server service will not start automatically. The listener log is:
Started with pid=1108
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.1.241.65)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
32-bit Windows Error: 49: Unknown error
The service is set up automatically start. I suspect the cluster virtual IP is not available immediately after reboot. So I tried setting the Recovery after first failure and second failure to 3 minitues each, and setting up Dependencies of the listener on the cluster service in the Win2K Service panel. Neither worked.
The service can be manually start.
Any suggestion?
Frank.The command to start automatically the listener is :
lsnrctl start
check the parameters in : <ORACLE_HOME>/network/admin/listener.ora
check the IP address or host name
Joel Pérez -
Session Time out happens on Win2k Advanced Servers
Hi All,
I have configured a Admin server and 2 cluster servers. All are on Win 2000
Advanced Servers. After deploying EJBs to the cluster, when I try to log in
to our application ( Presentation logic is done by servelets & JSPs ) it
allows to log in but when I try to click a link to go to another page
session time out happens. This happens whenever I click a link or browser's
Refresh button. I have to repeatedly log in.
Have anyone faced this problem ? Is there a session time out problem with
WLS6.0 sp2 ?
Please respond.
Thanks
Nalika
Sorry I have fogottoned to add :
This problem occurs when I try to setup clustering manually as well as, as a
Win2k service (i.e Admin server & cluster servers as Win2k services)
"Nalika" <[email protected]> wrote in message
news:[email protected]..
> Hi All,
>
> I have configured a Admin server and 2 cluster servers. All are on Win
2000
> Advanced Servers. After deploying EJBs to the cluster, when I try to log
in
> to our application ( Presentation logic is done by servelets & JSPs ) it
> allows to log in but when I try to click a link to go to another page
> session time out happens. This happens whenever I click a link or
browser's
> Refresh button. I have to repeatedly log in.
>
> Have anyone faced this problem ? Is there a session time out problem with
> WLS6.0 sp2 ?
> Please respond.
>
> Thanks
> Nalika
>
>
>
>
Maybe you are looking for
-
I use PSE 5.0 and our hard drive recently crashed. The majority of the pictures were backed up to an external hard drive. I have since reinstalled PSE 5.0 and was able to restore the pictures from the external drive. However, after the pictures w
-
My speaker suddenly quit working, ear phones are ok, is there a setting for this
-
Delete document in a project that was created by copying from the Solution
Here is our scenario: We have a Solution linked to a Maintenance project. Additionally I have an Implementation project that I pulled Scenarios from the Solution as a starting point (ie. SD). I used the COPY documents option. Now, I would like to d
-
this is beginning to annoy me. first apple claims i had water damage and had to pay for a replacement iphone. $180.00 when there was someone else in the store that also had her phone crash when attempting the latest iOS update & her phone was fixed w
-
Sending .xlsx file from ABAP
Hi Experts, How can we send .XLSX file from ABAP. I have done as suggested in note 1459896 but it's not working. I have added the header table with such value concatenate '&SO_FILENAME=' lv_filename into lv_text_line. append lv_text_line to lt_att_