Client Side Jar

Hi folks,
in the days of the good old 5.1 release there where rumors and promises
about a as-thin-as-possible-jar-file for client side usage containing
just the classes a swing client would need. I did not find this magic
jar in 6.0 and 6.1. Is there being worked on? Is there a list of
packages I can safely remove from the giant weblogic.jar in order to cut
it to a WebStart-with-dialup compatible size of let's say 2-5mb? Please
don't point me to verbose2zip, I won't spend weeks on finding every
possible way through WebLogic code ... :-)
Thanks for any insight!
Daniel

That's an easy one ;-). Include the original MANIFEST.MF in the
generated jar.
Daniel
-----Original Message-----
From: Nick Minnutello
[mailto:[email protected]]
Posted At: Friday, August 31, 2001 3:04 AM
Posted To: misc
Conversation: Client Side Jar
Subject: Re: Client Side Jar
Please let me know how you get on.
You can email me if you like.
We too are deploying our apps via JWS, and a 25MB jar will
drive the users
nuts, let alone us when we want to access the server in Hong Kong..!
I had problems with the verboseToZip - I could never get my
client to start
up. Is there some other fancy footwork you have to do apart from
the -verbose and the verboseToZip?
Do you need to exercise every code path in order to create
this file? Once
you have done a JNDI lookip, a few RMI calls, caught an
exception or two,
what else is there ? (I guess that you are using JMS and
FileT3 which makes
it more complicated). However, for straight RMI, is there
that big a risk?
I got a stack trace of:
Any clues anyone?
(I understand that a thin-client jar is on its way soon)
--------stack trace-------------------
java.lang.InternalError: error initializing kernel
at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:85)
at
weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitial
ContextFactory
Delegate.java:161)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInit
ialContextFact
ory.java:119)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at
com.bnpparibas.eqd.stingray.mantaray.servercontext.AbstractSer
verContext.<in
it>(AbstractServerContext.java:65)
at
com.bnpparibas.eqd.stingray.mantaray.servercontext.WebLogicCon
text.<init>(We
bLogicContext.java:35)
at
com.bnpparibas.eqd.stingray.mantaray.servercontext.ServerConte
xtFactory.crea
te(ServerContextFactory.java:34)
at
com.bnpparibas.eqd.stingray.mantaray.beans.ViewFactory.getCurr
encies(ViewFac
tory.java:247)
at
com.bnpparibas.eqd.stingray.mantaray.beans.ViewFactory.createT
ree(ViewFactor
y.java:206)
at
com.bnpparibas.eqd.stingray.mantaray.beans.ViewFactory.<init>(
ViewFactory.ja
va:61)
at
com.bnpparibas.eqd.stingray.mantaray.MantaViewManager.initaliz
e(MantaViewMan
ager.java:24)
at
com.bnpparibas.eqd.stingray.mantaray.MantaMainFrame.initialise
(MantaMainFram
e.java:114)
at
com.bnpparibas.eqd.stingray.mantaray.MantaMainFrame.<init>(Man
taMainFrame.ja
va:56)
at
com.bnpparibas.eqd.stingray.mantaray.MantaMainFrame.getInstanc
e(MantaMainFra
me.java:63)
at com.bnpparibas.eqd.stingray.mantaray.Manta.main(Manta.java:61)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:701)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:663)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:546)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:334)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:151)
at com.sun.javaws.Launcher.<init>(Launcher.java:113)
at com.sun.javaws.Main.main(Main.java:153)
"Daniel Hoppe" <[email protected]> wrote in message
news:[email protected]...
Thanks for the tip. Actually I have a fat swing-gui client which uses
quite a lot of features, T3 File Systems, EJB Calls, JMS etc.. I'm
afraid the Web Services client jar won't help me here.
I need to distribute it via WebStart, that's why the whole weblogic.jar
is just not acceptable. I used to use java -verbose and verboseToZip,
but that's a quite dangerous strategy, I can never be sure that I really
covered every codepath. I guess I will open a case and see if that
helps. Maybe I can at least get a change request for a future version...
Daniel
-----Original Message-----
From: Dimitri Rakitine [mailto:[email protected]]
Posted At: Monday, August 27, 2001 10:09 PM
Posted To: misc
Conversation: Client Side Jar
Subject: Re: Client Side Jar
6.1 does create small client jar if you use web services :
http://e-docs.bea.com/wls/docs61/webServices/client.html#1036653
Daniel Hoppe <[email protected]> wrote:
Hi folks,
in the days of the good old 5.1 release there where rumorsand promises
about a as-thin-as-possible-jar-file for client side usagecontaining
just the classes a swing client would need. I did not findthis magic
jar in 6.0 and 6.1. Is there being worked on? Is there a list of
packages I can safely remove from the giant weblogic.jar inorder to cut
it to a WebStart-with-dialup compatible size of let's say2-5mb? Please
don't point me to verbose2zip, I won't spend weeks on
finding every
possible way through WebLogic code ... :-)
Thanks for any insight!
Daniel--
Dimitri

