Any JAVA Api to start/stop dhcp server?
Hello,
Does JAVA has any API to start/stop DHCP server.
thanks,
shimsha
http://edocs.bea.com/wls/docs81/deployment/tools.html#998698
That is the API you need to what the weblogic.Deployer tool does.
Sam
Amir wrote:
Hi
Does anyone knows if weblogic 8.1 provides set of apis to start and stop J2EE
applications programmatically?
I know weblogic deployer provides the means to start and stop the J2EE applications
through scripts. What I want to know if the apis for the scripts are exposed to
be used within java code.
Thanks
Similar Messages
-
Java api to start/stop J2EE apps
Hi
Does anyone knows if weblogic 8.1 provides set of apis to start and stop J2EE
applications programmatically?
I know weblogic deployer provides the means to start and stop the J2EE applications
through scripts. What I want to know if the apis for the scripts are exposed to
be used within java code.
Thankshttp://edocs.bea.com/wls/docs81/deployment/tools.html#998698
That is the API you need to what the weblogic.Deployer tool does.
Sam
Amir wrote:
Hi
Does anyone knows if weblogic 8.1 provides set of apis to start and stop J2EE
applications programmatically?
I know weblogic deployer provides the means to start and stop the J2EE applications
through scripts. What I want to know if the apis for the scripts are exposed to
be used within java code.
Thanks -
Is there any Java API to interact/integrate with Adobe LiveCycle Policy Server
Hi,
We are already using Adobe LiveCycle Policy server & has manual process in place to send documents to clients.
Going forward we want to automate this document generation process. We are using Java, JEE in our application.
We are planning to use below steps to automate this process.
1) Administrator will create a Template in Adobe Policy Server and will map users intended to receive mails with this template
2) Our application will interact with Adobe Policy Server and use Template ID to generate PDF document and send mails to client.
Can anyone please let me know if there is any Java API which can be used to perform the above second step.
Thanks a lot for your help.
Best Regards - RoyHi Steven,
What you refer to is PDF Generator version 7.x Postscript edition.
In version 7 of the product there were 3 editions:
1. PDF Generator Professional
Create PDF files from a wide range of source files:
Print (PS, EPS, PRN)
Image (JPG, GIF, BMP, TIFF, PSD)
Standard office formats (DOC, XLS, PPT, WPD, MPP)
Text (TXT, RTF)
Web (HTML)
Design files (DWG, VSD)
Generate all types of Adobe PDF file formats:
PDF 1.3, 1.4, 1.5, 1.6
PDF/X-1a and PDF/X-3 for prepress document exchange
PDF/A for archiving with easy search and retrieval
Searchable PDF files from images
Convert PDF files to:
HTML documents
Text (TXT, RTF, accessible)
Images (TIFF, PNG, JPEG)
Print (PS, EPS)
2. PDF Generator Elements
Create PDF files from a wide range of source files:
Print (PS, EPS, PRN)
Image (JPG, GIF, BMP, TIFF, PSD)
Standard office formats (DOC, XLS, PPT, WPD, MPP)
Text (TXT, RTF)
Web (HTML)
Design files (DWG, VSD)
Generate all types of Adobe PDF file formats:
PDF 1.3, 1.4, 1.5, 1.6
PDF/X-1a and PDF/X-3 for prepress document exchange
PDF/A for archiving with easy search and retrieval
Convert PDF files to:
HTML documents
Text (TXT, RTF, accessible)
Print (PS, EPS)
3. PDF Generator Postscript
Create PDF files from a wide range of source files:
Print (PS, EPS, PRN)
Generate all types of Adobe PDF file formats:
PDF 1.3, 1.4, 1.5, 1.6
PDF/X-1a and PDF/X-3 for prepress document exchange
PDF/A for archiving with easy search and retrieval
So basically what you have is the very limited edition, doing exactly what you said. For more functionality you should opt for one of the other editions (that for version 7.x)
Today's version is the newer LC PDF Generator ES. You can look for its specifications at http://www.adobe.com/products/livecycle/pdfgenerator/
Thanks -
Can not start/stop fullfilment server after fresh install
Can not start/stop fullfilment server after fresh install
Product: e-business suite (11.5.9)
Platform: Win XP 5.1 (SP2)
We have performed a new installation of ebusiness suite in our windows platform.
Installtion went with out any problem.
But we can not start/stop the fullfilment server. While trying to start/stop the server we are getting follwing error message:
c:\oracle11i\prodcomn\admin\scripts\PROD_03274019ih\jtffmctl.cmd start
script returned:
C:\oracle11i\prodcomn\admin\scripts\PROD_03274019ih>echo off
You are running jtffmctl.cmd
Mon 13/09/2004
01:46 PM
"Starting Fulfillment Server for "PROD" on port "9300" ...\n"
"Error returned while running OUI"
ERRORCODE = 1 ERRORCODE_END
.end std out.
Class not found: oracle.apps.jtf.fm.engine.processor.Processor
Please let us know how to fix this issue.
Regards, Kunaledit the jtffmctl.cmd and make sure that it point to the correct java path, alse try to use java 1.4.1
-
Starting/stopping mobile server
Hi
This is a two part question dealing with the starting and stopping of mobile server...
To start the mobile server via win cmd line, I use java -jar oc4j.jar. How should I stop the server in this scenario? I have been using cntr-C in the dos window, I'm hoping there's a better way, but I haven't found any mention of it in the docs.
Secondly, when I install the windows service to start/stop mobile server, I am not able to login to the mobile server's administrative console - does anyone know the reason for this?
Thanks,
TimIn recent windows xp systems there is a command line tool named "kill" or something like that, to kill the process like unix systems (kill pid).
Also, killing the java process with ctrl/alt/suppr or using tools like process explorer (sysinternals) can achieve this.
For the second problem, also check if you have installed the repository in a back-end database (SYSTEM's password needed while installing mobile server). If you did not install the repository in back-end database this could also be the problem, I think. -
Is there any java API throgh which My program can get harddisk,cpu ID adres
hello
Is there any java api throuh which i can get hard disk and processor serial numbers.
i have already use
process p=Runtime.getTime().exec("cmd command");
please other than this send any java api, progamming technique that remain same on all plate forms
advance thanks
best regards>
Is there any java api throuh which i can get hard disk and processor serial numbers.
i have already use ..>1) What business is that information to your app.? Or to put that another way. Why do you want to know?
2) Those words are 'Java', 'API' and 'I' (which is always upper case).
3) One upper case letter should be used at the start of each sentence, not just once at the start of a post. -
Batch / script file to start /stop sap server
Hi,
I would like to start/stop SAP server using batch file (in windows). I need this, whenever we have to shutdown the server and restart of the server, so that SAP will automatically shutdown and restart using batch files while server restart cases? If anyone knows, please let me know. Thanks,
Regards,
Sundar.target of the 700 sapstartsrv improvement was to deliver identical functionality on all SAP platforms. As the DCOM programing model is only available on Windows platforms sapstartsrv.exe was enhanced by the WEB-Service interface and is available now on Unix too.
The DCOM SAPControl interface of sapstartsrv.exe is still existing, but only on Windows. Here you can use VB Script or any other programming language able to handle DCOM objects to write your own programs / scripts to interact with the SAPControl.
sapcontrol.exe is a command line program available since 700 which enables you control over nearly all functions of the sapstart service.
Even it has the same name as the DCOM interface it' something completly different.
regards
Peter
PS: sapcontrol syntax
usage: sapcontrol [
-prot GSOAP_HTTP| http using gsoap build in sockets (default)
NI_HTTP| http using SAP NI sockets (prefer Unix domain sockets)
NI_HTTPS| https using SAP NI sockets (prefer Unix domain sockets)
WINHTTP| http using Windows winhttp
WINHTTPS| https using Windows winhttp
PIPE Windows named pipes
[-user <user> <password>] OS user and password for Webservice authentication
[-repeat <N> <D>] Repeat Webmethod call <N> times (-1=forever) with <D> sec delay
-format list| List output format (default)
script Script output format
[-host <hostname>] Host to connect to (default: localhost)
-nr <instance nr.> SAP Instance number to connect to
-function <Webmethod> [parameter list]
Webmethods: Start
Stop [softtimeout sec]
Shutdown
RestartInstance [softtimeout sec]
StopService
StartService <SID>
RestartService
ParameterValue [<parameter>]
GetStartProfile
GetTraceFile
GetAlertTree
GetAlerts
GetEnvironment
GetVersionInfo
GetQueueStatistic
GetProcessList
GetInstanceProperties
ListDeveloperTraces
ReadDeveloperTrace <filename> <filesize>
ListLogFiles
ReadLogFile <filename> [<filter> [<language> [<maxentries> [<cookie>]]]]
AnalyseLogFiles [<severity 0-2>] [<maxentries>] [<starttime YYYY MM DD HH:MM:SS> <endtime YYYY MM DD HH:MM:S
S>]
OSExecute <command> <async> <timeout> <protocolfile>
SendSignal <pid> <signal>
GetSystemInstanceList
StartSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [<waittimeout sec>]]
StopSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [[<waittimeout sec>] [softtimeout sec]]]
RestartSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [[<waittimeout sec>] [softtimeout sec]]]
AccessCheck <function>
ABAPReadSyslog
ABAPReadRawSyslog
ABAPGetWPTable
J2EEControlProcess <processname> <function>
J2EEGetProcessList
J2EEGetThreadList
J2EEGetSessionList
J2EEGetCacheStatistic
J2EEGetApplicationAliasList
J2EEGetVMGCHistory
J2EEGetVMHeapInfo
StartWait <timeout sec> <delay sec>
StopWait <timeout sec> <delay sec>
WaitforStarted <timeout sec> <delay sec>
WaitforStopped <timeout sec> <delay sec>
Exitcode: 0: Last Webmethod call successfull
1: Last Webmethod call failed, invalid parameter
2: StartWait, StopWait, WaitforStarted, WaitforStopped timed out
3: GetProcessList succeeded, all processes running correctly
4: GetProcessList succeeded, all processes stopped
Security: Trusted connects without user and password check are possible through
Unix domain socket or Windows named pipes. Protected webmethods like
Start or Stop require a trusted connection or OS user and password
authentication. -
Any Java API available for character recognition.. Please help
Hi,
I am wondering if there are any Java API for identifying the character encoding of a text content. I came across NGramJ but not enough documentation to integrate with my application. Any help would be appreciated.
Thanks.I used this but the CharsetToolKit identifies only among UTF-8, UTF-16LE and UTF-16 not any other encodings like TIS-620 etc. I am new to this as well, so not sure whether I am doing it right. Please advise.
Also, if any samples of chardet would be appreciated.
One thing not sure, is when I send a message has Thai characters from Hotmail having my browser setting to Thai encoding(TIS-620) but my Hotmail account language is English and sent to one of my exchange accounts. In the outlook, the message looks gibbrish.
So I need the charset encoding detector to let me know what type of encoding is done on the content (as if you choose English as the language option, the Hotmail server doesn't have charset parameter in the content-type header) so that I can decode and re-encode to UTF-8.
Any immediate response would be appreciated. -
Any Java API - access for Form Manager forms
Hi All,
I have designed the forms using Adobe designer. Then I have deployed the forms in Form Server.
I want open/view that forms in separate jsp/java application instead using Form Manager.
Any Java API is available for viewing forms?
Please help me.
Thanks,
SaraHi Howard,
Thanks for your reply. As per developer_guide, I have creatd one jsp and tested in jboss application. I have faced one problem.
Please help me....
my jsp code:
String sFormQuery = "LeaveRequestForm.xdp";
String sFormPreference = "MSDHTML";
String sContentRootURI = "http://localhost:8080/LeaveRequest/forms";
String sTargetURL = "http://localhost:8080/LeaveRequest/LeaveRequestForm";
String sApplicationWebRoot = "http://localhost:8080/LeaveRequest";
try
EJBClient formServer = new EJBClient();
Hashtable props = new Hashtable();
props.put("INITIAL_CONTEXT_FACTORY","org.jnp.interfaces.NamingContextFactory");
props.put("URL_PKG_PREFIXES","org.jboss.naming");
props.put("PROVIDER_URL", "localhost:8080");
InitialContext initialContext = new InitialContext(props);
formServer.setInitialContext(initialContext);
com.adobe.formServer.interfaces.IOutputContext myOutputContext = (com.adobe.formServer.interfaces.IOutputContext)formServer.renderForm(sFormQuery,sFormPre ference, null, "CacheEnabled=false",
null, sApplicationWebRoot, sTargetURL, sContentRootURI, null );
ServletOutputStream oOutput = response.getOutputStream();
response.setContentType(myOutputContext.getContentType());
byte[] cContent = myOutputContext.getOutputContent();
oOutput.write(cContent);
catch(Exception e)
out.println(e);
Error Message:
com.adobe.formServer.interfaces.RenderFormException: java.lang.ClassCastException -
Is there any Java API equivalent to Javascript eval() method?
Is there any Java API equivalent to Javascript eval() method?
Regards
RakeshNo there isn't however you can use Jython (or another scripting language of your choice) to reproduce this functionality.
-
Any java api for Touch Chip TCKDU02 finger print reader
Hi
I am new to this, and i want to know any java api
that supports Touch Chip finger print reader
a default that came with TouchChip TCKDU02 sdk does not support
java,
help me
regards
B.Rameshwarithat supports Touch Chip finger print reader
a default that came with TouchChip TCKDU02 sdk does
not support
java,
help me sounds like you're not going to be able to interface with it
if it has an interface in another language, you might be able to write a wrapper interface using JNI -
Any Java API for dumping database?
As far as I know, the normal way to dump a database is to execute some command on the console.
Is there any Java API for dumping a database, so that the operation can be wrapped in the code?
The database system that I'm using is MySQL. Please help. Thanks!By "dumping a database" I mean exporting data in the database into a text file, as a backup, that can be used when restoring the database. For example, in MySQL, I can run "mysqldump" on the command line to dump the database into a file.
So far I still have no idea how to do this using JDBC or any other Java API. Please help! -
How to avoid time wastage in starting & Stopping weblogic server during development ?
It is very frustrating to stop the server and start the server for any small changes made in the application.
Is developer supposed to restart the server for for any small changes made along with the testing?
One restart(Stop and Start) activity takes more than 10-15 mins. in debug mode.
1) I make some changes then I start server in debug mode
2) I see some mistakes in my bean code
3) I change my bean.java or Impl.java
4) I make a futile effort to reload Jars and reload the page
5) It never takes my changes
6) Only changes in properties of jspx components will accept the changes at the page refresh
6) I add new component or new binding to jspx page, This will not even pay heed to re-deployment, I need restart the server
7) I work only 7 hrs a day (1 hr-lunch)! 7*60=420 mins.... lets say I make code changes 10 times a day 10*20(200) half day
is gone in just restarting server/redeploying changes.
8) So frustrating..... !!!
Que:
1) Is the developer is supposed to imagine all the errors beforehand and code so that he wont waste time in restarting?
2) How nice it would be that you just recompile the changes and you get to see your changes just by refresh...
that is why pl/sql development is so fast.
3) Is there any way to do it like that? or Are there are any quick tricks or precautions to avoid restarting the server.
4) Am I not following the correct development/deployment methods?
It will be really great help for me if you experts guide me on the practise you follow for restarting/redeploying.
Thanks
RahulRahul, please tell us your jdev version!
1) this always helps! In the old days you only compiled once a day and if the compiler found an error you had to wait a whole day until you got the next chance. Do feel privileged that you can compile multiple times. A restart is not nessecary in every case, but depending on the version you hit to restart more often. You should try to find out why it takes so long and minimize this time! Using 11.1.1.7.0 i start my server in less then a minute.
2) answer depends on the jdev version, but you don't get the speed of pl/sql for wenn application development.
3) one thing to do is to define the jdbc connections used in the server or then use jndi to access the resource. This way you don't lose a minute or connection stopping the server. Next it's best to keep the server as clean as possible. Read the log when the server starts and stops you get plenty of info what takes how long. Then start optimizing.
4) no, your method is ok.
Timo -
How to Start/Stop from Server Manager
Hello,
I am trying to figure out how to start/stop/restart my coldfusion servers from server manager. I have seen the instruction at this link:
http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSfd7453be0f56bba4-2a6b48f122a6582c7f-7ff e.html
However it mentions "place the jrunappstartup.war file under the directory <CF_Home>/runtime/servers/admin"
I do not know where to get this file from. Please help!
I am running ColdFusion standalone.
Any help is much appreciated,
Thanks,
DavidAn update to eariler posting. Configure CF9 Enterprise multiserver.
Likewise unable to find jrunappstartup.war file mentioned.
If I follow the instructions and try configure the SM Start Stop Details the Start Stop Restart
does not become an highlighted option.
Here are a couple screen cuts for interested readers-
Start Stop Details (are these correct Jrun items to fill in?):
Unable to restart from SM:
Regards, Carl. -
Unable to Start/Stop Directory server from console
We have two Directory Server 5.2 installations with both running as masters with replication between them. One of them was installed with the admin server and the other without. On the one that was installed without the admin server we added it afterwards.
We now find that on the one that had the admin server installed after the directory server that we cannot start/stop the directory server from the server console nor can we view or access backups or logs from the console. The system does however create the log and backup files and we can start/stop it from the command line.
I read in a post somewhere that the admin server can be created with a different user from the directory server or with the same username but a different domain and wondered if that was the problem but have looked through the configuration files on both machines and haven't managed to spot a discrepancy.
Does anyone have any ideas where and what to check?
Thanks in advance.
PeterAh, I wouldn't have recognized this scenario if you didn't report the scrozzled user name. The "access denied" error happens for the simple reason that 'IAyjcJlYKL' is not a valid user in your domain. Fancy that. If you look in your config.xml for the "node-manager-username" element, you may find the value is encrypted, and probably is 'IAyjcJlYKL'.
It might be best if you filed a support case for this. I can make some guesses about what you should do, but it's just a guess. In any case, if you try fixing something, make a backup of the file first.
The two things you can try doing are (backup the files and shut down everything first):
* Edit the nm_password.properties file, replacing the one "hashed" line with two lines, setting the "username" property and the "password" property, both in cleartext. When the nodemanager starts up, it will replace those two lines with the "hashed" value.
* Edit the config.xml file, replacing the values in the "node-manager-username" and "node-manager-password-encrypted" elements with their cleartext versions.
Then start up the nodemanager and server.
I'm familiar with this because I saw this happen, and I'm trying to remember the strange thing we had to do. I worked this out with BEA support a while ago. If it helps, my case number was #796710.
Maybe you are looking for
-
Issues syncing 2 iPhone 5's to iTunes on the Same computer
I just upgraded my wife and myself to iPhone 5's Previously we had the 4 and both Synced our phones on seprate computers. With the upgraded phones, I decided to move the syncing for both of them to a newer computer (a third machine) I have not ha
-
How should I partition data across 2 hard drives to make for less latencey?
Hello all! I am using a Dual 2.7 G5 Power Mac and I just bought the Hitachi 500GB internal hard drive to supplement the stock 250GB drive that came in the tower. I mostly want to orient my computer for the needs of a home recording studio. I am Logic
-
How do I consolidate my music without duplicating files?
I am a brand new Mac user. I just copied my entire MUSIC folder from my PC to my new iMac. It is now in the Music folder next to the itunes folder. If I run a consolidate, should I first uncheck the 'copy files to itunes media folder when adding to
-
How to execute code from a text file?
Hello all! How to execute some code lines from a text file? For example my file is: String varname = "somecontents"; JFrame frame = new JFrame(); frame.setVisible(true);How can I get contents of this file and parse them if I want get new JFrame and a
-
Mini Display Port as a video in?
Does anyone know if the mini display port can become a video in as opposed to video out only? If so, how?