Setting JMS MQ on server

Hey,
I need to use a Servlet for JMS.My jar files are in my application folder(ear) and I added entries for these jar files in web.xml.When I invoke the Servlet then it executes non-MQ part of Servlet and gives Resource Exception for JMS code.Can anybody tell me if I need to do some additional setting for MQ JMS.I am using JBoss as application server.

Can you give some more details?
the relevant part of your code?
the exception trace?

Similar Messages

  • WLS 7.0.4 - JMS Connection Factory - Server Affinity - issues in log file

    <b>WLS 7.0.4 - JMS Connection Factory - Server Affinity - issues in log file</b>
              We are using WLS 7.0.4 - One of JMS connection factory setting in admin console we selected "Server Affinity" options.
              We see this messages appear in Weblogic log file,
              ####<Apr 24, 2006 1:56:53 AM EDT> <Error> <Cluster> <liberatenode4.dc2.adelphia.com> <node4_svr> <ExecuteThrea
              d: '4' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <> <000123> <Conflict start: You tried to bi
              nd an object under the name sbetrmi2 in the JNDI tree. The object you have bound from liberatenode2.dc2.adelp
              hia.com is non clusterable and you have tried to bind more than once from two or more servers. Such objects ca
              n only deployed from one server.>
              and then,
              ####<Apr 24, 2006 1:58:12 AM EDT> <Error> <Cluster> <liberatenode5.dc2.adelphia.com> <node5_svr> <ExecuteThrea
              d: '7' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <> <000125> <Conflict Resolved: sbetrmi2 for
              the object from liberatenode5.dc2.adelphia.com under the bind name sbetrmi2 in the JNDI tree.>
              Should we use 'load balancing option' instead of 'server affinity' ?
              Any thuoghts?
              Thanks in adv.
              Vijay

    Test Reply
              <Vijay Kumar> wrote in message news:[email protected]..
              > <b>WLS 7.0.4 - JMS Connection Factory - Server Affinity - issues in log
              > file</b>
              >
              > We are using WLS 7.0.4 - One of JMS connection factory setting in admin
              > console we selected "Server Affinity" options.
              >
              > We see this messages appear in Weblogic log file,
              > ####<Apr 24, 2006 1:56:53 AM EDT> <Error> <Cluster>
              > <liberatenode4.dc2.adelphia.com> <node4_svr> <ExecuteThrea
              > d: '4' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <>
              > <000123> <Conflict start: You tried to bi
              > nd an object under the name sbetrmi2 in the JNDI tree. The object you have
              > bound from liberatenode2.dc2.adelp
              > hia.com is non clusterable and you have tried to bind more than once from
              > two or more servers. Such objects ca
              > n only deployed from one server.>
              >
              > and then,
              > ####<Apr 24, 2006 1:58:12 AM EDT> <Error> <Cluster>
              > <liberatenode5.dc2.adelphia.com> <node5_svr> <ExecuteThrea
              > d: '7' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <>
              > <000125> <Conflict Resolved: sbetrmi2 for
              > the object from liberatenode5.dc2.adelphia.com under the bind name
              > sbetrmi2 in the JNDI tree.>
              >
              >
              > Should we use 'load balancing option' instead of 'server affinity' ?
              >
              > Any thuoghts?
              >
              > Thanks in adv.
              > Vijay

  • TS3899 I can't SEND email from Telus account in Alberta, Canada? Does anyone know how to set up the Outgoing server? Help! And thanks!

    Can't SEND email from Telus account in Alberta, Canada, unless I go to web mail. Does anyone know how to set up the Outgoing server? Incoming is fine. Outgoing used to work. We changed it when we went to another location, and can't get it back. Telus support can't fix it. Neither smtp.telus.net NOR mail.telus.net works for Outgoing server to send mail. Please help! Thanks.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • HOW TO: Set up your application server to run BC4J

    How To set up your application server to run BC4J.
    INTRODUCTION
    A running BC4J application is actually the combination of:
    * Your own application files
    * BC4J runtime libraries
    In order to successfully run your BC4J application in local mode, the first requirement is
    that your application server contains the necessary BC4J libraries.
    This How To describes the steps required to ensure that you have a functional
    BC4J runtime environment installed on your application server.
    Oracle IAS 1.0.2 and Tomcat 3.1 will be used as examples.
    THE BC4J RUNTIME LIBRARIES
    Whatever application server you deploy to, the following libraries
    are required in the following order to be in the classpath.
    BC4J Libraries:
    xmlparserv2.jar
    jdev-rt.zip
    jbojdbcpatch.zip
    connectionmanager.zip
    jbohtml.zip
    jboimdomains.zip
    ordim817.zip
    ordvir817.zip
    ordhttp.zip
    jbomt.zip
    jbodomorcl.zip
    jboremote.zip
    jndi.jar
    jbodatum12.zip
    These libraries can be found in <JDEV_HOME>/lib/
    INSTALLING THE LIBRARIES ON IAS:
    Installing the libraries is simply a matter of copying them to the
    application server's filesystem and adding them to the classpath.
    IAS's classpath can be modified by editing the file:
    <IAS_HOME>\Apache\Jserv\conf\jserv.properties
    In this file you'll find the existing pre-installed BC4J libraries which
    looks like this:
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\lib\ordvir817.zip
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\lib\ordim817.zip
    etc.
    Note! These BC4J libraries correspond to JDeveloper 3.1.1.
    In order to run JDev 3.2 based applications you will have to update these libraries
    to JDeveloper 3.2 production.
    Steps:
    1. Copy (or FTP) the JDev 3.2 BC4J libraries from <JDEV_HOME>\lib to a NEW directory on the
    appserver's filesystem called:
    <IAS_HOME>\Apache\BC4J\newlib
    2. Modify the classpath by editing <IAS_HOME>\Apache\Jserv\conf\jserv.properties.
    Example: (modified classpath entries)
    # New 3.2 BC4J Runtime libraries
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\xmlparserv2.jar
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jdev-rt.zip
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbojdbcpatch.zip
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\connectionmanager.zip
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbohtml.zip
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jboimdomains.zip
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordim817.zip
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordvir817.zip
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\ordhttp.zip
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbomt.zip
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbodomorcl.zip
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jboremote.zip
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jndi.jar
    wrapper.classpath=<IAS_HOME>\Apache\BC4J\newlib\jbodatum12.zip
    Note: Make sure to remove or comment out the existing 3.1.1 BC4J library entries!
    To see the changes, you must restart IAS and that's it, your IAS will be updated with
    the JDev 3.2 BC4J libraries which allow you to run BC4J Data Tags among other
    things!
    INSTALLING THE LIBRARIES ON TOMCAT
    As before, this process involves both the copying of the libraries
    and modifying the classpath.
    After copying the BC4J libraries to a path accessible from Tomcat,
    you can modify Tomcat's classpath by editing it's startup script:
    <TOMCAT_HOME>\bin\tomcat.bat (NT)
    <TOMCAT_HOME>\bin\tomcat.sh (Unix)
    Here is a portion of a modified tomcat.bat (on NT)
    rem Add BC4J libraries
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\xmlparserv2.jar
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jdev-rt.zip
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbojdbcpatch.zip
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\connectionmanager.zip
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbohtml.zip
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jboimdomains.zip
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\or dim817.zip
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\ordvir817.zip
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\ordhttp.zip
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbomt.zip
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbodomorcl.zip
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jboremote.zip
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jndi.jar
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\jbodatum12.zip
    rem Add Oracle JDBC library
    set CLASSPATH=%CLASSPATH%;D:\bc4j_lib\classes12.zip
    Note: I also added the Oracle JDBC library since Tomcat does not have it.
    It is found at:
    <JDEV_HOME>\jdbc\lib\oracle8.1.7\classes12.zip
    And That's It!
    When Tomcat is restarted using this script, the necessary BC4J libraries
    will be in the classpath..
    A follow up How To:"How To Deploy a BC4J JSP Application on IAS and Tomcat"
    will be posted shortly!

    I copied the following files in jserv classpath
    bc4jct.jar
    bc4jctejb.jar
    bc4jdomorcl.jar
    bc4jhtml.jar
    bc4jimdomains.jar
    bc4jmt.jar
    bc4jmtejb.jar
    bc4juixtags.jar
    collections.jar
    datatags.jar
    jdev-cm.jar
    regexp.jar
    share.jar
    uix2.jar
    cabo.war
    classes12.jar
    nls_charset12.jar
    ordim.jar
    ordhttp.jar
    runtime12.jar
    jdev-rt.jar
    xmlparserv2.jar
    bc4j_jclient_common.jar
    webapp.war
    I got this list from Jdev 9031 on-line help
    I also copied the new DataTags.tld file to /webapp directory
    When i run my jsp page i get this error..
    java.lang.NoClassDefFoundError: java/util/TimerTask
         at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:693)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:148)
         at jspapp.odrjsp__html._menu._jspService(Compiled Code)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
         at oracle.jsp.JspServlet.doDispatch(Compiled Code)
         at oracle.jsp.JspServlet.internalService(Compiled Code)
         at oracle.jsp.JspServlet.service(Compiled Code)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at oracle.portal.provider.v1.http.JspRenderer.renderBody(JspRenderer.java:116)
         at oracle.portal.provider.v1.RenderManager.render(RenderManager.java:164)
         at oracle.portal.provider.v1.http.ServletProviderResponse.showPortlet(Compiled Code)
         at oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(Compiled Code)
         at oracle.portal.provider.v1.http.HttpProvider.service(Compiled Code)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at org.apache.jserv.JServConnection.processRequest(Compiled Code)
         at org.apache.jserv.JServConnection.run(Compiled Code)
         at java.lang.Thread.run(Compiled Code)
    In the JDK 1.3 APi docs, i found that TimerTask was introduced only in JDK 1.3
    Does this mean that BC4J (in jdev 9031) will only work
    with JDK 1.3 or later?
    Thanks for your time.
    Harish

  • Setting up local testing server for coldfusion 9

    I could use some help with this thread in coldfusion forum...
    setting up local testing server for coldfusion 9 w dreamweaver on mac
    http://forums.adobe.com/thread/773350
    thanks

    I'm marking this as assumed answered, as you seem to have solved the problem in the other thread.

  • Setting up local testing server

    Hi,
    I am in the process of setting up a local server to test web sites with AJAX calls, and am wondering what are some of the more common and easier tools/resources to use to do this...I have seen MAMP and XAMPP are very common...I recently up-graded to Yosemite so hopefully this will not be a problem to configure a local server...!?
    Thanks very much for any direction or feedback.

    Ah. I see the problem. I will update that user tip when Yosemite is released. For now, you can try this:
    Enable mod_userdir and include the configuration file
    In the mod_userdir configuration file, include user-specific configuration files
    In said user-specific configuration files, add new some stuff to make Apache 2.4 happy. Specifically, you will need:
        Require all granted
    because Apache just needs that now.
    And you will need
        AddLanguage en .en
        LanguagePriority en fr de
        ForceLanguagePriority Fallback
    if you want to use Multiviews as per the User Tip.
    After a sudo apachectl graceful, it should work.
    However, I should caution anyone considering this that I haven't used Apache in some time. Things have progressed since I first wrote that user tip. These days, I would recommend using nginx, Tomcat, or Node. I also probably wouldn't even recommend using a Mac. Use Vagrant on your Mac instead and set everything up on Linux. Everyone, including Apple, uses Linux for servers these days. Plus, in today's world of security-enhanced Linux, you are going to have a mess trying to port something from a Mac to Linux. The resemblances are getting more and more superficial. You haven't lived until you have been screaming insults at selinux for hours on end. Even with Apple's recent drop in software quality (and I'm not the only one that says that), you aren't likely to scream insults at your Mac for more than 30 minutes or so until you figure out how to work around the latest bugset. With modern tools like selinux and Gradle, you aren't going to get anything done without reading a few hundred pages of manual first - assuming you can find the manual.
    Bottom line - use your Mac to track down the documentation and read it, get Vagrant running, and just use Linux.

  • How to set up my mail server

    I have a Mac Mini with Mac OS X Lion Server 10.7.2 at home.  I'm trying to move away from a Windows SBS 2003 with MS Mail Exchange 2003.  Because I learned this stuff by setting up the Windows Server, I am trying to follow a similar approach with the Mac Server. (I understand I may have to re-train may brain.)  I set up the Mac Mini with a local domain. My setup is primarily for family use, so I did not see a need for registering a public domain.  (I've had the Windows setup running since 2003 and all has been fine with that setup.)  We have several desktops, and laptops around the house, so I want for everyone to be able to log in to any desktop/laptop they find and still be able to read/send e-mails under their own mail account and keep the mail folder structure they have created.  I'm trying for Mac Mail Server to receive all e-mail for all users (mail is provided by our ISP - Verizon.net; some users have more than one e-mail address), for clients to pull mail from the Mac Mail Server (via Mac Mail, or MS Outlook), the clients would send mail ) via the configured SMTP locally, and all the mail forlders to synchronize back to the Mac Mail Server for when the user logs in from another machine.  Is that possible?  If so, how?  I recall that in Windows SBS 2003 I configured a POP Connector that receives all the mail for all the users and I designated a domain user to send the mail to.  MS Exchange would take care of sychronizing the mail folders between the client connection and the mail server.  I bought the Mac Mini, a Time Capsule and an iMac to start my transition, but I'm not sure I'll be able to duplicate what I had with MS Exchange.

    Sorry, I know it is more a microsoft problem, but it happened when I tried to set up my icloud mail on my pc.

  • How to set up a mail server with a private DNS and relay over a public mail

    How to set up the mail server that we can send and pick up emails inside and outside?
    Our private network has the DNS name dnsname1.private.
    We have our privat DNS Server and he can forward requests to outside over our router.
    Our public emails are hosted by an internet provider. This dns name is dnsname2.com and dnsname2.org.
    How we have to set up our mail server that we can pick up our emails from our public dnsname2.com?
    And when we write an email how we have to set up it that the dnsname is dansname2.com and not dnsname1.private?

    If you want to move your mailservice to your own (internal) server, start by making sure you can recieve traffic on port TCP 25 (SMTP). Some ISPs blocks this port, especially on "non business" connections.
    Can you send mail from your LAN directly to where your mail is hosted using port 25 TCP or do you have to relay via your ISP?
    You have a static public IP?

  • Problems setting up an NFS server

    Hi everybody,
    I just completed my first arch install. :-)
    I have a desktop and a laptop, and I installed Arch on the desktop (the laptop runs Ubuntu 9.10). I had a few difficulties here and there, but I now have the system up and running, and I'm very happy.
    I have a problem setting up an NFS server. With Ubuntu everything was working, so I'm assuming that the Ubuntu machine (client) is set-up correctly. I'm trying to troubleshoot the arch box (server) now.
    I followed this wiki article: http://wiki.archlinux.org/index.php/Nfs
    Now, I have these problems:
    - when I start the daemons, I get:
    [root@myhost ~]# /etc/rc.d/rpcbind start
    :: Starting rpcbind [FAIL]
    [root@myhost ~]# /etc/rc.d/nfs-common start
    :: Starting rpc.statd daemon [FAIL]
    [root@myhost ~]# /etc/rc.d/nfs-server start
    :: Mounting nfsd filesystem [DONE]
    :: Exporting all directories [BUSY] exportfs: /etc/exports [3]: Neither 'subtree_check' or 'no_subtree_check' specified for export "192.168.1.1/24:/home".
    Assuming default behaviour ('no_subtree_check').
    NOTE: this default has changed since nfs-utils version 1.0.x
    [DONE]
    :: Starting rpc.nfsd daemon [FAIL]
    - If I mount the share on the client with "sudo mount 192.168.1.20:/home /media/desktop", IT IS mounted but I can't browse it because I have no privileges to access the home directory for the user.
    my /etc/exports looks like this:
    # /etc/exports: the access control list for filesystems which may be exported
    # to NFS clients. See exports(5).
    /home 192.168.1.1/24(rw,sync,all_squash,anonuid=99,anongid=99))
    /etc/conf.d/nfs-common.conf:
    # Parameters to be passed to nfs-common (nfs clients & server) init script.
    # If you do not set values for the NEED_ options, they will be attempted
    # autodetected; this should be sufficient for most people. Valid alternatives
    # for the NEED_ options are "yes" and "no".
    # Do you want to start the statd daemon? It is not needed for NFSv4.
    NEED_STATD=
    # Options to pass to rpc.statd.
    # See rpc.statd(8) for more details.
    # N.B. statd normally runs on both client and server, and run-time
    # options should be specified accordingly. Specifically, the Arch
    # NFS init scripts require the --no-notify flag on the server,
    # but not on the client e.g.
    # STATD_OPTS="--no-notify -p 32765 -o 32766" -> server
    # STATD_OPTS="-p 32765 -o 32766" -> client
    STATD_OPTS="--no-notify"
    # Options to pass to sm-notify
    # e.g. SMNOTIFY_OPTS="-p 32764"
    SMNOTIFY_OPTS=""
    # Do you want to start the idmapd daemon? It is only needed for NFSv4.
    NEED_IDMAPD=
    # Options to pass to rpc.idmapd.
    # See rpc.idmapd(8) for more details.
    IDMAPD_OPTS=
    # Do you want to start the gssd daemon? It is required for Kerberos mounts.
    NEED_GSSD=
    # Options to pass to rpc.gssd.
    # See rpc.gssd(8) for more details.
    GSSD_OPTS=
    # Where to mount rpc_pipefs filesystem; the default is "/var/lib/nfs/rpc_pipefs".
    PIPEFS_MOUNTPOINT=
    # Options used to mount rpc_pipefs filesystem; the default is "defaults".
    PIPEFS_MOUNTOPTS=
    /etc/hosts.allow:
    nfsd: 192.168.1.0/255.255.255.0
    rpcbind: 192.168.1.0/255.255.255.0
    mountd: 192.168.1.0/255.255.255.0
    Any help would be very appreciated!

    Thanks, I finally got it working.
    I realized that even though both machines had the same group, my Ubuntu machine (client) group has GID 1000, while the Arch one has GID 1001. I created a group that has GID 1001 on the client, and now everything is working.
    I'm wondering why my Arch username and group both have 1001 rather than 1000 (which I suppose would be the default number for the first user created).
    Anyway, thanks again for your inputs.

  • Can I avoid setting up a DNS server?

    Dear all,
    I’m a newbie to set up a server but I recently bought a Mac Mini Server and I have some questions in setting up the machine.
    My ultimate goal:
    Set up a multimedia server in my Mac Mini Server which provide photos up / download and Quicktime video streaming services for my friends outside my local Lan.
    My settings:
    ISP (Dynamic IP) →DSL modem →Linksys Router (DHCP) →
    1. Web Cam IP: 192.168.1.253 port 50000
    2. Synology NAS IP:192.168.1.107 port 5000
    3. Mac Mini Server IP: 192.168.1.108
    4. Mac Book Pro x 2(wireless)
    Since I don’t have a static IP, I registered a domain name which link to my dynamic IP. i.e. abc.viewnetcam.com
    I can access my web cam and Synology from outside through port forwarding i.e. http://abc.viewnetcam.com: 50000 & http://abc.viewnetcam.com: 5000
    During set up my Mac Mini Server, I was required to enter the Primary Domain Name, since I did not have a DNS server in my local Lan, I entered MacMinSserver.private
    After I set up the server, I found that there was a message left on the desktop saying that; ….The domain name servers you’re using don’t have an entry for the domain MacMiniServer.private, and therefore your clients won’t be able to access your server using the name MacMiniServer.private…..
    Now here is the question:
    1. Can I just simply avoid to set up a DNS server in my Mac Mini Server? Cause it is very complicate; I have read up some information about DNS server settings which make me feel puzzle.
    2. If DNS server is a must, so how can I set it? I have read the instructions in the HoffmanLabs, but after setting up the DNS server, how can I access my server from outside? Through port forward?
    ( Now I can access my server from outside in Safari with URL afp://abc.viewnetcam.com:548)
    Many thanks.

    I take some time to digest your suggestions. I’m convinced to build up a DNS server, although I don’t fully understand how it works.
    DNS is a way to ask a server or a series of servers to translate a string of a specific format into an IP address. If you follow the article in your implementation, then the local DNS services will cooperate with and access external DNS servers world-wide for public DNS translations.
    But then questions come up again, first what should be my Primary Domain Name?
    I don't know what you're looking at that is using "primary domain name", but the "domain name" you use? I use real and registered and public domains for the domain on private LANs. It's simple, effective, and unique. And I don't have to deal with collisions. I don't prefer to recommend using a made-up domain, as it's a few dollars to get a real domain and then you don't have to deal with collisions if and when you need to expose parts of your network.
    Here, a bogus TLD would be, for instance, macminiserver.myhouse.ngmy69; that's a top-level domain (ngmy69) (TLD) that is not allocated, and unlikely to be publicly allocated, and a subdomain (myhouse) of your choice, and a host name (macminiserver) of your choice. (There are around 300 TLDs already allocated and live, and more are on the way. com, net, biz, org, travel, cat, two-character country codes, and more...)
    This is listed in the article, including the trade-offs, and including a description of bogus domains.
    As you said that the external DNS and the internal DNS should be separately functioning, then is it true that I have the freedom to choose my Primary DNS name? Or I have to stick to certain rules?
    DNS and IP routing work by cooperation. You have to stick to certain rules, and the article guides you through the four general choices for picking a domain name.
    In my case, do I need to use the external domain name, i.e. macminiserver.abc.viewnetcam.com or I rent another registered domain name and it will be macminiserver.xxxxx.com or even I create an imaginary name?
    After you get your LAN DNS going, then read the [dynamic DNS article|http://labs.hoffmanlabs.com/node/1541].
    Here, you've picked a domain (viewnetcam.com) name that's real and registered. That, and the use of the abc and macminiserver subdomains are something you'd have to work out with the folks administering that domain. While it is technically a domain name, macminiserver.abc.viewnetcam.com is also variously called a host name, as that'll usually have an associated IP address, and a subdomain like abc.viewnetcam.com might and variously will not.
    With a real and registered domain (your own registered domain, or a DynDNS host), you can (later) choose to expose parts of your network. You don't own a DynDNS name, and DynDNS doesn't allow you to use various server functions and you can't use that on your LAN. DynDNS is a good solution for remote access into a home network and even for a VPN connection in but (if you're eventually looking to use mail or secure web access or other features) you'll usually end up using your own domain name.
    The second question is that, how can I avoid using the subnet 192.168.1.0/24, as my router is providing the DHCP service, will that means I need to re-organized the whole network included the web cam and my Synology? Is there any simple way to achieve that?
    It's the effort you think it is, and it involves getting that gateway server reconfigured to have its address in a different subnet and the DHCP server reconfigured to pass out addresses within a range within that subnet, and this is an effort that scales as your network increases and as you get IP addresses embedded. If you're going to do remote access via VPN, many home networks and many coffee shops will use 192.168.0.0/24 or 192.168.1.0/24, and having the same subnet on both ends of the VPN means IP routing tosses a snit.
    [Please read the DNS article|http://labs.hoffmanlabs.com/node/1436] through, and then post up questions you might have.

  • Failed to set security on SQL Server registry key. Error: 2

    Hi,
    I have a Primary site (mixed mode) running SCCM 2007 SP1 for many months now with no issues.
    This site is made up of two Win 2008 sp2 servers sharing the SCCM roles:-
    SCCM01 - Site server, DP, RP, PXE and SQL2005 hosting the SCCM database
    SCCM02 – SUP, MP, FSP, SLP
    The SQL2005 on SCCM01 is running under a domain service account called
    domain\service_sccm which is also a sysadmin in SQL as is the SCCM02 server.
    In an effort to resolve the isse I have made this account a Domain Admin.
    I have also used this account to log onto SEC01 to run the Secondary Site installation and to be the SQL Service account.
    I'm now trying to add a Secondary Site on a Domain Controller called SEC01 (also Win2008 sp2) and on the same LAN as the SCCM01/02.
    This is where I get problems.
    I run the installation locally on the Sec Site server (DC) as a Domain Admin and the installation completes OK (all green ticks),
    the ComponentSetup.log and Pre-Reqs are all good as well however when I check the ConfigMgrSetup.log I see the below -
    Failed to set security on SQL Server registry key. Error: 2.
    <11-09-2010 22:46:59> SMS Setup full version is 4.00.6221.1000
    <11-09-2010 22:46:59> Successfully set security on Setup registry key.
    <11-09-2010 22:46:59> Failed to set security on SQL Server registry key. Error: 2
    <11-09-2010 22:46:59> Successfully set security on Identification registry key.
    <11-09-2010 22:46:59> Creating SMS Inbox Source registry key ...
    <11-09-2010 22:46:59> Installing SMS Site Component Manager ...
    <11-09-2010 22:46:59> Installing Site Component Manager under acct <NT AUTHORITY\SYSTEM> path <C:\Program Files (x86)\Microsoft
    Configuration Manager\bin\i386\sitecomp.exe>
    <11-09-2010 22:47:01> Started Site Component Manager service
    <11-09-2010 22:47:01> SMS Site Component Manager installation completed.
    <11-09-2010 22:47:01> Done with service installation
    Adding the PMP role to SEC01 also fails to install and no MPSetup or MPControl logs are created.
    WebDav and win2008 roles, features all added and server fully patched.
    Despooler.log on SCCM01 seems good and passing keys.
    Tried installing to default path and to shortened path such as C:\SCCM
    The new secondary site is listed in the console and an address can be added for the Secondary Site
    BITS Server Extensions and Remote Differential Compression Features are enabled.
    The Group memberships all appear ok:-
    SCCM01
    Local Admins    
    contains the sec site server SEC01, SCCM01, installation accounts
    SMS_SiteToSiteConnection_001              
    SEC01 (the sec site server)
    SMS_SiteSystemToSiteServerConnection_001                 
    SCCM02
    SEC01
    No Local Admins as a DC
    SMS_SiteToSiteConnection_002              
    SCCM01
    SMS_SiteSystemToSiteServerConnection_002     
    empty
    SQL 2005
    This has the account logged in during installation as a sysadmin
    SCCM02 is also sysadmin
    The fundamental issue appears to be that the SEC01$ server account is not being added to SQL Logins (and therefore SCCM database Roles)
    therefore the installation cannot complete.
    I have tried to manually add the SEC01 account to SQL Logins before installation of Sec Site but this did not work.
    Not sure if the fact that SEC01 is a DC may be a factor.
    Appreciate any help if anyone has seen this before or can suggest a resolution.
    Thanks

    After a lot of digging around and head scratching I eventually found the resolution.
    The original thread title Error turned out to be a bit of a red herring in that my failure to deploy Sec Sites came down to two separate issues seemingly unrelated to the error message of the thread title.
    The first part of the resolution was to manually create the SQL Server accounts for the Sec Site Servers and assign them to the smsdbrole_MP DB role to
    let the SQL side of the SCCM install complete a s these were not being created automatically.
    This then left the fact that that the installation of the Sec Site completed successfully according to the install logs in C:\ however the DP and MP would
    never install.
    The big clue was eventually contained in the mpfdm.log errors relating to
    **ERROR: Cannot find path for destination inbox SMS_AMT_PROXY_COMPONENT on server REGISTRY SMS_MP_FILE_DISPATCH_MANAGER 
    and
    **ERROR: Cannot find path for destination inbox Asset Intelligence KB Manager on server REGISTRY SMS_MP_FILE_DISPATCH_MANAGER 
    Thankfully the errors led me to these two blogs:
    http://myitforum.com/cs2/blogs/scassells/archive/2009/07/20/error-cannot-find-path-for-destination-inbox-sms-amt-proxy-component-on-server-registry.aspx
    and
    http://social.technet.microsoft.com/Forums/en-US/configmgrsetup/thread/5fcc53d4-8629-4b34-9eaa-6cb020eedc13/
    As it turned out the SCCM installation registry and folder creation does not complete and I had to manually enter the reg settings as detailed in the
    links above to complete the installation. Once I did as described everything worked a treat – all my MPs and DPs are 100% now.
    Solutions
    Add the following reg keys to each of your effected secondary sites.
    Inbox Fix
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\MPFDM\Inboxes]
    "Asset Intelligence KB Manager"="E:\\Program Files\\Microsoft Configuration Manager\\inboxes\\AIKbMgr.box"
    "SMS_AMT_PROXY_COMPONENT"="E:\\Program Files\\Microsoft Configuration Manager\\inboxes\\amtproxy.box" 
     Asset Intelligence fix:
     Note: you will need to identify the next largest key value. 
    In my example it was key 49
     Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Inbox Source\Inbox Definitions\49]
    "Inbox Name"="Asset Intelligence KB Manager"
    "Relative Path"="inboxes\\AIKbMgr.box"
    "NAL Path"=""
    "User Rights"=dword:00000000
    "Service Rights"=dword:00000004
    "Monitoring Enabled"=dword:00000001
    "Location Type"=dword:00000001
    "Guest Rights"=dword:00000001
    AMT registry Fix.
      Note: you will need to identify the next largest key value. 
    In my example it was key 50
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Inbox Source\Inbox Definitions\50]
    "Inbox Name"="SMS_AMT_PROXY_COMPONENT"
    "Relative Path"="inboxes\\amtproxy.box"
    "NAL Path"=""
    "User Rights"=dword:00000000
    "Service Rights"=dword:00000004
    "Monitoring Enabled"=dword:00000001
    "Location Type"=dword:00000001
    "Guest Rights"=dword:00000001
    Big thanks to Shaun Cassells and John Marcum for these blogs

  • Help me with setting up my first server

    I recently decided to buy a Mac Mini server for my small business (4 users including myself) to run mail, file sharing, calander and addressbook services.
    Since I'm also looking at this as a personal project, I don't want to hire a server administrator to do it for me. I have a limited knowledge about server administration, so please bear with me!
    So I got the mac mini server, an static IP from my ISP (business internet), a registered domain(example.ca) and a cheap SSL certificate. A website is already up on the example.ca domain (hosted by my domain and host provider) and I don't plan to mess with that.
    Using my domain provider's CP, I set the default [email protected] as a catch-all email. I then plan to use a POP email fetcher on the server to get all emails sent to my domain from the webmaster account and distribute them among users. The reason for this setup is that I suspect having instability problems for a while and I don't emails sent to my employees to get rejected because my server might be down. then I set up my network like this :
    Modem >>>
    unmanaged switch >>>
    1. 1st IP(dynamic) :an spare wireless router for my private home network >>> home clients
    2. 2nd IP(static) : an 8 port business router for my office network with DHCP enabled >>> mac mini server and 4 other clients
    I didn't use mac mini server as a gateway because I didn't want to deal with the complicated mesurements securing the exposed server from public internet.
    If I made any mistakes so far, please correct me.
    Now I want to start setting up snow leopard server, and I have some questions:
    1.What DNS configuration do you think I should use? Considering the mail setup I want to use, and the fact that I don't want to mess with the website seperately hosted website(example.ca), Should I go with a split-brain DNS, use a subdomain, or get another registered domain (like example.me) for internal purposes?
    Also,How should I configure the MX records?
    (please answer in detail because I'm a real noob when it comes to DNS)
    2.Do I need to ask my ISP to correct reverse DNS records for my static IP address? Is that at all needed for running a mail server?
    3.What is the current status regarding SLS support for Windows 7 users? I saw a number of topics filled with people complaining that windows 7 users are unable to easily login to SLS. Is that problem still unresolved?
    4. At what stage during setup do I need to add the SSL certificate? How do I get the mail server to use the certificate for encrypting connection to outside users?
    5. Aside from VPN, what options do I have to provide access to the mail server for outside users? What ports do I need to open on my router's firewall(25,...?)
    6.What is the current status of Mozzila thunderbird + Lightening plugin on windows? Is it stable and compatible enough with mail, ical and addressbook servers? Are there any other hassle-free options availabe
    7.Do I need to leave NAT enabled on my router?
    8.Should I turn off the SLS's built-in firewall to avoid having to open ports on two firewalls(h/w and s/w)?
    Sorry if it's a lot to read!
    Thanks,

    Camelot wrote:
    Lots of issues here, I'll try to cover then.
    Let's start with:
    1. 1st IP(dynamic) :an spare wireless router for my private home network >>> home clients
    2. 2nd IP(static) : an 8 port business router for my office network with DHCP enabled >>> mac mini server and 4 other clients
    That's fine, conceptually - giving you two LANs, one for home and one for work. However, I'm unsure of the 'dynamic' nature of the home IP address. I'm not aware of any ISP that would give both static and dynamic addresses over the same link. It could happen, but I think it more likely that the ISP gave you a small block of IP addresses (e.g. 4 or 8 addresses) one of which you'll use for your office and the other from home.
    That doesn't really make a lot of difference, other than the fact the home network's public IP is likely to be static, not dynamic.
    1.What DNS configuration do you think I should use? Considering the mail setup I want to use, and the fact that I don't want to mess with the website seperately hosted website(example.ca), Should I go with a split-brain DNS, use a subdomain, or get another registered domain (like example.me) for internal purposes?
    You can't configure split DNS with Server Admin, so if that's what you want you'll have to get under the hood.
    However, given the small number of clients involved I'd just go with private, internal DNS for your network clients. That doesn't preclude using an external web host.
    Also,How should I configure the MX records?
    That's a little trickier since you want mail to go upstream (to your host) and then suck it back down to your server. The real question is whether you want that to happen for internal clients, too - if Joe on your network is sending a message to Bob, does that message need to go through your web host or not?
    If not then setup the mail server to be authoritative for your domain and point your internal DNS's MX record to your server.
    Leave the MX record in your public DNS pointing to your web host - that way mail from external users will go to your web host (at least for now), but mail sent internally will go direct to the user.
    In other words, for now, don't change anything on your public DNS. Just setup your own private DNS server that's only used by your internal hosts. That way you don't impact your public traffic while you're tuning this.
    2.Do I need to ask my ISP to correct reverse DNS records for my static IP address? Is that at all needed for running a mail server?
    Is that all you need? No. LOL
    But it is an important requirement.
    3.What is the current status regarding SLS support for Windows 7 users? I saw a number of topics filled with people complaining that windows 7 users are unable to easily login to SLS. Is that problem still unresolved?
    I have no idea. I don't have any Windows clients on my network.
    4. At what stage during setup do I need to add the SSL certificate? How do I get the mail server to use the certificate for encrypting connection to outside users?
    OK, this one worries me a little since you say you have already the SSL certificate. How did you do that?
    To obtain a SSL certificate you need to generate a CSR - Certificate Signing Request - from your server that you send to a Certificate Authority. This CSR contains details about your domain/hostname and is verified by the certificate authority - a critical element in the chain of trust.
    If you don't yet have your server setup, you can't generate the CSR, so you can't obtain a certificate.
    So what did you do?
    Normally the process is to use Server Admin to generate a CSR for your server once it's up and running. You then send the CSR to the CA who return a SSL certificate. You install that cert via Server Admin, and all the services (such as mail and web) offer that cert as an option for encryption.
    5. Aside from VPN, what options do I have to provide access to the mail server for outside users? What ports do I need to open on my router's firewall(25,...?)
    If all your mail clients are internal, that's all you need (to allow incoming mail). All LAN clients talk to the server directly and don't go through your firewall.
    6.What is the current status of Mozzila thunderbird + Lightening plugin on windows? Is it stable and compatible enough with mail, ical and addressbook servers? Are there any other hassle-free options availabe
    See #3 above
    7.Do I need to leave NAT enabled on my router?
    Unless you have enough static IP addresses for every machine in your network, yes. Even if you do have enough, I'd usually recommend using it anyway.
    8.Should I turn off the SLS's built-in firewall to avoid having to open ports on two firewalls(h/w and s/w)?
    Personal choice, but I do.
    1. The ISP actually offers only 5 dynamic IPs on my service. However, it gives the option of buying a static IP seperately. and that's what I did.
    2. Can you go into a little more detail about the internal DNS configuratio? This is the part I really have problems with.
    3. it's really not that important to me that the emails users send internally stay within the network or travel back and forth to the host server. We don't really have that much internal communications. What I really don't understand is how i am going to send emails (from a local email account) to the outside, while there is no reference to my host's mail server in my configuration.
    4. I kinda jumped ahead a little bit when I was talking about the SSL certificate. I was actually in the process of buying it without knowing that I need to setup my server first.
    5. Actually , I REALLY need the ability to access my mail outside my LAN (I travel a lot), and I prefer to avoid VPN because connecting to VPN that often is a inconvinient.
    6.Do you also recommend putting the mac mini behind a router, or prefer the simplicity using it as a gateway brings?
    Thanks a lot for the thoughtful answer.

  • Advice on setting up a windows server 2012 domain LAB for study within Hyper V server 2012 r2 machine

    HI im wanting to setup a study lab containing several windows 2012 r2 servers (mixture of core and full installs) to allow me to study towards my MCSA in server 2012 r2 and then for MCSE.
    Physical equpiment, 
    1 pc   which is has window 8.1 pro installed from this machine.  This machine i would like  to remote manage and connect through to my Hyper-v server and then into any of the virtual machines. (this machine is more of a gaming pc so not
    able to run to many vm's from it)
    2 pc bought Just for study  8 core processor 1 tb of hhd space 16 gb of ram.
    This machine i would like to setup using hyper-v server 2012 r2,  which then i would create a test domain within it also with some clients allowing me to play and undstand the principles im learning.
    now im getting conflictiong information regarding the Hyper-v server 2012.
    If i set the hyper-v server up as a standalone in a work group.  Would i be able to manage ther VM's within the hyperv server from my external windows 8 pro machine using the remote server management tools or would i need to connect that pc
    to the domain.
    Things I think i can do but not sure.   as im still learning
    Could I setup a server 2012 r2 running AD dns and add the hyper-v role then wihtin that create the rest of the domain inside, allowing me from my other phyical machine log on to domain and manage all servers and machines.
    Could I set up as i originally suggested, set up hyper-v 2012 server in a workgroup,  then create the domain within the hyper-v server but still connect from my external pc to manage the hyper-v and all the internal VM's within the domain.
    I could run a Domain controller on a VM from my other windows 8 machine (within hyper-v or wmware), then on the 2nd machine install the hyper-v server connect it to the domain running from the other machine from what i can see, many people say this is the
    better option, BEST Practice, but this is only a lab and i dont require resilience.  and i would prefer to have my  as a sever manager via the remote tools.
    So what i like to know if you can point me in the right direction either by a guide for someone who has setup a similar to me.
    or tell which of the above options is possible or not so i dont waste anytime.
    Network, i know i can do this virtually but i already have cisco routers and layer 2 swicthes so i may make the network lab via them.
    Thanks in advance  for any help you can give me

    "If i set the hyper-v server up as a standalone in a work group.  Would i be able to manage ther VM's within the hyperv server from my external windows 8 pro machine using the remote server management tools or would i need to
    connect that pc to the domain."
    It makes it easier to set up if everything is in the same domain, but it is quite possible to manage the VMs without being part of the domain.  A very useful tool that I use for my lab all the time (my lab is in a lab domain and my laptop is in the
    corporate domain with absolutely no trusts between them) is RDCMAN. 
    http://www.microsoft.com/en-us/download/details.aspx?id=21101  I all my machines, physical and virtual, defined within RDCMAN and can easily connect to any one of them from my laptop.  But to understand how to manage everything remotely, I create
    one virtual workstation within the domain and load all the management tools on it.  I RDP to the management workstation and perform most management functions, but I can get to any machine directly if I need to.
    "Could I setup a server 2012 r2 running AD dns and add the hyper-v role then wihtin that create the rest of the domain inside, allowing me from my other phyical machine log on to domain and manage all servers and machines."
    Yes, but you could also build the AD as a VM, too.
    . : | : . : | : . tim

  • Setting up a testing server in Dreamweaver for Java Development

    Hey there,
    I'm new to Java however, I'm look forward to learning I've been trying to set-up a testing server for Java on my local machine in Dreamweaver but am having some problems! Can anyone outline the steps required in order to do this. I'd really appreciate it.
    I did follow the following link http://www.coderanch.com/forums/jforum?module=posts&action=insert&forum_id=33 and went through the troubleshooting section at the bottom. However my Java code does not display in Dreamweaver's 'Live View'
    Thanks in advance to anyone willing to take the time.
    Mike

    Hey Murray,
    Thanks for the link to the Dreamweaver Forum
    The link I provided you with earlier was in error I should placed this link instead:
    http://www.adobe.com/devnet/dreamweaver/articles/setup_testing_server.html
    Thanks for your assistance.
    Mike

  • Setting up a testing server in Dreamweaver for JAVA Development (NOT JavaScript)

    Hey there,
    I'm new to Java however, I'm look forward to learning I've been trying to set-up a testing server for Java on my local machine in Dreamweaver but am having some problems! Can anyone outline the steps required in order to do this. I'd really appreciate it.
    I did follow the following link http://www.adobe.com/devnet/dreamweaver/articles/setup_testing_server.html and went through the troubleshooting section at the bottom. However my Java code does not display in Dreamweaver's 'Live View'
    Thanks in advance to anyone willing to take the time.
    Mike

    Hey Murray,
    Thanks for the link to the Dreamweaver Forum
    The link I provided you with earlier was in error I should placed this link instead:
    http://www.adobe.com/devnet/dreamweaver/articles/setup_testing_server.html
    Thanks for your assistance.
    Mike

Maybe you are looking for