Dependencies and start method

Hi all,
Am I right assuming that the execution of start method (start/exec) takes place after all dependencies of an instance have been resolved ?
TIA
oliver

That's right.
- Stephen

Similar Messages

  • ServerMBean start and kill methods return unserializable objects

    The ServerMBean start and kill methods both return unserializable
    objects which makes them unusable from a JVM other than that on which
    the server runs.
    This is unfortunate, as one would expect these things to be fairly
    standard tasks for a JMX client.
    I noticed in 7.0 they have been deprecated along with stop() - is
    there a known workaround for the time being?
    Thanks,
    Andrew Rosenfeld.

    I can't really answer you final question yet, but I will add what I know at this time, and look into it later next week.
    The JNLPClassLoader extends SecureClassLoader, so as the doc you refer to implys (in it's chapter on SecureClassLoader), the PermissionCollection it grants to code is statically bound at the time a class's defineClass() is called. The JNLPClassLoader's getPermissions() method starts with super.getPermissions, so the current policy permissions are added to those granted by the jnlp client, but it is still unmodifyable after that.
    For local intrenet applications several configuration options have been added in 1.5.0 (J2SE 5.0) that may help.
    You can implement an enterprise wide system configuration that includes system or user level policy files.
    You can also configure pre-accepted certificates so all code signed by your company can be trusted without the users seeing a security warning dialog.
    /Dietz

  • Error configuring and starting Managed Server in WebLogic 10.3

    Hi,
    I am able to configure and start the Managed Server on windows environment. I am trying to configure Managed Server on linux environment. I am configuring the Managed Server with custom keystore. When I configured the Managed Server I specified the keystore/trustsote information in the Keystores tab of the Admin Console for Managed Server settings. Specified Private Key Alias, Password in SSL tab.But when I am starting the Managed Server from command line, I see the process looking for demo trust files and failing.
    Here is the command I run to start the Managed Server:
    ./startManagedWebLogic.sh MyManagedServer1 https://localhost.localdomain:8443
    Below is the console output:
    <Mar 11, 2015 12:37:44 PM PDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.45-b01 from Sun Microsystems Inc.>
    <Mar 11, 2015 12:37:45 PM PDT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
    Enter username to boot WebLogic server:beaadmin
    Enter password to boot WebLogic server:
    <Mar 11, 2015 12:37:53 PM PDT> <Info> <Security> <BEA-090908> <Using default WebLogic SSL Hostname Verifier implementation.>
    <Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /opt/wlserver_10.3/server/lib/DemoTrust.jks.>
    <Mar 11, 2015 12:37:53 PM PDT> <Error> <Security> <BEA-090132> <Could not open the keystore file /opt/wlserver_10.3/server/lib/DemoTrust.jks for read access. Exception: java.io.FileNotFoundException: /opt/wlserver_10.3/server/lib/DemoTrust.jks (No such file or directory)>
    <Mar 11, 2015 12:37:53 PM PDT> <Warning> <Security> <BEA-090164> <Failed to load trusted certificates from keystore /opt/wlserver_10.3/server/lib/DemoTrust.jks of type jks>
    <Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /opt/jre1.6.0_45/lib/security/cacerts.>
    <Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 11, 2015 12:37:53 PM PDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <Mar 11, 2015 12:37:53 PM PDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >
    <Mar 11, 2015 12:37:54 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
    <Mar 11, 2015 12:37:54 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
    <Mar 11, 2015 12:37:54 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
    <Mar 11, 2015 12:37:54 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
    <Mar 11, 2015 12:37:54 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
    <Mar 11, 2015 12:37:55 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
    <Mar 11, 2015 12:37:55 PM PDT> <Warning> <Security> <BEA-090477> <Certificate chain received from localhost.localdomain - 127.0.0.1 was not trusted causing SSL handshake failure.>
    <Mar 11, 2015 12:37:55 PM PDT> <Emergency> <Management> <BEA-141151> <The admin server could not be reached at https://localhost.localdomain:8443.>
    <Mar 11, 2015 12:37:55 PM PDT> <Info> <Configuration Management> <BEA-150018> <This server is being started in managed server independence mode in the absence of the admin server.>
    <Mar 11, 2015 12:37:55 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Mar 11, 2015 12:37:55 PM PDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Mar 11, 2015 12:37:55 PM PDT> <Notice> <LoggingService> <BEA-320400> <The log file /h/data/local/base_domain/servers/MyManagedServer1/logs/MyManagedServer1.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Mar 11, 2015 12:37:55 PM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /h/data/local/base_domain/servers/MyManagedServer1/logs/MyManagedServer1.log00015. Log messages will continue to be logged in /h/data/local/base_domain/servers/MyManagedServer1/logs/MyManagedServer1.log.>
    <Mar 11, 2015 12:37:55 PM PDT> <Notice> <Log Management> <BEA-170019> <The server log file /h/data/local/base_domain/servers/MyManagedServer1/logs/MyManagedServer1.log is opened. All server side log events will be written to this file.>
    <Mar 11, 2015 12:37:56 PM PDT> <Error> <Security> <BEA-000000> <[Security:090837]The configured keystore location for the PKI Credential Mapper is either null or empty.>
    <Mar 11, 2015 12:37:56 PM PDT> <Error> <Security> <BEA-000000> <[Security:090815]The password provided for the keystore configured for the PKICredential Mapper was null.>
    <Mar 11, 2015 12:37:57 PM PDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Mar 11, 2015 12:37:57 PM PDT> <Critical> <Security> <BEA-090403> <Authentication for user beaadmin denied>
    <Mar 11, 2015 12:37:57 PM PDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user beaadmin denied
    weblogic.security.SecurityInitializationException: Authentication for user beaadmin denied
            at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:966)
            at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054)
            at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
            at weblogic.security.SecurityService.start(SecurityService.java:141)
            at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
            Truncated. see log file for complete stacktrace
    Caused By: javax.security.auth.login.FailedLoginException: [Security:090303]Authentication Failed: User beaadmin weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090295]caught unexpected exception
            at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:251)
            at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            Truncated. see log file for complete stacktrace
    >
    <Mar 11, 2015 12:37:57 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Mar 11, 2015 12:37:57 PM PDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Mar 11, 2015 12:37:57 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    Why is it looking for demotrust.jks file to start the Managed Server. We don't use the demo trust and cannot copy to the location it is referring to. I followed the solution provided at the below link:
    http://serverfault.com/questions/106499/custom-trust-and-custom-identity-keystore-in-weblogic-10-3
    There are 2 options given in the link. To update the boot.properties of the Admin Server and appending JAVA_OPTIONS to DomainEnv file. Both of these caused the failure of Admin Server. I couldn't bring up the server after these changes.I also came across posts talking about boot.properties for Managed Server. I don't see the security folder that has boot.properties for my Managed Server (verified it on both windows and linux boxes).
    Thanks in advance.
    -nn.

    Hi Faisal,
    Here is the config.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <domain xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd"
            xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security"
            xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <name>JCRMDomain</name>
        <domain-version>10.3.4.0</domain-version>
        <security-configuration xmlns:xacml="http://xmlns.oracle.com/weblogic/security/xacml">
            <name>JCRMDomain</name>
            <realm>
                <sec:authentication-provider xsi:type="wls:default-authenticatorType">
                    <sec:control-flag>SUFFICIENT</sec:control-flag>
                </sec:authentication-provider>
                <sec:authentication-provider xmlns:ext="http://xmlns.oracle.com/weblogic/security/extension" xsi:type="ext:jcrm-authenticatorType">
                    <sec:name>JcrmAuthenticator</sec:name>
                    <sec:control-flag>SUFFICIENT</sec:control-flag>
                </sec:authentication-provider>
                <sec:role-mapper xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-role-mapperType"></sec:role-mapper>
                <sec:authorizer xmlns:xac="http://xmlns.oracle.com/weblogic/security/xacml" xsi:type="xac:xacml-authorizerType"></sec:authorizer>
                <sec:adjudicator xsi:type="wls:default-adjudicatorType"></sec:adjudicator>
                <sec:credential-mapper xsi:type="wls:default-credential-mapperType"></sec:credential-mapper>
                <sec:credential-mapper xsi:type="wls:pki-credential-mapperType">
                    <sec:name>PKICredentialMapper</sec:name>
                </sec:credential-mapper>
                <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"></sec:cert-path-provider>
                <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
                <sec:user-lockout-manager>
                    <sec:lockout-threshold>3</sec:lockout-threshold>
                    <sec:lockout-duration>15</sec:lockout-duration>
                    <sec:lockout-reset-duration>99999</sec:lockout-reset-duration>
                </sec:user-lockout-manager>
                <sec:deploy-role-ignored>false</sec:deploy-role-ignored>
                <sec:deploy-policy-ignored>false</sec:deploy-policy-ignored>
                <sec:fully-delegate-authorization>true</sec:fully-delegate-authorization>
                <sec:security-dd-model>DDOnly</sec:security-dd-model>
                <sec:combined-role-mapping-enabled>true</sec:combined-role-mapping-enabled>
                <sec:name>myrealm</sec:name>
                <sec:delegate-m-bean-authorization>false</sec:delegate-m-bean-authorization>
                <sec:password-validator xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator"
                                        xsi:type="pas:system-password-validatorType">
                    <sec:name>JCRMPasswordValidator</sec:name>
                    <pas:max-password-length>31</pas:max-password-length>
                    <pas:min-password-length>15</pas:min-password-length>
                    <pas:min-numeric-characters>2</pas:min-numeric-characters>
                    <pas:min-lowercase-characters>2</pas:min-lowercase-characters>
                    <pas:min-uppercase-characters>2</pas:min-uppercase-characters>
                    <pas:min-non-alphanumeric-characters>2</pas:min-non-alphanumeric-characters>
                </sec:password-validator>
                <sec:deployable-provider-synchronization-enabled>false</sec:deployable-provider-synchronization-enabled>
            </realm>
            <default-realm>myrealm</default-realm>
            <credential-encrypted>{AES}cpwhv2peqwl0Z8Ma1Jk7KlmC6d1gtCAqxnzrmR5ssybHpM9AUzbBRJ7rE7m4/7U16IHgsTMkcOr/5/abZJ4NeuHR45jdDK1EjFmnUuPssISmGkan3EIpCKHmPPIynVxh</credential-encrypted>
            <node-manager-username>wdUXiuwL5A</node-manager-username>
            <node-manager-password-encrypted>{AES}UDiZjaLOrm0y+/I9noQVURudpzmRKMBOQR2B8ofNIt8=</node-manager-password-encrypted>
        </security-configuration>
        <server>
            <name>AdminServer</name>
            <max-http-message-size>10000000</max-http-message-size>
            <ssl>
                <name>AdminServer</name>
                <enabled>true</enabled>
                <hostname-verifier xsi:nil="true"></hostname-verifier>
                <hostname-verification-ignored>true</hostname-verification-ignored>
                <client-certificate-enforced>false</client-certificate-enforced>
                <listen-port>8443</listen-port>
                <two-way-ssl-enabled>true</two-way-ssl-enabled>
                <server-private-key-alias>localhost.localdomain</server-private-key-alias>
                <server-private-key-pass-phrase-encrypted>{AES}eZnL/NM4/xJaFj8rZAE4oB2htDm3srPUsTWYtDXblvk=</server-private-key-pass-phrase-encrypted>
                <ssl-rejection-logging-enabled>true</ssl-rejection-logging-enabled>
                <allow-unencrypted-null-cipher>false</allow-unencrypted-null-cipher>
                <use-server-certs>true</use-server-certs>
                <jsse-enabled>true</jsse-enabled>
            </ssl>
            <listen-port-enabled>false</listen-port-enabled>
            <web-server>
                <keep-alive-secs>60</keep-alive-secs>
                <https-keep-alive-secs>60</https-keep-alive-secs>
            </web-server>
            <listen-address/>
            <java-compiler>javac</java-compiler>
            <tunneling-enabled>true</tunneling-enabled>
            <tunneling-client-ping-secs>45</tunneling-client-ping-secs>
            <tunneling-client-timeout-secs>40</tunneling-client-timeout-secs>
            <client-cert-proxy-enabled>false</client-cert-proxy-enabled>
            <key-stores>CustomIdentityAndCustomTrust</key-stores>
            <custom-identity-key-store-file-name>certstores/keystore</custom-identity-key-store-file-name>
            <custom-identity-key-store-type>JKS</custom-identity-key-store-type>
            <custom-identity-key-store-pass-phrase-encrypted>{AES}eZnL/NM4/xJaFj8rZAE4oB2htDm3srPUsTWYtDXblvk=</custom-identity-key-store-pass-phrase-encrypted>
            <custom-trust-key-store-file-name>certstores/truststore</custom-trust-key-store-file-name>
            <custom-trust-key-store-type>JKS</custom-trust-key-store-type>
            <custom-trust-key-store-pass-phrase-encrypted>{AES}uSkLzfC74bMCEjomgVdHtVw47iZg8BN71g7cdKr+XHo=</custom-trust-key-store-pass-phrase-encrypted>
        <overload-protection>
          <panic-action>system-exit</panic-action>
          <failure-action>force-shutdown</failure-action>
          <server-failure-trigger>
            <max-stuck-thread-time>600</max-stuck-thread-time>
            <stuck-thread-count>3</stuck-thread-count>
          </server-failure-trigger>
        </overload-protection>
        </server>
        <server>
          <name>MyManagedServer1</name>
          <ssl>
            <enabled>true</enabled>
            <listen-port>8445</listen-port>
            <server-private-key-alias>localhost.localdomain</server-private-key-alias>
            <server-private-key-pass-phrase-encrypted>{AES}eZnL/NM4/xJaFj8rZAE4oB2htDm3srPUsTWYtDXblvk=</server-private-key-pass-phrase-encrypted>
          </ssl>
          <machine xsi:nil="true"></machine>
          <listen-port>8444</listen-port>
          <listen-port-enabled>true</listen-port-enabled>
          <cluster xsi:nil="true"></cluster>
          <web-server>
            <web-server-log>
              <number-of-files-limited>false</number-of-files-limited>
            </web-server-log>
          </web-server>
          <listen-address></listen-address>
          <key-stores>CustomIdentityAndCustomTrust</key-stores>
          <custom-identity-key-store-file-name>certstores/keystore</custom-identity-key-store-file-name>
          <custom-identity-key-store-type>JKS</custom-identity-key-store-type>
          <custom-identity-key-store-pass-phrase-encrypted>{AES}eZnL/NM4/xJaFj8rZAE4oB2htDm3srPUsTWYtDXblvk=</custom-identity-key-store-pass-phrase-encrypted>
          <custom-trust-key-store-file-name>certstores/truststore</custom-trust-key-store-file-name>
          <custom-trust-key-store-type>JKS</custom-trust-key-store-type>
          <custom-trust-key-store-pass-phrase-encrypted>{AES}uSkLzfC74bMCEjomgVdHtVw47iZg8BN71g7cdKr+XHo=</custom-trust-key-store-pass-phrase-encrypted>
          <data-source>
            <rmi-jdbc-security xsi:nil="true"></rmi-jdbc-security>
          </data-source>
        </server>
        <production-mode-enabled>false</production-mode-enabled>
        <embedded-ldap>
            <name>JCRMDomain</name>
            <credential-encrypted>{AES}LNAnq4qCQQmy9rCOMN+uIZVPq1bVvPrwQqqtOScZrnYmwESt9aruHNVy4IjqMWz7</credential-encrypted>
        </embedded-ldap>
        <administration-port-enabled>true</administration-port-enabled>
        <configuration-version>10.3.4.0</configuration-version>
        <admin-server-name>AdminServer</admin-server-name>
    </domain>
    It has 'CustomIdentityAndCustomTrust' for both Admin Server as well as managed Server in it.
    Thanks,
    nn

  • Source2wsdd: ServiceGen does not contain a start method - help!

    Hello all Weblogic Users!
    I would greatly appreciate any help with this problem.
    I am getting this error when I do my build on Linux.
    [source2wsdd] source2wsdd: Doclet class weblogic.webservice.tools.ddgen.ServiceGen does not contain a start method.
    Previously I was getting an error where the ServiceGen class could not be found. This was occuring both in Windows and Linux.
    For Windows, this can be fixed in two ways. 1) Run setWLSEnv.cmd first (in weblogic81/server/bin. 2) (Unconfirmed but try it) Add the tools.jar, weblogic.jar, and webservices.jar to the ant runtimes lib in Eclipse (see preferences/ant/runtimes/global entries. - This will let you run the task inside Eclipse)
    In Linux, I added the webloigc.jar and webservices.jar to the user's special ~/'.ant/lib directory (see ant documentation). This too fixed the problem of being unable to find the ServiceGen class. But now I am getting the error above. I am ripping my hair out trying to fix it.
    Any help would be appreciated.
    Thanks to all....

    Hi bkshn,
    This error is caused by the missing "Main" method in your project. it is the entry point of your project.
    If you want to create a EF project, you could follow the way in the aricle below.
    https://msdn.microsoft.com/en-us/data/ee712907#codefirst
    The Main method is like below.
    class Program
    static void Main(string[] args)
    using (var db = new BloggingContext())
    // Create and save a new Blog
    Console.Write("Enter a name for a new Blog: ");
    var name = Console.ReadLine();
    var blog = new Blog { Name = name };
    db.Blogs.Add(blog);
    db.SaveChanges();
    // Display all Blogs from the database
    var query = from b in db.Blogs
    orderby b.Name
    select b;
    Console.WriteLine("All blogs in the database:");
    foreach (var item in query)
    Console.WriteLine(item.Name);
    Console.WriteLine("Press any key to exit...");
    Console.ReadKey();
    And you could start to learn the EF from the following MSDN blogs.
    https://msdn.microsoft.com/en-us/data/ee712907
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • If I want to open the same website in a second tab and press Ctrl+T and start typing the website title or URL, why does Firefox 4 insist on switching to the first tab? Is it possible to turn this off?

    I regularly need to open the same website in two tabs, to be able to view changes made between opening the first and second tabs. In Firefox 3.x I could press Ctrl+T and start typing the website title or URL, which would be auto-completed by Firefox. This enabled me to quickly open the same website in a second tab. Firefox 4 does not do this, instead it wants me to switch to the existing tab. This is not what I need.
    Of course it is possible to open the same website in a second tab via e.g. a bookmark, but this takes more time and effort. It would be great if I could select Firefox's behavior in this situation.

    To create a duplicate of an existing tab in Firefox 4, do one of the following:
    *middle-click the icon on the left end of the URL/Location/Address Bar
    *hold down the Ctrl key and drag the tab until a small arrow appears at the border between tabs, then release the mouse button, then release the Ctrl key.
    <br />
    <br />
    You have multiple Java Console extensions because Java did not clean up after itself when updating; Firefox button > Add-ons > Extensions OR, using the Menu Bar, Tools > Add-ons > Extensions:
    *Java Console 6.0.17, Java Console 6.0.19, Java Console 6.0.20, Java Console 6.0.21, Java Console 6.0.22, Java Console 6.0.23
    Using the instructions here:
    *http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    you can delete the following folders:
    *{CAFEEFAC-0016-0000-00'''''17'''''-ABCDEFFEDCBA}
    *{CAFEEFAC-0016-0000-00'''''19'''''-ABCDEFFEDCBA}
    *{CAFEEFAC-0016-0000-00'''''20'''''-ABCDEFFEDCBA}
    *{CAFEEFAC-0016-0000-00'''''21'''''-ABCDEFFEDCBA}
    *{CAFEEFAC-0016-0000-00'''''22'''''-ABCDEFFEDCBA}
    *{CAFEEFAC-0016-0000-00'''''23'''''-ABCDEFFEDCBA}
    You can leave {CAFEEFAC-0016-0000-00'''''24'''''-ABCDEFFEDCBA}
    <br />
    <br />
    '''You need to update the following:'''
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.3"
    *Shockwave Flash 10.2 r152
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE

  • Service port not remapped after stop and start of embedded broker

    Hi everybody,
    I started testing embedded OpenMQ 4.4 build yesterday and was wondering if it would be suitable for our test cases. I needed to start and stop a broker almost around every test method. So I intuitively used start() and stop() methods for it. Of course test case failed after second test method :) I did some debugging directly in source code and found out that stop() closes server socket in port mapper. When second start() is invoked it determines whether the server socket is bound and in case it isn't, it stops the broker.
    But to the point... is it expected not to rebind the port when start is called after stop or is it classified as a bug that needs to be solved? Because if it would be possible to start and stop the broker repeatedly the instance broker can be reused and no init/shutdown needs to be called...
    Thanks for an answer.

    As I'm sure you know, that's the first promoted build of MQ 4.4 and it will have more testing before the final release.
    I would have expected repeated calls to start() and stop() to work, but as you have found, it doesn't, and I can reproduce your error easily.
    However it does look as if you can make repeated iterations of the complete init()/start()/stop()/shutdown() cycle, so this might be worth trying as a workaround.
    Yes, this is a bug which I have logged internally: we'll investigate before the final 4.4 build.
    Thanks for the report,
    Nigel

  • Stop and start video commands?

    Hi
    I have a video that I imported at the 10 second mark of my composition.
    I clicked on the video on the stage, and I opened the Actions panel where I added a click event:
    sym.stop();
    However when the movie is clicked on when the comp runs nothing happens, it still continues to run.
    Anyone know how to do this? Ideally I'd like to make a button that toggles the text "video on/off" but for now I'd just like the sanity of knowing why this super simple click is not working.
    Thanks,
    Rich

    Hi Rich,
    Animate's timelines have stop() and play() methods - but video (and audio) elements must be explicitly addressed and do not have a stop() method.
    To "stop" a video on a click event, you'd use something like this:
    sym.$(my_video_element)[0].pause();
    To "stop it at its beginning" so that replaying it would start from the beginning, you'd use two lines of code:
    sym.$(my_video_element)[0].pause();
    sym.$(my_video_element)[0].currentTime = 0;
    hth,
    Joe

  • HashSet get() and contains() methods, by value or reference?

    All the tutorials I've seen on HashSets use Strings as the object type. With Strings, it seems the get() and contains() methods work by value, not by reference.
    <CODE>
    String s1 = "dog";
    String s2 = "cat";
    String s3 = "dog";
    HashSet<String> set = new HashSet<String>();
    set.add(s1);
    System.out.println(set.contains(s1)); //true;
    System.out.println(set.contains(s2)); //false
    System.out.println(set.contains(s3)); //true
    </CODE>
    But when I use a custom object, it works by reference:
    <CODE>
    MyClass c1 = new MyClass("dog", 1);
    MyClass c2 = new MyClass("cat", 1);
    MyClass c3 = new MyClass("dog", 2);
    MyClass c4 = new MyClass("dog", 1);
    HashSet<MyClass> myClassSet = new HashSet<MyClass>();
    myClassSet.add(c1);
    System.out.println(myClassSet.contains(c1)); //true
    System.out.println(myClassSet.contains(c2)); //false
    System.out.println(myClassSet.contains(c3)); //false
    System.out.println(myClassSet.contains(c4)); //false
    </CODE>
    ("MyClass" is a simple class that holds a String and an int).
    Is there any way I can get the set to select by value rather than reference for objects that aren't String?
    If so, is it possible that the value test could be customised, so that, for example, the above will return true if the String in MyClass is the same, regardless of the int value?

    803559 wrote:
    With Strings, it seems the get() and contains() methods work by value, not by reference.
    String s1 = "dog";
    String s2 = "cat";
    String s3 = "dog";
    System.out.println(set.contains(s1)); //true;
    System.out.println(set.contains(s2)); //false
    System.out.println(set.contains(s3)); //true
    Is there any way I can get the set to select by value rather than reference for objects that aren't String?Warning: Never use the term "by reference" around Java geeks. It makes 'em go all green at the gills and they start muttering about 'bloody C++ crossovers'.
    However, as DrClap pointed out, you've mis-diagnosed the problem:
    System.out.println(s1 == s1);
    System.out.println(s1 == s2);
    System.out.println(s1 == s3));would print out the exact same results.
    For an explanation why, Google "Java String pool" or try [url http://stackoverflow.com/questions/3297867/difference-between-string-object-and-string-literal]here.
    If so, is it possible that the value test could be customised, so that, for example, the above will return true if the String in MyClass is the same, regardless of the int value?Absolutely. But, as others have said, you'd need to override equals() and hashCode().
    Winston

  • Can a thread's start() method be called more than once?

    Is it legal/well-defined to call a Thread object's start() method after a previous call to start() has completed?
    eg.
    Thread t = new Thread(public void run() {...});
    t.start();
    t.join();
    t.start(); // will this call fail?

    Ok, since no one's going to answer you I will.
    Yes. It won't work if you call start() multiple times and it will throw an exception on all subsequent times.
    The way I work around it is to put the method in an inner-class and then create a new instance of that iner-class everytime I want to start a new thread.

  • EJBGen start method error

    Hi,
    I am getting this error while trying to create a sample bean using EJBGen.
    1. I have added the ejbgen.jar to the classpath.
    2. I have set the classpath to the current dir where the AccountBean.java is present.
    I have used the following code in AccountBean.java
    * @ejbgen:entity
    * ejb-name = AccountEJB-OneToMany
    * data-source-name = examples-dataSource-demoPool
    * table-name = Accounts
    * prim-key-class = java.lang.String
    * @ejbgen:jndi-name
    * local = one2many.AccountHome
    * @ejbgen:finder
    * signature = "Account findAccount(double balanceEqual)"
    * ejb-ql = "WHERE balance = ?1"
    * @ejbgen:finder
    * signature = "Collection findBigAccounts(double balanceGreaterThan)"
    * ejb-ql = "WHERE balance > ?1"
    * @ejbgen:relation
    * name = Customer-Account
    * target-ejb = CustomerEJB-OneToMany
    * multiplicity = many
    * cmr-field = customer
    import javax.ejb.*;
    import com.sun.javadoc.*;
    abstract public class AccountBean implements EntityBean {
         * @ejbgen:cmp-field column = acct_id
         * @ejbgen:primkey-field
         * @ejbgen:remote-method transaction-attribute = Required
         abstract public String getAccountId();
         abstract public void setAccountId(String val);
    I am getting the following error.
    C:\>javadoc -docletpath ejbgen.jar -doclet weblogic.tools.ejbgen.EJBGen AccountBean.java
    Loading source file AccountBean.java...
    Constructing Javadoc information...
    javadoc: Doclet class weblogic.tools.ejbgen.EJBGen does not contain a start method
    1 error
    I have checked the EJBGen class file and the start method is present in it. Please suggest if I am missing anything.
    thanks,
    Srikanth.

    even i got the same error, where you able to fix it ?
    i am using weblogic 9.2

  • Problem stop and start the ias 6.0

    Hi all,
    i have a problem when i stop and start the ias 6.0 sp2. The problem
    apparent is that when i stop the ias the IAS web connector plugin stop,
    then i start the ias and when i try to connect to a servlet in my ias
    the page i find in my brwser tell me "The documento contained no
    data.Try later again ..". Afte this i see that the IAS web plugin begin
    to start and then the same connect to the servlet works.
    Somebody can help me.
    Thanks in advance.
    Ignacio Ramos Garcia
    Division TSO
    Area de Telecomunicaciones
    Tecsidel
    C/ Enrique Jardiel Poncela, 6
    28016 Madrid
    Tel: (+34) 91 353 08 19
    Fax: (+34) 91 353 08 81
    <mailto:[email protected]>
    www.tecsidel.es

    Hi,
    This really looks like a problem, kindly let me know the following...
    - The O/S version & the web server with the service pack
    - What method are you using to start & stop the application & web
    server ?
    - What application are you invoking to see this error ?
    Regards
    Raj
    Ignacio Ramos Garcia wrote:
    Hi all,
    i have a problem when i stop and start the ias 6.0 sp2. The problem
    apparent is that when i stop the ias the IAS web connector plugin stop,
    then i start the ias and when i try to connect to a servlet in my ias
    the page i find in my brwser tell me "The documento contained no
    data.Try later again ..". Afte this i see that the IAS web plugin begin
    to start and then the same connect to the servlet works.
    Somebody can help me.
    Thanks in advance.
    Ignacio Ramos Garcia
    Division TSO
    Area de Telecomunicaciones
    Tecsidel
    C/ Enrique Jardiel Poncela, 6
    28016 Madrid
    Tel: (+34) 91 353 08 19
    Fax: (+34) 91 353 08 81
    <mailto:[email protected]>
    www.tecsidel.es

  • How do I stop and start a Swing Timer?

    I have created a Swing timer;
            new Timer(250, Task).start();but can't figure out how to use the .stop() and .restart() methods?
    How do I code this?
    TIA

    I found the answer;
      SimKitsControlTimer = new Timer(250, SimKitsControlTask);
      SimKitsControlTimer.start();Not as prevously written.
    I was trying to create an object with the .start() method at the end of the line. Doh!

  • ISE v1.2 - Endpoint abandoned EAP session and started new

    Hi.
    I have lots of clients that are not able to log on to both wired and wireless networks, and they always fails with these errors.
    5411 Supplicant stopped responding to ISE
    5440 Endpoint abandoned EAP session and started new
    This is with certificate authentication, both for client and for machine.
    The clients are for the most part Windows 7.
    We use both Cisco and Aerohive for wireless, and the switch I have tested with is a Cisco2960S
    A few strange things:
    It works perfectly for a lot of clients too, with the excact same configuration.
    One PC I'm testing with works fine when authenticating via wireless, but when I plug it into the switch, I get these errors.
    I seems to be a timeout of some kind, either to short or too long, but where?
    In the Win7 supplicant?
    In the switch?
    In the Cisco WLC
    or in the Aerohive AP?
    I have spent hours and hours on this problem, but I can't make it go away, it is very exhausting.
    There surely must have been others with the same problem?
    Thank you.

    Thank for trying to help out, but this is.. insanely vague.
    How can i verify that NAS (the C2960S) is properly configured?
    What timers are we talking about here? There are many to choose from..
    The problem is still here, even with the latest patch 7 for ISE 1.2. It works fine on wireless, but not with wired, from the same computer. So it is logic to assume it has something to do with the switch.
    This is the configuration from the switch:
    interface GigabitEthernet1/0/20
      switchport mode access
     authentication event fail action next-method
     authentication open
     authentication order dot1x mab
     authentication port-control auto
     snmp trap mac-notification change added
     dot1x pae authenticator
     spanning-tree portfast
    end
    sh dot1x int g1/0/20
    Dot1x Info for GigabitEthernet1/0/20
    PAE                       = AUTHENTICATOR
    QuietPeriod               = 60
    ServerTimeout             = 0
    SuppTimeout               = 30
    ReAuthMax                 = 2
    MaxReq                    = 2
    TxPeriod                  = 30
    sh run aaa
    aaa authentication login default group radius local
    aaa authentication dot1x default group radius
    aaa authorization exec default group radius local
    aaa authorization network default group radius
    aaa accounting dot1x default start-stop group radius!
    aaa server radius dynamic-author
     client 192.168.100.85
     server-key nope!
     auth-type any
    radius server hmz
     address ipv4 192.168.100.85 auth-port 1812 acct-port 1813
     key nope!
    radius-server attribute 6 on-for-login-auth
    radius-server attribute 6 support-multiple
    radius-server attribute 8 include-in-access-req
    aaa new-model
    aaa session-id common
    Some debug from the switch:
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] Create attr list, session 0x1E0000E0:
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding MAC d43d.7e97.1e26
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Swidb 0x4F8BAC8
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding AAA_ID=14B
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Audit_sid=C0A864FA0000014B6983A2E0
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Domain=DATA (1)
    Apr  6 11:07:01.745: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding [email protected]
    Apr  6 11:07:01.745: %AUTHMGR-5-START: Starting 'dot1x' for client (d43d.7e97.1e26) on Interface Gi1/0/20 AuditSessionID C0A864FA0000014B6983A2E0
    Apr  6 11:07:01.745: AUTH-DETAIL: No default action(s) for event RX_METHOD_AGENT_FOUND.
    Apr  6 11:08:21.182: %DOT1X-5-FAIL: Authentication failed for client (d43d.7e97.1e26) on Interface Gi1/0/20 AuditSessionID C0A864FA0000014B6983A2E0
    Apr  6 11:08:21.187: %AUTHMGR-7-STOPPING: Stopping 'dot1x' for client d43d.7e97.1e26 on Interface Gi1/0/20 AuditSessionID C0A864FA0000014B6983A2E0
    Apr  6 11:08:21.187: %AUTHMGR-5-FAIL: Authorization failed or unapplied for client (d43d.7e97.1e26) on Interface Gi1/0/20 AuditSessionID C0A864FA0000014B6983A2E0
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] Create attr list, session 0x1E0000E0:
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding MAC d43d.7e97.1e26
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Swidb 0x4F8BAC8
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding AAA_ID=14B
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Audit_sid=C0A864FA0000014B6983A2E0
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Domain=DATA (1)
    Apr  6 11:08:21.187: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Username=host/HovedPC.gaasdal.net
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] Create attr list, session 0x1E0000E0:
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding MAC d43d.7e97.1e26
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Swidb 0x4F8BAC8
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding AAA_ID=14B
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Audit_sid=C0A864FA0000014B6983A2E0
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Domain=DATA (1)
    Apr  6 11:09:22.079: AUTH-DETAIL: [d43d.7e97.1e26, Gi1/0/20] - adding Username=host/HovedPC.gaasdal.net
    Apr  6 11:09:22.079: %AUTHMGR-5-START: Starting 'dot1x' for client (d43d.7e97.1e26) on Interface Gi1/0/20 AuditSessionID C0A864FA0000014B6983A2E0
    Apr  6 11:09:22.079: AUTH-DETAIL: No default action(s) for event SESSION_STARTED.

  • Run time error when calling Start() method from an Output counter user control in my class.

    I am new to DAQmx and .NET.
    In my application I need to activate a clock out on counter 2 (HW pci 16 E 4).
    I went through all the steps like the sampling examples but instead of Analog input
    I used counter output , and setup the pulse ratios.
    When I click the switch in the user interface ( a user control databinded to the clock output)
    the output works. Since I need to activate it programmatically I tried to call the daQmxUserControl11.Start()
    method but this causes the following error :
    An unhandled exception of type 'NationalInstruments.DAQmx.DaqException' occurred in nationalinstruments.daqmx.dll
    Additional information: Specified operation cannot be performed while the task is running.
    Task Name: DAQmxTask1
    Status Code: -200479
    Any ideas on what am I doing wrong?
    Thanks David

    Thanks a lot,
    I also discovered that dragging the user control onto my user interface doesn't allow alternate activation.
    ( I actually tried stopping and then starting but the result was the same )
    Calling the routines as indicated in the header comments also gave some hiccups ( I had to remark some code to get the system working progrtammatically.
    public void Start()
    #region Update UI
    this.switch1.Caption = "On";
    this.switch1.Value = true;
    #endregion
    daqmxTask.Start();
    public void Stop()
    #region Update UI
    this.switch1.Caption = "Off";
    this.switch1.Value = false;
    #endregion
    daqmxTask.Stop();
    #region Methods

  • Can start method invoke twice at one instance

    I am using JBoss and writing a class which extends Thead. I would like to ask can I invoke start() method twice to an instance of that class. I've tried it but it seems that the object did nothing when start() method is invoked at the second time.

    Any Thread can only be start()ed once.
    Also, prefer implementing Runnable to extending Thread. Think of Threads as the workers and Runnables as the job itself. You implement Runnable because your "unit of work" or whatever you want to call it IS-A Runnable -- that is, something that will do its job start-to-finish when you call run. You would only extend Thread if your class IS-A Thread -- that is, it has a reason to do everything Thread does, and you need to slightly add to or modify Thread's behavior.

Maybe you are looking for

  • How do I add a device to Find my iphone

    I cant find out how to add a device to the find my iphone app and need to

  • Error while executing reports in the SPM UI

    Hi, We try to run an OOB report "Spend by Supplier". After report generated, tried to add few more dimensions Source system supplier and Category to the same report. After the report started, it gave an error massage. Error message states that "Dimen

  • Make Lightroom more backup-friendly

    1) I like to store the LR catalogs under my "My documents" folder since I take a backup of everything within this folder. Now, LR also stores the preview data in this folder, so I'd like to be able to chose where to store this type of temp/scratch fi

  • Output Not refreshed

    Hello Its the same component problem Now basically everything works but, now when i preview my component the output array appears in the data grid however wen i change the filter with a button it does not change i checked my output array with an aler

  • Mobile Application Devlopment with Visual Studio in SUP 2.0

    Hello I am using SUP 2.0 for Developing Blackberry Apps But now I want to prepare Apps for Windows Mobile I have installed SUP 2.0 & Visual Studio 2008 I am not able to see "Sybase Unwired Workspace" options(Project Types) in Microsoft visual Studio