How to connect the EJB webservices using kxmlrpc in J2ME
Hi all,
I am trying to develope a program in J2ME using kxmlrpc. I am having the EJB web serivce as server and its working fine , the webservice coding is as follows and i am using Sun application sever for web services
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import javax.ejb.EJBException;
import javax.ejb.Stateless;
import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.sql.*;
@Stateless()
@WebService()
public class test1 {
/* Sample Web Service Operation */
@WebMethod(operationName="sample_operation")
public String operation(@WebParam(name="param_name") String param) {
// implement the web service operation here
System.out.println("test the xml rpc");
param="helloworld";
return param;
Any body please help me how to call this web sevices method in J2ME client using kxmlrpc, i tried but it shows execption. And i want to know which url i want ot give inthe XmlRpcclient() and what are all the parameters to be given in xmlrpcclient.execute(). Anybody please help me on this and my kxml coding is as follows:
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.io.*;
import java.io.*;
import java.util.*;
import org.kxmlrpc.*;
public class kxmlrpc_demo extends MIDlet implements CommandListener {
private List list;
private Command exitCommand;
private String[] menuItems;
private Display display;
private Alert response;
private XmlRpcClient xmlrpc;
private Vector params, xmlArray;
public kxmlrpc_demo() {
//Initialize the User Interface
menuItems = new String[] {"Timestamp", "Randomizer", "AddressBook"};
list = new List( "Select a service", List.IMPLICIT, menuItems, null );
exitCommand = new Command( "Exit", Command.EXIT, 1 );
response = new Alert("Service Return", null, null, AlertType.INFO);
response.setTimeout( Alert.FOREVER );
//Add commands
list.addCommand( exitCommand );
list.setCommandListener( this );
//obtain a reference to the device's UI
display = Display.getDisplay( this );
}//end MyMidlet()
public void startApp() {
display.setCurrent( list );
}//end startApp()
public void pauseApp() {
}//end pauseApp()
public void destroyApp( boolean unconditional ) {
//clean up
list = null;
exitCommand = null;
display = null;
}//end destroyApp
public void commandAction( Command com, Displayable dis ) {
if ( dis == list && com == List.SELECT_COMMAND ) {
switch( list.getSelectedIndex() )
case 0:
try
xmlrpc = new XmlRpcClient( "http://localhost:4116/test1Service/test1?Tester" );
params = new Vector();
String serverTime = (String) xmlrpc.execute( "sysTime.getSystemTime", params );
response.setString( serverTime.toString() );
display.setCurrent( response );
catch ( Exception ex )
response.setString( ex.toString() );
ex.printStackTrace(); // DEBUG
display.setCurrent( response );
}//end try/catch
break;
case 1:
try
xmlrpc = new XmlRpcClient( "http://localhost:4116/test1Service/test1?Tester" );
System.out.println("url"+xmlrpc.getURL());
params = new Vector();
xmlArray = new Vector();
xmlArray.addElement( "param_name" );
// xmlArray.addElement( "5" );
// xmlArray.addElement( "12" );
params.addElement( xmlArray );
String serverTime = (String) xmlrpc.execute( "sample-operation", params);
System.out.println("servertime: "+serverTime);
response.setString( serverTime.toString() );
display.setCurrent( response );
catch ( Exception ex )
response.setString( ex.toString() );
ex.printStackTrace(); // DEBUG
display.setCurrent( response );
}//end try/catch
break;
case 2:
response.setString( "Not implemented yet." );
display.setCurrent( response );
break;
}//end switch( list.getSelectedIndex() )
else if ( com == exitCommand ) {
destroyApp( true );
notifyDestroyed();
}//end if ( dis == list && com == List.SELECT_COMMAND )
}//end CommandAction( Command, Displayable )
}//end MyMidlet
Thanks in advance.
regards
Senthil K
Any body please help me on this. I am really struggling on this
Similar Messages
-
Does any body know how to connect the fingerprint scanner using jmf is it p
Hai,
I am not getting how to connect the fingerprint scanner how we can do it is it possible for device independent application
If any body knows anything about this please mail me its very urgent for me
hope u will be able to tell me something about this .
Regards
K Naveen KumarHi,
Fingerprint scanners are not popular enough devices to be supported by Java yet. There's no general API or Java interface for it.
Each manufacturer of a fingerprint device will probably just ship their own drivers or SDKs. More than likely DLL's, so you'd need to write some JNI to call them.
If you want to allow your application to work with multiple devices, you will have to design it to do that. Ie. write a general "Fingerprint" interface, and write a class which implements that interface for each device you want to support.
Eg.
public interface FingerPrintAPI
public void initialiseScanner ( )
throws MyScannerException;
public byte[] getFingerPrint ( )
throws MyScannerException;
public double getMatchProbability ( byte[] fingerprint1, byte[] fingerprint2 )
throws MyScannerException;
public void closeScanner ( )
throws MyScannerException;
}I haven't used a fingerprint device at all, but that's how I would approach it.
regards,
Owen -
How to deploy the EJB which used Japanese word on Weblogic server
Hi All,
I am running a test on WIN 2K pro Japanese system. When I deploy an ejb bean with
using Japanese character in the Java src code and also in ejb-jar.xml file, some
exceptions were thrown.
I am thinking that the weblogic cann’t pass ejb-jar.xml which is encoding as UTF-8
but with Japanese character. Could you please let me know how to configure the
Weblogic to solve the problem or to encode the ejb-jar.xml differently?
Any suggestion will be welcome.
Thanks,
OUTPUT>>OUTPUT>>Invalid byte 3 of 3-byte UTF-8 sequence.
OUTPUT>>OUTPUT>>java.io.UTFDataFormatException: Invalid byte 3 of 3-byte UTF-8
s
equence.
OUTPUT>>OUTPUT>> at weblogic.apache.xerces.impl.io.UTF8Reader.invalidByte
(UTF8Reader.java:693)
OUTPUT>>OUTPUT>> at weblogic.apache.xerces.impl.io.UTF8Reader.read(UTF8Re
ader.java:445)
===
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for ejb
Module: ejb Error: Exception preparing module: EJBModule(ejb,status=NEW)
EJB ejb.jar ‚ð ejb.jar ‚©‚çƒfƒvƒƒC‚Å‚«‚Ü‚¹‚ñB
EJB ‚Ђ낱 ‚Å‚ÍA‚·‚×‚Ä‚Ì cmp/cmr ƒtƒB[ƒ‹ƒh‚ª¬•¶Žš‚ÅŠJŽn‚³‚ê‚é•K—v‚ª‚ ‚è‚Ü‚·BƒtƒB[ƒ‹ƒh
'‚È‚Ü‚¦‚P' ‚Í‚±‚ê‚É“K‡‚µ‚Ü‚¹‚ñB
at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:268)
at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232)
at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810)
at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
Making application available for use ... done.
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
weblogic.ejb20.compliance.ComplianceException: EJB ‚Ђ낱 ‚Å‚ÍA‚·‚×‚Ä‚Ì cmp/cmr
ƒtƒB[ƒ‹ƒh‚ª¬•¶Žš‚ÅŠJŽn‚³‚ê‚é•K—v‚ª‚ ‚è‚Ü‚·BƒtƒB[ƒ‹ƒh '‚È‚Ü‚¦‚P' ‚Í‚±‚ê‚É“K‡‚µ‚Ü‚¹‚ñB
at weblogic.ejb20.compliance.EJB20EntityBeanClassChecker.checkCMPFields(EJB20EntityBeanClassChecker.java:178)
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 weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:278)
at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232)
at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810)
at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2556)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for ejb
Module: ejb Error: Exception preparing module: EJBModule(ejb,status=NEW)
EJB ejb.jar ‚ð ejb.jar ‚©‚çƒfƒvƒƒC‚Å‚«‚Ü‚¹‚ñB
EJB ‚Ђ낱 ‚Å‚ÍA‚·‚×‚Ä‚Ì cmp/cmr ƒtƒB[ƒ‹ƒh‚ª¬•¶Žš‚ÅŠJŽn‚³‚ê‚é•K—v‚ª‚ ‚è‚Ü‚·BƒtƒB[ƒ‹ƒh
'‚È‚Ü‚¦‚P' ‚Í‚±‚ê‚É“K‡‚µ‚Ü‚¹‚ñB
at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:268)
at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232)
at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810)
at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
weblogic.ejb20.compliance.ComplianceException: EJB ‚Ђ낱 ‚Å‚ÍA‚·‚×‚Ä‚Ì cmp/cmr
ƒtƒB[ƒ‹ƒh‚ª¬•¶Žš‚ÅŠJŽn‚³‚ê‚é•K—v‚ª‚ ‚è‚Ü‚·BƒtƒB[ƒ‹ƒh '‚È‚Ü‚¦‚P' ‚Í‚±‚ê‚É“K‡‚µ‚Ü‚¹‚ñB
at weblogic.ejb20.compliance.EJB20EntityBeanClassChecker.checkCMPFields(EJB20EntityBeanClassChecker.java:178)
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 weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:278)
at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:232)
at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:810)
at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:766)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:200)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493)
at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:763)
at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1277)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2491)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>Open your server console (eg: http://localhost:7001/console)
Go to deployment modules
select ejb modules
Click deploy new ejb module
a browse will come, browse and find the applicaiton folder where u have kept your ejb
Select that and click deploy..
Error msg or successful message will come in the console window.
regards
SHanu -
How to connect the database (JDBC) using service name rather than SID
How should we make the connection to the database using service name. Initially, we are using the SID to make the database connection, with following setting in the data-source.xml in OC4J using ABCDB as the SID.
<data-sources>
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="jdbc/ABCDB"
location="jdbc/ABCDB"
pooled-location="jdbc/OracleDSPooled"
xa-location="jdbc/xa/OracleDSXA"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="ABC"
password="ABC"
url="jdbc:oracle:thin:@191.1.4.126:1521:ABCDB"
/>
</data-sources>
It work, but now we need to make the connection using this service name ABCSERVICE, but it doesn't work in the OC4J (JDBC). May I know how should we handle this connection?
Thanks and Regards,
PangFinally, I got the solution to make the database connection using service name, with putting the tnsname setting in URL portion.
url="jdbc:oracle:thin:@(description=(address=(host=191.1.4.126)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME = ABCSERVICE)))"
And now, it is working fine.
Regards,
Pang -
Please Its very urgent How to connect the thumb device using java media fra
I was new to JMF please help me
i wnat the code for connecting to the signatuure pad or thumb device present iam doing project in biometrics please if any body knows
the code farward it tome bye
Advance ThanksThe SecuGen FDx SDK for Java 1.0 Beta1 is now available. It is posted at http://sgdn.secugen.com. This is a JNI wrapper for the SecuGen FDx SDK v3.0. Sample source code including JSGD, A SWING version of the SecuGen Diagnostic utility. Currently only MS-Windows is supported.
Best regards.
=Dan=
Dan Riley - SecuGen -
How to connect an apple tv to an enterprise network with a username and a password?
I need to use it over my university's wifi. theres no option to enter username and password. how to connect the apple tv to such enterprise network?Contact the University's IT dept, they may be able to set something up on the network to allow the ATV to connect without the need for a user name/password.
-
How to connect to Digital Camera using JMF?
How to connect to Digital Camera using JMF?
Any example?
thxIf the DC has a mode that works like a web cam, and can generate either a VFW or DirecShow stream, then you could capture a frame of the stream, yes.
-
How to connect to AD without using ADWS?
How to connect to AD without using ADWS? Is it possible to do it? If yes, can teach me how to connect to AD and find their attributed?
Hi Noobycy,
There are few tools to find AD attributes without ADWS. See options you have below
1.ADFIND -
http://www.joeware.net/freetools/tools/adfind/ This is a command Line tool
2.
The ADSIEDIT tool
from the Windows Support Tools is a great tool to "explore" the AD.
http://technet.microsoft.com/en-us/library/cc731547.aspx
3. ADUC -
http://www.boostsolutions.com/blog/how-to-find-attributes-of-objects-in-active-directory/
Regards, MassonTech -
How to get the EJB "Cached Beans Current Count" in Command-Line
I use WebLogic console to monitor EJB's "Cached Beans Current Count" property in monitor tab, but I want to get the result in Command-Line using "weblogc.Admin".
What arguments to be used?
I can get the EJB property use:
java -cp weblogic.jar weblogic.Admin -url t3://svr:7001 -username weblogic -password weblogic GET -mbean mydomain:Application=myear,Name=myejb
.jar,Type=EJBComponent
How can I to get the "Cached Beans Current Count"Hello,
This should do the trick
$JAVA_HOME/bin/java -cp $CLASSPATH weblogic.Admin -url <server_url> -username <username> -password <password> GET -pretty -type EJBCacheRuntime -property CachedBeansCurrentCount
Also see http://e-docs.bea.com/wls/docs81/admin_ref/cli.html for more info.
Cheers,
Hoos
Message was edited by hoos at Nov 29, 2004 1:50 AM -
How to connect Sql Server 2000 using JDBC ODBC Driver
How to connect Sql Server 2000 using JDBC ODBC Driver ?
plz Send Syntax.
thanksIn SQL Server 2000 the driver class is com.microsoft.jdbc.sqlserver.SQLServerDriver
The connection URL for the default SQL Server 2000 database is jdbc:sqlserver://localhost:1433
Class.forName(
"com.microsoft.sqlserver.jdbc.
SQLServerDriver");
String url =
"jdbc:sqlserver://localhost:1433";
Connection conn = DriverManager.
getConnection(
url, "sa", "sqlserver"); -
How to create the new webservice in XI?
Hi All,
1. Could you please tell me how to create the new webservice in XI?
2. What tools we have to use to create it.?
3. How to send the SOAP request to XI?
Regards
SaraHi Sara,
<i>1. Could you please tell me how to create the new webservice in XI?</i>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
<i>2. What tools we have to use to create it.?</i>
/people/community.user/blog/2006/09/19/xi-webservice-studio--a-plain-jane-soap-tool
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
Altova is also a good option
<i>3. How to send the SOAP request to XI?</i>
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
SAP Note 856597
An Add-on
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
Regards,
Prateek -
How ADBC connection is benefits by using SAP HANA as secondary database ?
Hi,
I have one more important question.
How ADBC connection is benefits by using SAP HANA as secondary database in terms of performance wise for the access of data from HANA database as a secondary database.
I have 2 options and which is better for the good performance for accessing the data-
1 . In ABAP Reports in the SELECT statements by using CONNECTION (“HDB”) will this improve the
performance.
e.g : select * from BSEG into TABLE IT_TAB CONNECTION (“HDB”).
2. Will Create the Stored procedure in HANA studio and Call
from ABAP as below by using NATIVE SQL–
EXEC SQL
SET CONNECTION (‘HDB’).
ENDEXEC.
EXEC SQL.
EXECUTE PROCEDURE proc (IN p_in1
OUT p_out1 OUT p_out2 )
ENDEXEC.
Regards,
Pravin
Message was edited by: Jens Weiler
Branched from http://scn.sap.com/thread/3498161Hi Pravin,
Option 1: In this case ADBC might even worsen the performance due to the overhead in the ADBC framework. OpenSQL is the method to go here, as OpenSQL - from the ABAP point of view - features the optimal communication with the database while ADBC has overhead like constructor-calls for the statement, parameter binding, etc.
Option 2: In this case ADBC is comparable with EXEC SQL but features more options, e.g. clean concept of multiple connection (connection objects via CL_SQL_CONNECTION), exception handling, etc. So I strongly propose to favour ADBC over EXEC SQL, but not simply for performance reasons. You might have a look at the ABAP Language Help in your system on more information on ADBC and the advantages over Exec SQL.
Cheers,
Jasmin -
How do Connect the JAUD on a 915P Combo
How do Connect the JAUD on a 915P Combo MB
I have a case with a front panel. The wires are named:
2 wires "SPK R" (2 connecters on the same wire) Red wire
2 wires "SPK L" (2 connecters on the same wire) White wire
1 wire "GND" (Grund) Black wire
1 wire "M IN" (Microphone) Green wire
1 wire "M Bias" (Microphone) Blue wirenot sure ive looked at the main board manual and my new blower case has the same front audio hook ups but i was not able to locate the connections useing the mainboard manual that came with my main board im still wondering about how to connect the front audio my self ! 915p combo-fr
-
HT1529 how to connect to internet by using Ethernet Cable
how to connect to internet by using Ethernet Cable
I have apple mac book pro with retina display.plz send me the setting thank uThere's no setting. Plug in the cable to the adapter for either USB or Thunderbolt and plug the other end into your router. You can turn off wireless at that point.
-
How to find the NodeManager Status using WLST
Hi All,
can anyone please let me know how to find the nodemanager status using wlst, the nodemanager status whether it is 'Reachable' or not.
Thank you.Hi Bob,
As James pointed, we faced the same. We could not find any mbean to find the Node Manager Stat that we can monitor from Weblogic console.
The best I can suggest, use the below WLST command after connecting to 'Node Manager:
nm()
Currently connected to Node Manager to monitor the domain xxxdomain.Grep for 'connected to Node Manager to monitor the domain <Your WLS domain name>' and if successfull, your node manager is UP & Connected other wise not 'Reachable'.
Regards,
qumar
Maybe you are looking for
-
Adobe cs4 (trial) Installation problem to WinXP sp3
I tried to download and install CS4 (trial) with akamai download manager. When I go to CS4 folder, I try to run the setup but i get the error "The Adobe Setup encounter a problem and must be terminated" I tried to open the setup.exe from the zip fold
-
Update Rules to deal with Asymmetrical Records
Hello, Is there a way with standard update rules one can handle the following scenario: Incoming Datapackage: Char Char1 Char2 XYZ A - XYZ - B Desired result in an ODS (Char is the key of the ODS) Char Char1 Char2 XYZ A
-
Can anyone recommend a cheap, preferably free, conversion app to convert my .avi files to flash video or swf ( not quite sure what the differences are , could do with enlightening). I wish now I had taken the Macromedia u/g to studio offer that they
-
User authorization issue in portal
Hi Gurus, I am facing a problem with a user on a portal system. The user is not able to execute a query assigned to him, I have checked the groups and the ABAP roles assigned to him and they seem to be correct. Intrestingly if i copy the user to crea
-
WLC 4402 + 4 1130AP's.
Has anyone setup a WLC 4402 and few 1130AP's on their network? Here's the scenario we have VLAN's setup on our network. We want to be able an employee can connect to the internal network and public connect to a DSL Internet. I got the internal employ