Similar Messages

  • Sun-One Platform JMS (client-side jar?)

    Does anyone know if there is a JMS client-side jar file for
    the Sun-One Platform Edition?

    On Solaris they live in /usr/share/lib
    they are:
    jms.jar
    and
    imq.jar

  • Client side weblogic.management jar

    Hi,
    Could you help me with the following issue?
    I am writing a simple mgmt application that uses Weblogic's JMX APIs remotely
    via JNDI/RMI either from another VM on the same or another box (no firewall issues).
    All is fine except that the weblogic.management interfaces, stubs, and skeletons
    are all part of the huge weblogic.jar.
    Do you know where I can find a client side classes for weblogic.management? I
    noticed that the Weblogic 8.1 distribution comes with client side jars for other
    APIS (e.g. JMS, Web services, EJB etc.) but cannot find one for JMX.
    Thanks a lot for any insight on this,
    Piotr

    Hi Piotr,
    I do not believe there is a client side jar for wl management. This is
    being considered for our next release.
    Thanks,
    -satya
    Piotr Krychniak wrote:
    Hi,
    Could you help me with the following issue?
    I am writing a simple mgmt application that uses Weblogic's JMX APIs remotely
    via JNDI/RMI either from another VM on the same or another box (no firewall issues).
    All is fine except that the weblogic.management interfaces, stubs, and skeletons
    are all part of the huge weblogic.jar.
    Do you know where I can find a client side classes for weblogic.management? I
    noticed that the Weblogic 8.1 distribution comes with client side jars for other
    APIS (e.g. JMS, Web services, EJB etc.) but cannot find one for JMX.
    Thanks a lot for any insight on this,
    Piotr

  • 10g Forms Demo - Client side host command Jar file.

    Hi all,
    In the ORACLE 10g forms demo , client side host command jar is missing , atleast for me.
    Is that available at any link?
    Or anyone having it..?
    Please give me a clue..
    Or mail me, please([email protected])
    Thanks
    Jeneesh

    The deployment architecture is different between forms 10g and forms 6i.
    In Forms 6i HOST built-in command will run on the client machine since you are running as client/server, but in WebForms (Forms10g) the HOST built-in command will run on the middle tier which is your application server machine.
    In order to run hosts commands in WebForms you need to use webutil and use CLIENT_HOST in the webutil.
    check the [Forms 10g R2 Demo|http://download.oracle.com/otndocs/demos/Forms_Demos_10gr2.zip] for sample codes of webutil.
    You are using NO_SCREEN in your example, this will hide the window.
    Tony
    Edited by: Tony Garabedian on Nov 26, 2009 2:43 PM

  • Looking for a client side JAXP-RPC HandlerChain example

    I would like to add a handler to the client side of a RPC call using 7.0.1. I
    can’t find any examples to follow for this logic in WebLogic or at Sun’s site.
    Does anyone know of some sample code I can browse to?
    I believe I want to add some files as attachments to a RPC call. To add them
    to the message, it looks like I should add them as an attachment in the handler.
    I see how this is done in the handler. However, I can’t find any useful documentation
    on setting the HandlerChain. I attempted this by following the Javadocs (HandlerRegistry,
    QName, HandlerInfo), but I must have left something out.
    Any suggestions for examples to follow?
    Thanks,
    Dave

    An example attached:
    regards,
    -manoj
    "Dave Lyons" <[email protected]> wrote in message
    news:3d9b508f$[email protected]..
    >
    >
    I would like to add a handler to the client side of a RPC call using7.0.1. I
    can't find any examples to follow for this logic in WebLogic or at Sun'ssite.
    Does anyone know of some sample code I can browse to?
    I believe I want to add some files as attachments to a RPC call. To addthem
    to the message, it looks like I should add them as an attachment in thehandler.
    I see how this is done in the handler. However, I can't find any usefuldocumentation
    on setting the HandlerChain. I attempted this by following the Javadocs(HandlerRegistry,
    QName, HandlerInfo), but I must have left something out.
    Any suggestions for examples to follow?
    Thanks,
    Dave
    [filetransfer.jar]

  • Client Side Javascript Validation not Working in Struts 1.x version

    hi,
    I'm following the steps provioded in the below link for Javascript Client side validation but still it is not working.I'm struggling to get this work.
    [http://www.visualbuilder.com/jsp/struts/tutorial2/pageorder/9/|http://www.visualbuilder.com/jsp/struts/tutorial2/pageorder/9/]
    "The framework automatically generates the browser specific JavaScript and validate the data only at the client side."From the above statement i undertstand that framework itself generates the javascript function for validating the field mentioned in validations.xml file so that we dont have to explicitly write a javascript function for
    validating the fields
    (or)
    Do we need to call an explicit function
    Please need help on this.
    I have followed all the steps mentioned on the above link but Client Side Javascript Validation not Working in Struts 1.x version....
    Thanks and Regards,
    Deepak

    Hi,
    Please find my steps below....still getting an error.
    2> which version of commons-validation.jar needs to be downloaded ...Link please
        downloaded the latest commons-validation.jar and placed in lib.refreshed the project,and did a build.
        3> which DTD name to be specified in "validator-rules.xml" which is in accordance to commons-validator.jar file.
    validator-rules.xml ::
    <!DOCTYPE form-validation PUBLIC
              "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
              "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">validation.xml:
    <!DOCTYPE form-validation PUBLIC
    "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.0//EN"
    "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
    i did as u said and im gettiong the below errorNov 5, 2009 4:33:08 PM org.apache.struts.validator.ValidatorPlugIn initResources
    SEVERE: Invalid byte 2 of 2-byte UTF-8 sequence.
    org.apache.commons.digester.xmlrules.XmlLoadException: Invalid byte 2 of 2-byte UTF-8 sequence.
         at org.apache.commons.digester.xmlrules.FromXmlRuleSet.addRuleInstances(FromXmlRuleSet.java:139)
         at org.apache.commons.digester.Digester.addRuleSet(Digester.java:1610)
         at org.apache.commons.digester.xmlrules.DigesterLoader.createDigester(DigesterLoader.java:89)
         at org.apache.commons.validator.ValidatorResourcesInitializer.initialize(ValidatorResourcesInitializer.java:122)
         at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:238)
         at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:181)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1036)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:455)
         at javax.servlet.GenericServlet.init(GenericServlet.java:212)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:927)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:890)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    Need help forum members.....
    Please reply to my question 1  which has been asked before as belowDo i need to write explicit javascript function for validation in Struts (or) struts generates the javascript function by itself.??? Please explain with an example....
    Edited by: Deepak_A_L on Nov 5, 2009 4:37 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • RMI client side callbacks

    Hi all,
    I have an RMI server and a number of clients that run on different machines. What I need to do is, implement the "observer" pattern. i.e.
    in my case, not only the clients call the server, but also the server
    must notify the registered clients when its state changes.
    For that purpose, I suppose, that my clients must also be RMI servers.
    My first question is, is that true what I suppose? Is there any other
    way to implement asynchron client side callbacks with RMI?
    My second question is, if it must be done so (clients are also RMI servers), how can I implement this? Server needs client interface jar
    file, ans client needs server interface jar file at compile time.
    (Important: I do not use any HTTP server from which I can load _Stub
    classes at runtime)
    I don't like this architecture at all and therefore think that there
    may be better solutions. One solution may be to poll the state of the
    server from the clients periodically, so that there is no need for
    callbacks. But that is also not the perfect solution for me.
    Can someone suggest anything else?
    Any idea will be greatly appreciated!
    Thank you

    Hello guvener
    Some time ago, I did exactly what you are thinking about. Here was the strategy.
    1. There was a server program, sitting (obviously) on the server machine, where rmiserver was running. The server class had only a single public method for the calling routines to call.
    2. That public method took, as a parameter, a transaction request. One possible transaction was, "Here is a message for another client." Another possible transaction was, "Listen out for a message for me." For example, a client would call the server with the "listen" transaction or with a "here's a message" transaction.
    3. When the calling method requested a "listen" transaction, the server would enter a "wait" state until it received a message for that particular client.
    4. To prevent blocking, there were three specific strategies:
    (a) The client would call the server with a "listen" transaction in a separate thread.
    (b) There was a "cancel" transaction that would allow a client to cancel its "listen" transaction with the server.
    (c) There was a "close-down" transaction that would allow the server to tell the clients their "listen" transactions had been cancelled, as it was closing down.
    This requires thorough and careful planning. However, once the classes are correctly planned, this strategy is elegant and simple and leads to only a small amount of coding. It's also flexible, without any restrictions on how many transactions a client could request at a time.
    Do be careful to synchronize where applicable!
    I hope this helps.

  • The service DS.AdminService could not be found on the client side

    HI,
    we have installed below
    Software
    Version
    IPS
    INFORMATION PLATFORM SERVICES 4.1 SP02 WINDOWS (64B
    Data Service
    DATA SERVICES 4.2 WITH SP01 WINDOWS (64B)
    Information Steward
    INFORMATION STEWARD 4.2 WITH SP01 WINDOWS
    SAP NW 7.4
    Netweaver 7.4 portal
    When I login to portal with  below links I am able to see the related screens.
    http://host:port/irj/portal
    http:://host:port/BOE/CMC
    http://host:port/BOE/InfoStewardApp/1403181301/ICCExplorer/logon.do
    However when I log:portin with below link using admin account I am facing error :
      Welcome Administrator
      Logout
      The service DS.AdminService could not be found on the client side (FWM 02027)
    Please see attachment.
    http://://host:port/DataServices
    Please help. Thanks.
    Regards,
    Krishnam

    Please see below properties for EIM APS. please let me know where can I check.
    Server Name:
    ID, CUID:
    3806 ,  AWJiF9VQoMtJiEyRIjv0py4
    Node:
    USMHR1_ERP301 (USMHR1-ERP301, SAPDataServices-S)
    Description:
    EIM Adaptive Processing Server
    Command Line Parameters 
    -server -Dcom.sap.vm.tag=USMHR1_ERP301.EIMAdaptiveProcessingServer -Djava.awt.headless=true "-Dbobj.enterprise.home=D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/" "-Dbobj.javaserver.home=D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/java/pjs/container/" "-Dboe.common.dir=D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/java/lib/" "-Dboe.external.dir=D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/java/lib//external" "-Dboe.bundles.dir=D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/java/lib//bundles" "-Djava.io.tmpdir=D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/java/pjs/container/temp" "-Dbusinessobjects.logs.home=D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/logging/" "-XtraceFile=D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/logging/aps_USMHR1_ERP301.EIMAdaptiveProcessingServer_jvm.log" "-XX:GCHistoryFilename=D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/logging/aps_USMHR1_ERP301.EIMAdaptiveProcessingServer_gc.prf" "-Xloggc:D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/logging/aps_USMHR1_ERP301.EIMAdaptiveProcessingServer_gc.log" -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:LogGcMaxFileCount=3 -XX:LogGcMaxFileSize=5m "-XX:ErrorFile=D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/logging/[email protected]" -Xms512m -Xmx2g -XX:MaxPermSize=256m -XX:+UseParallelOldGC -XX:+HeapDumpOnOutOfMemoryError "-XX:HeapDumpPath=D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/logging/" -XX:+ExitVMOnOutOfMemoryError -Xjvmx -XsapSystem:08 -Xrs -Djava.net.preferIPv4Stack=false -jar "D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/java/pjs/container/bin/boeserver.jar" -workdir "D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/java/pjs/container/work"
    -name USMHR1_ERP301.EIMAdaptiveProcessingServer -pidfile "D:/SAP BusinessObjects4.1IPS/SAP BusinessObjects Enterprise XI 4.0/serverpids/USMHR1_ERP301_USMHR1_ERP301.EIMAdaptiveProcessingServer.pid" -ns USMHR1-ERP301.corp.pattersoncompanies.com:6400
    Common Settings 
    Request Port:
    Auto assign
    Host Identifiers:
    Auto assign
    Hostname
    IP Address
    Hostname Value
    (IPv4)    (IPv6)
    Automatically start this server when the Server Intelligence Agent starts
    Use Configuration Template
    Services Manager
    Service Startup Timeout (seconds):
    Restore System Defaults
    Set Configuration Template
    TraceLog Service
    Use Configuration Template
    Log level:
    Unspecified
    None
    Low
    Medium
    High
    Restore System Defaults
    Set Configuration Template
    Data Services Job Launcher Service
    Use Configuration Template
    Configuration Parameters
    Log Level:
    NONE
    INFO
    FINER
    Restore System Defaults
    Set Configuration Template
    Data Services RFC Server Service
    This service has no configuration property.
    Data Services View Data Service
    Use Configuration Template
    View Data Service Configuration
    Service Name:
    Listener Port:
    JMXConnector Port:
    BatchSize (KB):
    Minimum Shared Service Providers:
    Maximum Shared Service Providers:
    Maximum Dedicated Service Providers:
    Recycle Threshold:
    Number of attempts to launch service provider:
    Maximum idle time for shared service provider (minutes):
    Log Level:
    NONE
    INFO
    FINER
    Restore System Defaults
    Set Configuration Template
    Data Quality Service
    This service has no configuration property.
    Data Services Metadata Browsing Service
    Use Configuration Template
    Metadata Browsing Service Configuration
    Service Name:
    Maximum Data Source Connections:
    Retry attempts to launch Service Provider:
    Stateful Connection Timeout (seconds):
    Stateless Connection Timeout (seconds):
    Recycle Threshold:
    Log Level:
    NONE
    INFO
    FINER
    Collect Connection Statistics
    Listener Port:
    JMXConnector Port:
    Restore System Defaults
    Set Configuration Template
    Cleansing Package Builder Auto-analysis Service
    This service has no configuration property.
    Information Steward Data Review Service
    Use Configuration Template
    Data Review Service configuration
    Log Level:
    FINEST
    FINER
    FINE
    CONFIG
    INFO
    WARNING
    SEVERE
    Restore System Defaults
    Set Configuration Template
    Information Steward Metadata Search Service
    Use Configuration Template
    Search Service configuration
    Log Level:
    FINEST
    FINER
    FINE
    CONFIG
    INFO
    WARNING
    SEVERE
    Restore System Defaults
    Set Configuration Template
    Information Steward Metadata Integrator Service
    Use Configuration Template
    Integrator Service configuration
    Log Level:
    FINEST
    FINER
    FINE
    CONFIG
    INFO
    WARNING
    SEVERE
    Restore System Defaults
    Set Configuration Template
    Information Steward Application Service
    Use Configuration Template
    Application Service configuration
    Log Level:
    FINEST
    FINER
    FINE
    CONFIG
    INFO
    WARNING
    SEVERE
    Restore System Defaults
    Set Configuration Template
    Data Cleansing Advisor Service
    This service has no configuration property.
    Information Steward Administrative Task Service
    Use Configuration Template
    Task Services Configuration
    Concurrent Thread Instances:
    Thread process timeout (minutes):
    Log Level:
    FINEST
    FINER
    FINE
    CONFIG
    INFO
    WARNING
    SEVERE
    Restore System Defaults
    Set Configuration Template
    Cleansing Package Builder Publishing Service
    This service has no configuration property.
    Cleansing Package Builder Core Service
    This service has no configuration property.

  • Webservice without client side interface

    Is there a way to call a webservice from the client side with out having any jar or interface used in the client side?
    Can you recommend me some good links on this?
    Thanks

    The most flexible client invocation method is DII (Dynamic Invocation Interface). With this approach your client needs just the standard JAX-RPC JARs from the JWSDP, but it doesn't need any runtime classes generated by WSDL to Java mapping tools.
    The following link has some DII examples as well as comparisons with the other types of client invocations:
    http://www-128.ibm.com/developerworks/webservices/library/ws-javaclient/

  • I want to read a file on the client side

    Hi all,
    I want to read a file on the client side, then the server show the contents of that file.

    Signed applet sounds cool - I guess Microsoft's ActiveX technology would be the mirror of this.
    Write you file access code as you normally would and then just drop it in a applet and JAR it up.
    Use keytool to sign it - users will be requested to accept/review your certificate in order to grant file-access permissions.
    Warm regards.

  • JMS Exception at Client Side

    Hi All
    We have application consisting of applets
    a) We have signed the Application JAR (CA ) and put in the below attributes in the manifest file
    Codebase: <<CodebasePath>>
    Application-Library-Allowable-Codebase: <<CodebasePath>>
    permissions: all-permissions
    b) We use the wlclient.jar and wljmsclient.jar as well. For these JARS we have added the below attribute in the manifest file
    Permissions: all-permissions
    c) We are getting exceptions at the client side while launching the application ( JRE is 1.6.0_51)
    Exception in initJMS()>>>>>>>>>>>>>>>
    javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No]
      at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
      at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:232)
      at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:168)
      at javax.naming.InitialContext.lookup(Unknown Source)
      at com.orbitreasury.moneymarket.presentation.util.MessagingServiceFactory.initJMS(MessagingServiceFactory.java:142)
      at com.orbitreasury.moneymarket.presentation.util.MessagingServiceFactory.<init>(MessagingServiceFactory.java:102)
      at com.orbitreasury.moneymarket.presentation.util.MessagingServiceFactory.getInstance(MessagingServiceFactory.java:94)
      at com.orbitreasury.moneymarket.presentation.applet.FrontOfficeDesk.init(FrontOfficeDesk.java:328)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Caused by: org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(Unknown Source)
      at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(Unknown Source)
      at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(Unknown Source)
      at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(Unknown Source)
      at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
      at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
      at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
      at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:80)
      at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:208)

    Hi Amitava,
    This error may happen when creating foreign JMS server and user credentials (principal name) is not provided. As a result, Weblogic is unable to create the required JNDI name.
    To rectify the error you can provide principal name in the JMS Configuration and restart Weblogic. See the following for sample configuration required:
    <foreign-server name="ForeignServer">
    <sub-deployment-name>subDep</sub-deployment-name>
    <foreign-destination name="ForeignDestination">
    <local-jndi-name>localQueue</local-jndi-name>
    <remote-jndi-name>remoteQueue</remote-jndi-name>
    </foreign-destination>
    <foreign-connection-factory name="ForeignConnectionFactory-0">
    <local-jndi-name>localJNDI</local-jndi-name>
    <remote-jndi-name>remoteJNDI</remote-jndi-name>
    </foreign-connection-factory>
    <connection-url>t3://localhost:7010</connection-url>
    <jndi-properties-credential-encrypted>{3DES}yK0ERotSucIGRVFORfS4Kw==</jndi-properties-credential-encrypted>
    <jndi-property>
    <key>java.naming.security.principal</key>
    <value>weblogic</value>
    </jndi-property>
    </foreign-server>
    Refer to documentation below for more details:
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jms_admin/advance_config.html#wp1075917
    Hope it helps.
    Thanks,
    Cris

  • Deploying JAX-RPC Client for client-side application

    I have a java Swing client side application that I am attempting to integrate web services capabilities into. The web services were already written (new to web services myself), I am just calling them. Using Oracle's JDeveloper I managed to create proxies for the web services and to call them just fine, once I added the JAX-RPC Client library to my project.
    My only issue is how to deploy. Again within the development environment all works perfectly. I tried references to all the jar files identified by the Oracle JAX-RPC Client library to know luck. I've referenced other jar files I use for deployment with no issues.
    Anyone created standalone applciations before that call web services? How did you deploy the web service related libraries.
    I'm using JDeveloper 10.1.3.3.0 with Java 1.5.0_06.
    I appreciate any guidance provided.

    I found a solution, but it shouldn't have been that difficult. JDeveloper provides a view of what JARs are part of a library. I used that as a starting point of what JARs might be required for my instance. I switched to linking to the individual JARs within their JDeveloper installed locations directly instead of the single library. I then systematically starting removing them one-by-one from my list to determine which were actually being used in my implementation. I did this because there were way too many to deploy. Once that was done I created a separate directory for holding the required JARs files local to my application.
    Lastly, I had to take care of any internal references within the JARs that may link to other JAR files. So I opened each JAR and looked at its manifest and copied those files over. Then I repeated the steps of deternmining if they were really necessary and copying over other internal references until I had the complete list.
    In the end I ended up with a considerable smaller list of JARs then if I had just assumed all JARs within the library and their references. However, it was much more difficult then it needed to be.

  • Javaws, classpath, and OpenOffice client-side resources

    I've developed an application on top of OpenOffice which uses the installed openoffice jars and .dll's. I can't get the dll's to load using javaws. My root problem seems to be a non-standard way that openoffice is trying to load system libraries - from the OpenOffice forums, they use the location of a jar and then "go up one directory". My app works fine when I can provide control over the classpath (for example, from a batch file, ant, or eclipse) but I am stuck trying to webstart. The OpenOffice community has no answers.
    I've tried a huge number of permutations of things, based on advice from this forum:
    -- jar'ing up the installation jars and deploying them (works for the OpenOffice java classes, but not for the DLL loads)
    -- creating a custom class loader (again, works to load the java classes but not the DLL's)
    -- jar'ing up the installation DLL's and deploying them (doesn't have any effect)
    -- setting the system classpath in my code to the known client-side location of the installation (doesn't work - get NoClassDefFoundError)
    String cp = System.getProperty("java.class.path");
    String newcp = cp + System.getProperty("path.separator") +
                  "C:\Program Files\OpenOffice.org1.1.4\program\classes";
    System.setProperty("java.class.path", newcp);I would have thought the last attempt would have worked - I don't understand why the classes cannot be found. Does anyone have any positive experiences with manipulating classpath via javaws?
    Thanks,
    Dave Santo

    I've solved this issue.
    I had to create a shell application, launched via jnlp. The shell app grabs the webstart cached jar files, builds a classpath string with all these jars and the client-side OpenOffice installation location, and launches the real application, i.e.
    public static void main(String[] args)
        File tmpdir = new File(System.getProperty("java.io.tmpdir"));
        // build the constructedClasspathString, based on this class (see thread referenced below)
        String[] launchArgs = new String[4];  // or more if you want to copy in other arguments
        launchArg[0] = "java";
        launchArg[1] = "-cp";
        launchArg[2] = constructedClasspathString;
        launchArg[3] = targetClassNameString;
        // copy in other arguments as desired...
        Process p = Runtime.getRuntime().exec(launchArg, null, tmpdir);
        StreamGobbler out = new StreamGobbler(p.getInputStream(), "OUT");
        out.start();
        StreamGobbler err = new StreamGobbler(p.getErrorStream(), "ERR");
        err.start;
        int result = p.waitFor();
    }You definitely want to inherit this instance's environment, so don't override the 2nd argument to exec().
    The StreamGobbler stuff can be found here:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    The 'grabbing the webstart cached jar files' stuff can be found here (you'll want to modify it a little ...)
    http://forum.java.sun.com/thread.jspa?forumID=38&threadID=71208
    - Dave

  • Client Side Programs?

    Hi Guys. I want to know what are the Softwares needed in client side (End User) ?Does JBoss Needed at Client Side for J2EE application?

    it depends entirely on how you want the "end user" to interact with your application. if it's an rmi api, the end user will need to include some jboss jars. if it's a webservice or a web site, then the end user will not need any jboss specific jars.

  • Client side result set cache

    Hello,
    I try to get the client side result set cache working, but i have no luck :-(
    I'm using Oracle Enterprise Edition 11.2.0.1.0 and as client diver 11.2.0.2.0.
    Executing the query select /*+ result_cache*/ * from p_item via sql plus or toad will generate an nice execution plan with an RESULT CACHE node and the v$result_cache_objects contains some rows.
    After I've check the server side cache works. I want to cache the client side
    My simple Java Application looks like
    private static final String ID = UUID.randomUUID().toString();
    private static final String JDBC_URL = "jdbc:oracle:oci:@server:1521:ORCL";
    private static final String USER = "user";
    private static final String PASSWORD = "password";
    public static void main(String[] args) throws SQLException {
    OracleDataSource ds = new OracleDataSource();
    ds.setImplicitCachingEnabled(true);
    ds.setURL( JDBC_URL );
    ds.setUser( USER );
    ds.setPassword( PASSWORD );
    String sql = "select /*+ result_cache */ /* " + ID + " */ * from p_item d " +
    "where d.i_size = :1";
    for( int i=0; i<100; i++ ) {
    OracleConnection connection = (OracleConnection) ds.getConnection();
    connection.setImplicitCachingEnabled(true);
    connection.setStatementCacheSize(10);
    OraclePreparedStatement stmt = (OraclePreparedStatement) connection.prepareStatement( sql );
    stmt.setLong( 1, 176 );
    ResultSet rs = stmt.executeQuery();
    int count = 0;
    for(; rs.next(); count++ );
    rs.close();
    stmt.close();
    System.out.println( "Execution: " + getExecutions(connection) + " Fetched: " + count );
    connection.close();
    private static int getExecutions( Connection connection ) throws SQLException {
    String sql = "select executions from v$sqlarea where sql_text like ?";
    PreparedStatement stmt = connection.prepareStatement(sql);
    stmt.setString(1, "%" + ID + "%" );
    ResultSet rs = stmt.executeQuery();
    if( rs.next() == false )
    return 0;
    int result = rs.getInt(1);
    if( rs.next() )
    throw new IllegalArgumentException("not unique");
    rs.close();
    stmt.close();
    return result;
    100 times the same query is executed and the statement exection count is incemented every time. I expect just 1 statement execution ( client database roundtrip ) and 99 hits in client result set cache. The view CLIENT_RESULT_CACHE_STATS$ is empty :-(
    I'm using the oracle documentation at http://download.oracle.com/docs/cd/E14072_01/java.112/e10589/instclnt.htm#BABEDHFF and I don't kown why it does't work :-(
    I'm thankful for every tip,
    André Kullmann

    I wanted to post a follow-up to (hopefully) clear up a point of potential confusion. That is, with the OCI Client Result Cache, the results are indeed cached on the client in memory managed by OCI.
    As I mentioned in my previous reply, I am not a JDBC (or Java) expert so there is likely a great deal of improvement that can be made to my little test program. However, it is not intended to be exemplary, didactic code - rather, it's hopefully just enough to illustrate that the caching happens on the client (when things are configured correctly, etc).
    My environment for this exercise is Windows 7 64-bit, Java SE 1.6.0_27 32-bit, Oracle Instant Client 11.2.0.2 32-bit, and Oracle Database 11.2.0.2 64-bit.
    Apologies if this is a messy post, but I wanted to make it as close to copy/paste/verify as possible.
    Here's the test code I used:
    import java.sql.ResultSet;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import oracle.jdbc.pool.OracleDataSource;
    import oracle.jdbc.OracleConnection;
    class OCIResultCache
      public static void main(String args []) throws SQLException
        OracleDataSource ods = null;
        OracleConnection conn = null;
        PreparedStatement stmt = null;
        ResultSet rset = null;
        String sql1 = "select /*+ no_result_cache */ first_name, last_name " +
                      "from hr.employees";
        String sql2 = "select /*+ result_cache */ first_name, last_name " +
                      "from hr.employees";
        int fetchSize = 128;
        long start, end;
        try
          ods = new OracleDataSource();
          ods.setURL("jdbc:oracle:oci:@liverpool:1521:V112");
          ods.setUser("orademo");
          ods.setPassword("orademo");
          conn = (OracleConnection) ods.getConnection();
          conn.setImplicitCachingEnabled(true);
          conn.setStatementCacheSize(20);
          stmt = conn.prepareStatement(sql1);
          stmt.setFetchSize(fetchSize);
          start = System.currentTimeMillis();
          for (int i=0; i < 10000; i++)
            rset = stmt.executeQuery();
            while (rset.next())
            if (rset != null) rset.close();
          end = System.currentTimeMillis();
          if (stmt != null) stmt.close();
          System.out.println();
          System.out.println("Execution time [sql1] = " + (end-start) + " ms.");
          stmt = conn.prepareStatement(sql2);
          stmt.setFetchSize(fetchSize);
          start = System.currentTimeMillis();
          for (int i=0; i < 10000; i++)
            rset = stmt.executeQuery();
            while (rset.next())
            if (rset != null) rset.close();
          end = System.currentTimeMillis();
          if (stmt != null) stmt.close();
          System.out.println();
          System.out.println("Execution time [sql2] = " + (end-start) + " ms.");
          System.out.println();
          System.out.print("Enter to continue...");
          System.console().readLine();
        finally
          if (rset != null) rset.close();
          if (stmt != null) stmt.close();
          if (conn != null) conn.close();
    }In order to show that the results are cached on the client and thus server round-trips are avoided, I generated a 10046 level 12 trace from the database for this session. This was done using the following database logon trigger:
    create or replace trigger logon_trigger
    after logon on database
    begin
      if (user = 'ORADEMO') then
        execute immediate
        'alter session set events ''10046 trace name context forever, level 12''';
      end if;
    end;
    /With that in place I then did some environmental setup and executed the test:
    C:\Projects\Test\Java\OCIResultCache>set ORACLE_HOME=C:\Oracle\instantclient_11_2
    C:\Projects\Test\Java\OCIResultCache>set CLASSPATH=.;%ORACLE_HOME%\ojdbc6.jar
    C:\Projects\Test\Java\OCIResultCache>set PATH=%ORACLE_HOME%\;%PATH%
    C:\Projects\Test\Java\OCIResultCache>java OCIResultCache
    Execution time [sql1] = 1654 ms.
    Execution time [sql2] = 686 ms.
    Enter to continue...This is all on my laptop, so results are not stellar in terms of performance; however, you can see that the portion of the test that uses the OCI client result cache did execute in approximately half of the time as the non-cached portion.
    But, the more compelling data is in the resulting trace file which I ran through the tkprof utility to make it nicely formatted and summarized:
    SQL ID: cqx6mdvs7mqud Plan Hash: 2228653197
    select /*+ no_result_cache */ first_name, last_name
    from
    hr.employees
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute  10000      0.10       0.10          0          0          0           0
    Fetch    10001      0.49       0.54          0      10001          0     1070000
    total    20002      0.60       0.65          0      10001          0     1070000
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 94 
    Number of plan statistics captured: 1
    Rows (1st) Rows (avg) Rows (max)  Row Source Operation
           107        107        107  INDEX FULL SCAN EMP_NAME_IX (cr=2 pr=0 pw=0 time=21 us cost=1 size=1605 card=107)(object id 75241)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                   10001        0.00          0.00
      SQL*Net message from client                 10001        0.00          1.10
    SQL ID: frzmxy93n71ss Plan Hash: 2228653197
    select /*+ result_cache */ first_name, last_name
    from
    hr.employees
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.01          0         11         22           0
    Fetch        2      0.00       0.00          0          0          0         107
    total        4      0.00       0.01          0         11         22         107
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 94 
    Number of plan statistics captured: 1
    Rows (1st) Rows (avg) Rows (max)  Row Source Operation
           107        107        107  RESULT CACHE  0rdkpjr5p74cf0n0cs95ntguh7 (cr=0 pr=0 pw=0 time=12 us)
             0          0          0   INDEX FULL SCAN EMP_NAME_IX (cr=0 pr=0 pw=0 time=0 us cost=1 size=1605 card=107)(object id 75241)
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                       2        0.00          0.00
      log file sync                                   1        0.00          0.00
      SQL*Net message from client                     2        1.13          1.13The key differences here are the execute, fetch, and SQL*Net message values. Using the client-side cache, the values drop dramatically due to getting the results from client memory rather than round-trips to the server.
    Of course, corrections, clarifications, etc. welcome and so on...
    Regards,
    Mark

Maybe you are looking for

  • Install Tiger 10.4 on a Pismo

    I've read a few posts here about problems installing Tiger on a Pismo, which fails and ends up with kernel panics. I've had a few problems like this in the past. What I've found in my experience is that most of the trouble stems from having more than

  • Downloading and installing iTunes 7 so much frustration

    I have been trying to install iTunes 7 as an upgrade for several days now. I have tried several suggestions from the message boards and from Apple support. I can not delete the iTuneshelper files from the iTunes folder in programs and I can not delet

  • WRT54GS Firmware

    Hi just asking as im a WRT54GS UK v4.0 router owner and have been since 2005 but as i ve been updating my NAS's firmware, Motherboard Bios etc, i thought time i look at router. i ve flashed it with the latest on Linksys UK site1.50.6  11/14/2005 but

  • Info for newbie?

    Hi! I've had my MBP for about 2 weeks now, but MAC OS is still new to me:D I'm looking for 3 answers: 1. I've installed one app and then removed it manually, but it's still at startup and now showing some errors it can't be found. Where can I delete

  • Adding currency Symbol using formatNumber

    Hello, I want to display currency symbol along with the number in JSP. I tried the following two tags, but the currency symbol ( USD) is not displayed. <td> <fmt:formatNumber value="${row.col1}" type="currency" pattern="###,###"/></td> <td> <fmt:form