Ho to create a mailbox in JAVA as ConsoleOne does

Is there a jar library to create a GW-Mailbox?
There must exist one, because C1 is providing this functionality.
And there are lots of jars in the C1-Groupwise snapin folder.
Is there any documentation for that?
Thanks

On 5/21/2010 3:26 AM, TFe wrote:
>
> Is there a jar library to create a GW-Mailbox?
>
> There must exist one, because C1 is providing this functionality.
> And there are lots of jars in the C1-Groupwise snapin folder.
>
> Is there any documentation for that?
>
> Thanks
>
>
That api is not formally exposed (the console1 jar), supported, or
acknowledged :)
But you don't need that one. You can use Admin API. Which allows an add
method to the Users collection. See developer.novell.com/groupwise,
administrative object api.
However that wouldn't be fun to do with java - it's all COM based.

Similar Messages

  • Creating a mailbox enabled user in AD

    Hello,
    I am trying to create a mailbox in exchange 2003 by creating entries in
    Active Directory for a user. My code seems to be only partially
    successful. If I use Outlook Express to test, I am able to connect to
    the exchange server, and send messages. However, I am not able to
    receive messages that appear to have been sent succesfuly.
    In my code I have defined the following entries for MS Exchange:
    mail
    homeMDB                          
    homeMTA                               
    msExchHomeServerName
    mDBUseDefaults
    msExchUserAccountControl
    mailNickname
    proxyAddresses
    textEncodedORAddress
    mAPIRecipient
    targetAddress
    Using LDP, I see the following entries below. Any thoughts on what the problem may be?
    Thanks.
    Dn: CN=Reggie Jackson,OU=Sales,DC=Diamelle,DC=local
    4> objectClass: top; person; organizationalPerson; user;
    1> cn: Reggie Jackson;
    1> sn: Jackson;
    1> l: Croton;
    1> st: NY;
    1> description: User;
    1> postalCode: 10520;
    1> telephoneNumber: (null)7394386;
    1> givenName: Reggie;
    1> distinguishedName: CN=Reggie Jackson,OU=Sales,DC=Diamelle,DC=local;
    1> instanceType: 0x4 = ( IT_WRITE );
    1> whenCreated: 12/10/2006 09:30:47 Pacific Standard Time Pacific
    Daylight Time;
    1> whenChanged: 12/10/2006 09:30:48 Pacific Standard Time Pacific
    Daylight Time;
    1> displayName: Reggie Jackson;
    1> uSNCreated: 176245;
    1> memberOf: CN=SalesGroup,OU=Sales,DC=Diamelle,DC=local;
    1> uSNChanged: 176251;
    1> co: USA;
    1> department: Marketing;
    1> homeMTA: CN=Microsoft MTA,CN=WIN2003SRV,CN=Servers,CN=First
    Administrative Group,CN=Administrative Groups,CN=Diamelle,CN=Microsoft
    Exchange,CN=Services,CN=Configuration,DC=Diamelle,DC=local;
    2> proxyAddresses: X400:c=US;a=
    ;p=Diamelle;o=Exchange;s=Jackson;g=Reggie;;
    SMTP:[email protected];
    1> homeMDB: CN=Mailbox Store (WIN2003SRV),CN=First Storage
    Group,CN=InformationStore,CN=WIN2003SRV,CN=Servers,CN=First
    Administrative Group,CN=Administrative Groups,CN=Diamelle,CN=Microsoft
    Exchange,CN=Services,CN=Configuration,DC=Diamelle,DC=local;
    1> streetAddress: 22 Scenic Dr;
    1> mDBUseDefaults: TRUE;
    1> targetAddress: SMTP:[email protected];
    1> mAPIRecipient: TRUE;
    1> mailNickname: Reggie.Jackson;
    1> name: Reggie Jackson;
    1> objectGUID: 73500291-4585-43cd-9bd5-130a41edcdf1;
    1> userAccountControl: 0x200 = ( UF_NORMAL_ACCOUNT );
    1> badPwdCount: 0;
    1> codePage: 0;
    1> countryCode: 0;
    1> badPasswordTime: 01/01/1601 00:00:00 UNC ;
    1> lastLogoff: 01/01/1601 00:00:00 UNC ;
    1> lastLogon: 01/01/1601 00:00:00 UNC ;
    1> pwdLastSet: 12/10/2006 09:30:47 Pacific Standard Time Pacific
    Daylight Time;
    1> primaryGroupID: 513;
    1> objectSid: S-1-5-21-1748978430-807948981-794853667-1188;
    1> accountExpires: 09/14/30828 02:48:05 UNC ;
    1> logonCount: 0;
    1> sAMAccountName: Reggie.Jackson;
    1> sAMAccountType: 805306368;
    2> showInAddressBook: CN=Default Global Address List,CN=All Global
    Address Lists,CN=Address Lists Container,CN=Diamelle,CN=Microsoft
    Exchange,CN=Services,CN=Configuration,DC=Diamelle,DC=local; CN=All
    Users,CN=All Address Lists,CN=Address Lists
    Container,CN=Diamelle,CN=Microsoft
    Exchange,CN=Services,CN=Configuration,DC=Diamelle,DC=local;
    1> legacyExchangeDN: /o=Diamelle/ou=First Administrative
    Group/cn=Recipients/cn=Reggie.Jackson;
    1> userPrincipalName: [email protected];
    1> objectCategory:
    CN=Person,CN=Schema,CN=Configuration,DC=Diamelle,DC=local;
    1> textEncodedORAddress: c=US;a=
    ;p=Diamelle;o=Exchange;s=Jackson;g=Reggie;;
    1> mail: [email protected];
    1> msExchHomeServerName: /o=Diamelle/ou=First Administrative
    Group/cn=Configuration/cn=Servers/cn=WIN2003SRV;
    1> msExchALObjectVersion: 59;
    1> msExchMailboxSecurityDescriptor: <ldp: Binary blob>;
    1> msExchUserAccountControl: 0;
    1> msExchMailboxGuid: cc74a1b7-c465-4a03-a807-7909e1de8f4a;
    1> msExchPoliciesIncluded:
    {EC850188-2E4C-43BB-A20D-CFCEB5D13960},{26491CFC-9E50-4857-861B-0CB8DF22B5D�7};

    Have a look at the following post:
    http://forum.java.sun.com/thread.jspa?threadID=358937&tstart=150

  • How to create a mailbox like INBOX

    Hi all!
    I want to cennect to my mail server and create other mailboxs like INBOX with java mail API.But I don't know how to start.Your help will be grateful appreciated!

    just two steps.....
    1. call
    Folder urNewFolder= [defaultfolder].getFolder(String theNameUWantToGive).
    2.call urNewFolder.create(int type) method (in Folder class type is kind of folder u require i.e read only write only etc.) returns boolean true if created successfully.
    now urNewFolder is a fully qualified folder
    pawan

  • TS3276 I created a new mailbox in mail, but it does not show up in my list

    I created a new mailbox in mail, but it does not show up in my list of mailboxes. Now I cannot change it or delete it. I keep getting an error message that I must resolve conflicts, but it won't let me change anything.  Can you help me fix this?

    Found it, thanks to the answer Vixen-of-Venus gave - thanks.

  • Cannot edit/create new mailbox in ECP - Exchange 2013 CU6

    Hello, I am currently running Exchange 2013 CU6. I cannot perform tasks related to recipients such as edit/create new mailbox. Additionally I cannot view the properties of the virtual directories.
    I tried multiple browsers (Chrome, Firefox, IE) in different PCs and the result is the same
    For example, I cannot click "Browse" in "new user mailbox" tab
    "New local Mailbox move" page displays blank
    I browsed through the event logs and found the following errors (Event 4 and Event 21):
    Event 4
    Current user: 'Unauthenticated'
    Request for URL 'https://mailserver.address..com:444/ecp/15.0.995.28/scripts/js.axd?resources=NewMigrationBatch&v=15.0.995.28&c=en-US(https://mailserver.address..capcx.com/ecp/15.0.995.28/scripts/js.axd?resources=NewMigrationBatch&v=15.0.995.28&c=en-US)'
    failed with the following error:
    Microsoft.Exchange.Management.ControlPanel.BadRequestException:
    The request sent by your browser was not valid. ---> Microsoft.Exchange.Management.ControlPanel.BadRequestException: The request sent by your browser was not valid. --->
    System.Exception: 'ToolkitScriptManager' could not generate combined script resources file.
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Management.ControlPanel.CombineScriptsHandler.ProcessRequest(HttpContext context)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Management.ControlPanel.CombineScriptsHandler.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at
    System.Web.HttpApplication.ExecuteStep(IExecutionStepstep, Boolean&
    completedSynchronously)
       at Microsoft.Exchange.Management.ControlPanel.CombineScriptsHandler.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at
    System.Web.HttpApplication.ExecuteStep(IExecutionStepstep, Boolean&
    completedSynchronously)
    Microsoft.Exchange.Management.ControlPanel.BadRequestException:
    The request sent by your browser was not valid. ---> System.Exception: 'ToolkitScriptManager' could not generate combined script
    resources file.
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Management.ControlPanel.CombineScriptsHandler.ProcessRequest(HttpContext context)
       at Microsoft.Exchange.Management.ControlPanel.CombineScriptsHandler.ProcessRequest(HttpContext context)
    System.Exception: 'ToolkitScriptManager'
    could not generate combined script resources file.
    Flight info: Features:[[Global.DistributedKeyManagement, False],[Global.GlobalCriminalCompliance,
    False],[Global.MultiTenancy, False],[Global.WindowsLiveID, False],[Eac.AllowMailboxArchiveOnlyMigration,
    True],[Eac.AllowRemoteOnboardingMovesOnly, False],[Eac.BulkPermissionAddRemove, True],[Eac.CmdletLogging,
    True],[Eac.CrossPremiseMigration, False],[Eac.DiscoveryDocIdHint, False],[Eac.DiscoveryPFSearch,
    False],[Eac.DiscoverySearchStats, False],[Eac.DlpFingerprint, False],[Eac.EACClientAccessRulesEnabled,
    False],[Eac.GeminiShell, False],[Eac.ManageMailboxAuditing, False],[Eac.ModernGroups,
    False],[Eac.Office365DIcon, False],[Eac.RemoteDomain, False],[Eac.UCCAuditReports, False],[Eac.UCCPermissions,
    False],[Eac.UnifiedComplianceCenter, False],[Eac.UnifiedPolicy, False],[Eac.UnlistedServices,
    False],],  Flights:[],  Constraints:[[MACHINE, SERVER-NAME],[MODE, ENTERPRISE],[PROCESS, W3WP],],
    IsGlobalSnapshot: True
    Event 21
    Current user: 'Unauthenticated'
    Script request for URL 'https://mailserver.address.com:444/ecp/15.0.995.28/scripts/js.axd?resources=NewMigrationBatch&v=15.0.995.28&c=en-US(https://mailserver.address.com/ecp/15.0.995.28/scripts/js.axd?resources=NewMigrationBatch&v=15.0.995.28&c=en-US)'
    failed with the following error:
    Microsoft.Exchange.Management.ControlPanel.BadRequestException:
    The request sent by your browser was not valid. ---> System.Exception: 'ToolkitScriptManager' could not generate combined script
    resources file.
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Management.ControlPanel.CombineScriptsHandler.ProcessRequest(HttpContext context)
       at Microsoft.Exchange.Management.ControlPanel.CombineScriptsHandler.ProcessRequest(HttpContext context)
    System.Exception: 'ToolkitScriptManager'
    could not generate combined script resources file.
    Flight info: Features:[[Global.DistributedKeyManagement, False],[Global.GlobalCriminalCompliance,
    False],[Global.MultiTenancy, False],[Global.WindowsLiveID, False],[Eac.AllowMailboxArchiveOnlyMigration,
    True],[Eac.AllowRemoteOnboardingMovesOnly, False],[Eac.BulkPermissionAddRemove, True],[Eac.CmdletLogging,
    True],[Eac.CrossPremiseMigration, False],[Eac.DiscoveryDocIdHint, False],[Eac.DiscoveryPFSearch,
    False],[Eac.DiscoverySearchStats, False],[Eac.DlpFingerprint, False],[Eac.EACClientAccessRulesEnabled,
    False],[Eac.GeminiShell, False],[Eac.ManageMailboxAuditing, False],[Eac.ModernGroups,
    False],[Eac.Office365DIcon, False],[Eac.RemoteDomain, False],[Eac.UCCAuditReports, False],[Eac.UCCPermissions,
    False],[Eac.UnifiedComplianceCenter, False],[Eac.UnifiedPolicy, False],[Eac.UnlistedServices,
    False],],  Flights:[],  Constraints:[[MACHINE, SERVER-NAME],[MODE, ENTERPRISE],[PROCESS, W3WP],],
    IsGlobalSnapshot: True
     Any help?

    Hello Amy,
    I will try to follow your suggestions. I will update once I get access to the server.
    Anyways, the whole thing was back to normal for 1 day on its own, but right now the issue is happening again. Permission-wise, the account I used is in listed Organization Management role
    Update: I forgot to try the EMS, but after I recycle the
    MSExchangeECPAppPool, everything works fine, except for viewing Groups and Permissions
    An error in the event viewer is displayed:
    Current user: 'Unauthenticated'
    Script request for URL 'https://address.com:444/ecp/15.0.995.28/scripts/js.axd?resources=EditRoleAssignmentPolicy&v=15.0.995.28&c=en-US(https://address.com/ecp/15.0.995.28/scripts/js.axd?resources=EditRoleAssignmentPolicy&v=15.0.995.28&c=en-US)'
    failed with the following error:
    Microsoft.Exchange.Management.ControlPanel.BadRequestException: The request sent by your browser was not valid. ---> System.Exception: 'ToolkitScriptManager' could not generate combined script resources file.
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Management.ControlPanel.CombineScriptsHandler.ProcessRequest(HttpContext context)
       at Microsoft.Exchange.Management.ControlPanel.CombineScriptsHandler.ProcessRequest(HttpContext context)
    System.Exception: 'ToolkitScriptManager' could not generate combined script resources file.
    Flight info: Features:[[Global.DistributedKeyManagement, False],[Global.GlobalCriminalCompliance, False],[Global.MultiTenancy, False],[Global.WindowsLiveID, False],[Eac.AllowMailboxArchiveOnlyMigration, True],[Eac.AllowRemoteOnboardingMovesOnly,
    False],[Eac.BulkPermissionAddRemove, True],[Eac.CmdletLogging, True],[Eac.CrossPremiseMigration, False],[Eac.DiscoveryDocIdHint, False],[Eac.DiscoveryPFSearch, False],[Eac.DiscoverySearchStats, False],[Eac.DlpFingerprint, False],[Eac.EACClientAccessRulesEnabled,
    False],[Eac.GeminiShell, False],[Eac.ManageMailboxAuditing, False],[Eac.ModernGroups, False],[Eac.Office365DIcon, False],[Eac.RemoteDomain, False],[Eac.UCCAuditReports, False],[Eac.UCCPermissions, False],[Eac.UnifiedComplianceCenter, False],[Eac.UnifiedPolicy,
    False],[Eac.UnlistedServices, False],],  Flights:[],  Constraints:[[MACHINE, SERVER-NAME],[MODE, ENTERPRISE],[PROCESS, W3WP],], IsGlobalSnapshot: True
    However, after a while, things are back to normal... I don't understand what's happening..

  • Creating XML file from Java Bean

    Hi
    Are there any standard methods in Java 1.5 to create XML file from java bean,
    i can use JAXB or castor to do so,
    But i would like to know if there is any thing in java core classes,
    I have seen XMLEncoder, but this is not what i want.
    Any ideas
    Ashish

    Marshall JavaBean to an XML document with JAXB or XMLBeans.

  • How do I create a Principal in Java

    How can I create a Principal in Java that can later be added to Websphere's Trust Map via a JAAS authentication module?
    Below code is not working as it throws the following exception:
    "Caused by: com.ibm.websphere.security.auth.WSLoginFailedException: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error...."
    class PrincipalExt implements Principal, java.io.Serializable {
        private String userName;
        public PrincipalExt()
        public PrincipalExt(String userName) {
            setName(userName);
        public void setName(String name)
            this.userName = name;
        public String getName()
            return userName;
    Then, once I have an instance
        public void login() throws LoginException {
            PrincipalExt aPrincipal = new PrincipalExt();
            aPrincipal.setName("someUserID");
            trustMap.put("com.ibm.wsspi.security.common.auth.module.IdentityAssertionLoginModule.trusted", true);
            trustMap.put("com.ibm.wsspi.security.common.auth.module.IdentityAssertionLoginModule.principal", aPrincipal);

    Download JFreeChart and give it a try:
    http://www.object-refinery.com/jfreechart/index.html
    JFreeChart is distributed for free, including the complete source code (subject to the GNU LGPL).
    Regards,
    Dave Gilbert
    JFreeChart Project Leader

  • How to create web services in java?

    Hi,
    I am a newbie to java webservices. Can anybody tell me how to create web services in java?
    Any tutorial link or step by step doc would be useful.
    Appreciate your help in this regard.
    Thanks in advance.
    naymo01.

    Creating web services in Java appears to depend highly upon the server you intend to use.
    Here's a tutorial: http://java.sun.com/webservices/docs/1.6/tutorial/doc/index.html

  • Created in Web dynpro Java or Web dynpro ABAP

    hi all,
    I have a web application running. Its UI  is created either in web dynpro java or web dynpro ABAP. Is there any way by which we can find out that in which form of UI technology is it created; in web dynrpo java or web dynpro ABAP ?

    Hi,
    I am really not sure if this is recommended..
    Try some negative testing on the application. If the application crashes, the trace of the error occured will tell you what kind of development has been adopted for the Web Dynpro application.
    Another hint can be the port number in the Application URL. If it is not 50xxx, and is somewht like 8xxx, it is surely Web Dynpro for ABAP.
    Regards,
    Alka.

  • How to create and instance of Java Object from an XML Document.

    Hi,
    How can we use a XML Document to create an instance of Java Object and do vice versa ie from the Java Object creating the XML Document.
    XML Document is available in the form of a String Object.
    Are there helper class available to achieve this.
    I need to do this in a Servlet.
    Regards
    Pramod.

    JAXB is part of JavaSE while Xmlbeans claims full schema support and full infoset fidelity.
    If the standard APIs do all that you need well then use them.

  • What are the steps to create a webservice from java

    i followed the doc. of weblogic 10.3 but something is missing..i am using ubuntu
    1)
    i created a webservice ping.java which placed in myproject/HelloWorld directory
    package HelloWorld;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;
    import javax.xml.ws.BindingType;
    @WebService(name="SimplePortType", serviceName="SimpleService",
    targetNamespace="http://example.org")
    @SOAPBinding
    @BindingType
    public class ping {
    @WebMethod
    public String main(String p){
    System.out.println("sayHello:" + p);
    return "Here is the message: '" + p + "'";
    2) and created a build.xml and placed it in myproject folder
    <project default="all">
    <target name="all"
    depends="clean,build-service,deploy" />
    <target name="clean">
    <delete dir="output" />
    </target>
    <path id="*my.path*">
         <pathelement path="/home/suresh/bea/jdk160_05/lib/tools.jar"/>
    <pathelement path="/home/suresh/bea/wlserver_10.3/server/lib/weblogic.jar"/>
    </path>
    <taskdef name="jwsc"
    classname="weblogic.wsee.tools.anttasks.JwscTask" classpath="/home/suresh/bea/wlserver_10.3/server/lib/weblogic.jar" />
    <target name="build-service">
    <jwsc srcdir="HelloWorld" destdir="output/helloWorldEar">
    <jws file="ping.java" type="JAXWS"/>
    </jwsc>
    </target>
    <taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy" classpath="/home/suresh/bea/wlserver_10.3/server/lib/weblogic.jar"/>
    <target name="deploy">
    <wldeploy action="deploy"
    name="myproject"
    source="output/helloworldEar" user="weblogic"
    password="weblogic"
    adminurl="t3://${wls.hostname}:${wls.port}"
    targets="${wls.server.name}"/>
    </target>
    </project>
    3) after that how to start weblogic and how to set any needed env or domain properties.How to publish it to server?
    4) how to configure security
    can i use netbeans to do all the above things?
    Thanks
    Suresh

    what my.path indicates in the above wsdl?
    or which path i have to give there?

  • How do I create another mailbox in my email account?

    How do I create another mailbox (not account) in my existing mail account?  I have Inbox,sent and trash.  Would like to create 3or4 other ones to sort my mail.

    Open the mail app, then under "account" tap on the email account you would like to create the new mailbox in.
    Once in that particular account tap on "edit".
    At the bottom you'll see new mailbox.
    Tap on new mailbox and you'll be able to create a new mailbox for that particular email account.
    Hope this helps.

  • How to create ejbbean in wd-java

    Hi,
    Iam new to Wd-java area.Iam doing the defecttracking application in Webdynpro for java,in that backend is sql server.I want to retrive login details through ejb bean. give me step-by-step coding procedure.i don't know how to create ejb application also.please give me step-by-step.

    Ram,
    Below tutorial may be of some help :- https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#20
    Chintan

  • How to create a Folder using java.

    Hi All,
    I have a doubt. I want to create a folder using java.
    Inputs are the destination where the folder should be created and the name of the folder. Plz help me in this regard.
    thanks and regards,
    Vincent .R.

    check out javadoc for java.io
    File reldir=new File("NewDir");//relatively where your program runs
    reldir.mkdir();
    File absdir=new File("C:/NewDir");//absolute path
    reldir.mkdir();
    File newdir=new File(absdir,"SubDir");//defines another dir under absdir
    newdir.mkdir();
    Gil

  • Exception in creating message-driven ejb : [java.lang.NullPointerException]

    [#|2008-09-17T07:32:06.973-0500|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.ejb.mdb|_ThreadID=58;|MDB00050: Message-driven bean [OAHMSTcpIpServer1:eaTCPIP_cmTcpIpServer_Service1]: Exception in creating message-driven ejb : [java.lang.NullPointerException]|#]
    [#|2008-09-17T07:32:06.974-0500|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.ejb.mdb|_ThreadID=58;|java.lang.NullPointerException
    java.lang.NullPointerException
         at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:117)
         at com.sun.ejb.containers.MessageBeanContainer.createMessageDrivenEJB(MessageBeanContainer.java:670)
         at com.sun.ejb.containers.MessageBeanContainer.access$100(MessageBeanContainer.java:71)
         at com.sun.ejb.containers.MessageBeanContainer$MessageBeanContextFactory.create(MessageBeanContainer.java:467)
         at com.sun.ejb.containers.util.pool.NonBlockingPool.preload(NonBlockingPool.java:249)
         at com.sun.ejb.containers.util.pool.NonBlockingPool.doResize(NonBlockingPool.java:473)
         at com.sun.ejb.containers.util.pool.NonBlockingPool$IdleBeanWork.run(NonBlockingPool.java:568)
         at com.sun.ejb.containers.util.pool.NonBlockingPool$IdleBeanWork.service(NonBlockingPool.java:560)
         at com.sun.ejb.containers.util.WorkAdapter.doWork(WorkAdapter.java:44)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    |#]

    Hello,
    If I make use of the @EJB annotation again a NullPointerException is risen
    package videoclub;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.FocusTraversalPolicy;
    import java.util.Vector;
    import javax.annotation.Resource;
    import javax.ejb.EJB;
    import javax.swing.JOptionPane;
    import vc.bl.ClerkSessionRemote;
    import vc.domain.Customer;
    * @author IOANNIS_PAPAIOANNOU
    @EJB(name="ejb/ClerkSessionBean", beanInterface=ClerkSessionRemote.class, beanName="ClerkSessionBean")
    public class Clerk extends javax.swing.JFrame
        @Resource
        javax.ejb.SessionContext sessionContext;
        ClerkSessionRemote clerkSessionBean = (ClerkSessionRemote) sessionContext.lookup("ejb/ClerkSessionBean");
    }  The line:
    ClerkSessionRemote clerkSessionBean = (ClerkSessionRemote) sessionContext.lookup("ejb/ClerkSessionBean");rises the exception
    the output of the client:
    init:
    init:
    deps-jar:
    compile:
    library-inclusion-in-archive:
    Building jar: C:\Documents and Settings\IOANNIS_PAPAIOANNOU\My Documents\NetBeansProjects\VideoClub\VideoClub-ejb\dist\VideoClub-ejb.jar
    dist:
    deps-jar:
    compile-single:
    run-single:
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at videoclub.Clerk.<init>(Clerk.java:33)
    at videoclub.Clerk$2.run(Clerk.java:232)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    BUILD SUCCESSFUL (total time: 2 seconds)
    Yiannis P.

Maybe you are looking for

  • Acer Delivers 5th Generation Intel Core Processors and Latest Ultrafast Wireless Networking

    New Intel processors improve performance, graphics and battery life; Ultrafast 802.11ac wireless technology delivers improved speed, reliability and greater coverage

  • Photos transferring OFF of iphone 4

    I've been trying to "delete" some photos off my Iphone to no avail. I've tried importing them from my iphone to my apple MacBook Pro, but they won't transfer---please help--what am I doing wrong?? Thanks Mary

  • Word PDF transverse pages

    I got the problem that when there are transverse pages in the word document, it saves several pdf documents. For each part with the same page settings an own file its self. Who knows how to solve that issue?

  • Custom idoc giving error

    hi friends i am adding two segments in Purchase orders ORDERS ---/ afs/orders05 i found the exit and implemented the logic, but when i triggered the idoc i noticed that custom segment is coming after every segment like e1edk01 ---      ze1edka1 --- (

  • Is there a way to delete everything on the cloud all at once and start over?

    We tried to store a lot of photos to the cloud in one copy. The files have been syncing for over 24 hours. We tried to stop the sync and just throw everything away, and they still show up in the archive. Is there a way to delete everything on the clo