Running the App Server as a user other than root

We used to use iPlanet Web Server which during installation allowed you to specify which user you wanted to run the Web Server. This was very good for security. How do you do this with the App server ?
Thanks
PS We are running it on Solaris 9.

Application Server 7 expands on the flexibility offered in the web server.
The most basic means to define app server instances with non-root users is to create an administrative domain (basically, an admin server instance) using the user ID of interest. As you create new application server instances in the admin domain, you can assign the same user ID to the instances.
(There is an admin domain that is initially configured as part of the app server installation. If you installed the product as root, then the admin server and the initially configured app server instance are owned by root. If you do not want these instances to be owned by root, you should remove this admin domain and create a new one that is owned by a non-root user.)
For example, with the following command, I've created a new app server config (an administrative domain) containing an admin server owned by user "ckamps":
root@canteloupe-{}: asadmin create-domain sysuser ckamps adminuser admin adminpassword password adminport 5050 ckamps.domain3
Created Domain ckamps.domain3 successfully
root@canteloupe-{}:
Then I create an app server instance within this admin domain:
root@canteloupe-{}: asadmin create-instance domain ckamps.domain3 sysuser ckamps --instanceport 80 instance1
Created Instance instance1 successfully
Note the use of the "--sysuser" option to specify the user that owns both the admin domain as well as the app server instance.
You can either use root to define the admin domain and the instances (in which case you need to specify the sysuser option to force a non-root ownership) or you can use a non-root user to define the admin domain and app server instances.  In the latter case, specification of the sysuser is not required.
Since my instance is defined to listen on a privileged port, I'll need to set the "run as user" in the <instance-dir>/config/init.conf file (similar to magnus.conf in Sun ONE Web Server 6) AND ensure that I start the instance as root. Once the server instance starts up as root, it will automatically switch to the run as user.
The "User" setting below is the "run as user" specified in the admin console's "Create new instance" wizard.
<snip of init.conf>
NetsiteRoot /usr/appserver
ServerID instance3
ServerName canteloupe
PidLog /var/appserver/domains/ckamps.domain3/instance3/logs/pid
User ckamps
DNS off
</snip>
Alternatively, you can start up the newly defined admin server and create the new app server instance through the admin console.
Hope this helps,
Chris

Similar Messages

  • Can I install Calendar Server on another partition other than root file system

    Can I install Calendar Server on another partition other than / ?
    <P>
    In this version, the default path is hard coded to install in
    /users/unison. However, if you do not have enough room on your root
    partition or choose to install it in another location, you can do so
    using a logical link. The installation guide explains this as well.
    <P>
    For example, suppose you want /users/unison, which must NOT already
    exist, to be logically linked to /var/opt/unison, which must exist.
    Then as root user:
    <P>
    <UL>
    <LI>
    Create the directory /users (if it does not already exist)
    <P>
    % mkdir /users
    <P>
    <LI>
    Create the logical link. The directory /users/unison must
    NOT exist before doing this.
    <P>
    % ln -s /var/opt/unison /users/unison
    </UL>
    <P>
    <P>

    makes a lot of sense.  I am looking for an answer myself.  My documents folder long ago outgrew it's place on the boot drive.  It would be nice to keep it in the user folder organized on another disc

  • No user other than root can login with Java Desktop System

    Dear guys,
    I have a issue with loging in Oracle Solaris 10 using X-Browser and need your help.
    I can login to console login using X-Browser but only root can login that use Java Desktop Release 3 and
    all rest user cannot login with the session use Java Desktop Release 3.
    I have tried to rename .dt directory to reinitialize the user's environment but still not work.
    Any person have occurred this problem ? Can u suggest me an idea to solve this :(
    Thx for all !
    Edited by: ThangTT on Jul 18, 2011 12:29 AM

    Dear Nik,
    You're right ;) but no solved the problem when I change permission for /tmp dir. :(
    Let I show to u the log from .dt/startlog
    $more .dt/startlog
    --- Mon Jul 18 16:40:22 ICT 2011
    --- /usr/dt/bin/Xsession starting...
    --- starting /bin/true
    --- Xsession started by dtlogin
    --- starting /usr/dt/bin/dtsession_res -load -system
    --- sourcing /oracle/home/.dtprofile...
    --- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
    --- sourcing /usr/dt/config/Xsession.d/0015.sun.env...
    --- sourcing /usr/dt/config/Xsession.d/0020.dtims...
    --- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
    --- sourcing /usr/dt/config/Xsession.d/0040.xmbind...
    --- sourcing /usr/dt/config/Xsession.d/1001.swupnot...
    --- sourcing /usr/dt/config/Xsession.d/1099.br...
    /usr/dt/bin/Xsession[659]: /var/tmp/brlog: cannot create
    --- starting /usr/dt/bin/dtsearchpath
    --- starting /usr/dt/bin/dtappgather &
    --- starting /usr/dt/bin/dsdm &
    --- session log file is /dev/null
    --- DTSOURCEPROFILE is 'true' (see /oracle/home/.dtprofile)
    --- execing /usr/dt/config/Xsession2.jds with a /usr/bin/bash login shell ...
    --- starting desktop on /dev/pts/10
    Oracle Corporation SunOS 5.10 Generic Patch January 2005
    Couldn't open /tmp/_sttyFile_fGaO1i
    /usr/dt/bin/Xsession[788]: 4518 Hangup
    X connection to 172.24.30.34:1.0 broken (explicit kill or server shutdown).
    Have any idea from u :(

  • HT1349 I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???

    I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???

    Welcome to the Apple Community.
    Enter the details of her second account at system preferences> mail, contacts & calendars.

  • Email Enabled lists - where to run the SMTP server? On APP server or on Exchange Server? Or somewhere else?

    Hi there,
    I need to setup EMail Enabled lists in SharePoint 2010 site. Where do I need to run the SMTP server? On APP server or on Exchange Server? Or somewhere else?
    Thank you so much.

    The SMTP service cannot run on the Exchange server. You can run it on a SharePoint server, or a stand alone server and share out the drop directory over SMB.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • [svn:bz-4.0.0_fixes] 16148: Update config testsuite on 4.0. 0_fixes branch to force kill the app server before running any tests when the app server is Tomcat .

    Revision: 16148
    Revision: 16148
    Author:   [email protected]
    Date:     2010-05-17 06:40:40 -0700 (Mon, 17 May 2010)
    Log Message:
    Update config testsuite on 4.0.0_fixes branch to force kill the app server before running any tests when the app server is Tomcat. The regression runs were hanging on this branch when going to run the config suite because the Tomcat server isn't shutting down cleanly at the end of the MXUnit run. I believe this is an issue with the version of ActiveMQ we are using. Since I don't think we want to update ActiveMQ on this branch force killing the Tomcat server will workaround the problem.
    Modified Paths:
        blazeds/branches/4.0.0_fixes/qa/apps/qa-regress/testsuites/config/build.xml

    Hi,
    Thanks for the reply. I have tried this on another machine running the same version of Blackboard. It works fine.
    Only difference is that the machine that has the JVM crash is running on Fujitsu PrimePower and the OS is Solaris 9 (but twigged for PrimePower).
    The one where it runs and starts up successfully is running on SunFire (OS is Solaris 10).
    I am wondering if there is a problem with the JVM loading required libraries because of the OS being different versions.
    Any leads on this is welcomed. Thank you.
    Regards,
    Hon Peng
    ===================
    On Fujitsu Primepower
    SunOS 5.9 Generic_118558-33 sun4us sparc FJSV,GPUS
    the Dependencies for libjvm.so are as follows:
    ===================
    bash-2.05$ ldd -r libjvm.so
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libsched.so.1 => /usr/lib/libsched.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    /usr/platform/FJSV,GPUS/lib/libc_psr.so.1
    =====================================
    On SunFire, Sun machine
    SunOS 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-280R
    the dependencies are different for the libjvm.so:
    =====================================
    bash-2.05$ ldd -r libjvm.so
    libsocket.so.1 => /lib/libsocket.so.1
    libsched.so.1 => /usr/lib/libsched.so.1
    libdl.so.1 => /lib/libdl.so.1
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libm.so.1 => /lib/libm.so.1
    libthread.so.1 => /lib/libthread.so.1
    libc.so.1 => /lib/libc.so.1
    libnsl.so.1 => /lib/libnsl.so.1
    libmp.so.2 => /lib/libmp.so.2
    libmd5.so.1 => /lib/libmd5.so.1
    libscf.so.1 => /lib/libscf.so.1
    libdoor.so.1 => /lib/libdoor.so.1
    libuutil.so.1 => /lib/libuutil.so.1
    /platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
    libm.so.2 => /lib/libm.so.2
    /platform/SUNW,Sun-Fire-280R/lib/libmd5_psr.so.1

  • Running Sun App Server 7 and 8 on the same box

    Hello,
    Are there any known issues with running Sun App Server 7 and 8 in the same host box ? Currently I am encountering some class not found exceptions with Sun App Server 8 . Sun App Server 7 runs just fine.
    Thanks,
    Aswin.

    It's not advisable to run separate installations of
    ColdFusion 7 and ColdFusion 8 single server on the same machine the
    re are several services that will try to use the same ports.
    However, you can install ColdFusion Enterprise using the
    multi-server configuration and then deploy the J2EE versions of
    ColdFusion to JRun. You can change the JVM that each instance uses
    (we recommend the latest 1.4 for CF7 and the latest 1.6 for CF8),
    and everything should run fine.
    ColdFusion itself is essentially just a J2EE application, the
    J2EE server itself is JRun 4. So the specific answer to your
    question is "don't install 2 copies of JRun 4 to the same machine".
    But yes, it's 100% possible, I'm running this configuration in my
    own development environment.

  • How to tell if the app server is running (on windows)

    Folks,
    I'm trying to write a deploy.bat - to build and deploy (using ant) my enterprise-app and web-services (the firstcup example)
    ... I'm stuck on winblows (for now) ...
    The deploy depends on the app server... so if it's not running, I'd like to start it automagically... but I've fallen on the first hurdle... I can't figure out how your supposed to determine if the server is up.
    Please can anyone help?
    FYI: I had a bit of a play with the asadmin tool and found:C:\Java\src\Tutorials\Sun\firstcup\example\firstcup>asadmin version
    Unable to communicate with admin server, getting version locally.
    Version = Sun Java System Application Server Platform Edition 9.0_01
    Command version executed successfully.
    C:\Java\src\Tutorials\Sun\firstcup\example\firstcup>echo %ERRORLEVEL%
    0which looks promising... I can grep for the "Unable to communicate with admin server" (using a perl one-liner)... butt ugly but effective (for now).
    TIA. Keith.
    PS: There doesn't seem to be an application server forum???

    Folks,
    Firstly, Thanx for the underwhelming response :-)
    I've got a working workaround.
    I created a "hello world" webapp which I hit it from a CGI script.
    It should be (slightly) more robust (and portable) than grepping for error messages from the asadmin version utility.
    Shame I'm dependant on the "old hat" for the new goose though.
    Cheers anyway. Keith.

  • What's consuming the app server heap memory?

    Dear all,
    I keep getting the "java.lang.OutOfMemoryError: Java heap space" error in our environment, I tried to remove the BAM from the Jboss, and the error disappear for some times, but it appear again recently, while we only changed one line of script in one of the form. (i.e. I don't think the error is caused by changing code)
    So, I would like to know where can I find some information about how the memory is consumed in ALC? Because we only have 2 workflow running, although one of them is heavily used.
    Here some information about my environment.
    - ALC 8.2.1 with no sp
    - Using the default Jboss as app server
    - Using the default MySQL as Database
    - Only 2 workflow running
      - While 1 of them have around 4 - 8 request pre week
      - And the others will have around 60 - 80 request pre day (i.e. around 490 pre week)
    Here listed some points I think may affect the memory and I want to know for sure:
    1) Number of variable used in long-live process (i.e. More variable = more Memory used)
    2) Number of operation used in long-live process (i.e. More operation = more memory used)
    3) Number of track record of long-live process (i.e. More track record = more memory used)
    4) Long-lived process vs Short-lived process (i.e. Only long-lived process will keep consume memory because short-lived process will only load on call?)
    5) Number of long-lived process still running (i.e. If we send a assign task to notify the user the workflow have been approved, and the user never dismiss it, it will turn out to consume the app server memory because it is still in the running stage)
    6) Old version of the same long-lived process will use memory even no active workflow? (i.e. Because active long-live process will load up into memory?)
    Thanks in advance
    Regards
    Bill

    Did you tried to increase your heap size in jboss server . try this  and i think it will  help you in solving this problem .
    if u want  to know how to increase the heap size:
    go to bath of ur JBoss    "D:\Adobe\Adobe LiveCycle ES2\jboss\bin" as example.
    scond find the Run file and  open it in  Text File
    find a line  which is responsible for   heap size ==>>"set JAVA_HEAP_ARGS=-XX:PermSize=128m -XX:MaxPermSize=192m -Xms1024m -Xmx1024m"
    close it and restart the server again and test your problem.
    put ur line to be like what i wrote 1024 means that 1 giga for heap of jboss.
    if the problem still appear for  you then your Memory doesnot of because memory heap size

  • Error while running the Managed server

    Hi
    i am getting the below error while running the Managed server.
    java.lang.IllegalArgumentException: config=oracle.dms.config.DumpConfig@186793e logDir=null agency=oracle.dms.reporter.SpyAgency@181f91a dmsTimer=java.util.concurrent.ScheduledThreadPoolExecutor@95b5c
         at oracle.dms.impl.producer.Dumper.<init>(Dumper.java:100)
         at oracle.dms.app.ServerInitializer.init(ServerInitializer.java:136)
         at oracle.dms.app.BaseInitializer.getInitializer(BaseInitializer.java:360)
         at oracle.dms.app.DmsSpy.init(DmsSpy.java:210)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<Dec 6, 2011 7:47:30 PM IST> <Info> <Deployer> <01hw198371> <managed_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JGJiy3T5EgGqywAhMG1ErYE5000002> <1323181050633> <BEA-149059> <Module dms.war of application DMS Application [Version=11.1.1.1.0] is transitioning from STATE_ADMIN to STATE_PREPARED on server managed_server1.>
    ####<Dec 6, 2011 7:47:30 PM IST> <Info> <Deployer> <01hw198371> <managed_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JGJiy3T5EgGqywAhMG1ErYE5000002> <1323181050711> <BEA-149060> <Module dms.war of application DMS Application [Version=11.1.1.1.0] successfully transitioned from STATE_ADMIN to STATE_PREPARED on server managed_server1.>
    ####<Dec 6, 2011 7:47:30 PM IST> <Error> <Deployer> <01hw198371> <managed_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JGJiy3T5EgGqywAhMG1ErYE5000002> <1323181050726> <BEA-149231> <Unable to set the activation state to true for the application 'DMS Application [Version=11.1.1.1.0]'.
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "Spy" failed to preload on startup in Web application: "dms.war".
    java.lang.IllegalArgumentException: config=oracle.dms.config.DumpConfig@186793e logDir=null agency=oracle.dms.reporter.SpyAgency@181f91a dmsTimer=java.util.concurrent.ScheduledThreadPoolExecutor@95b5c
         at oracle.dms.impl.producer.Dumper.<init>(Dumper.java:100)
         at oracle.dms.app.ServerInitializer.init(ServerInitializer.java:136)
         at oracle.dms.app.BaseInitializer.getInitializer(BaseInitializer.java:360)
         at oracle.dms.app.DmsSpy.init(DmsSpy.java:210)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.lang.IllegalArgumentException: config=oracle.dms.config.DumpConfig@186793e logDir=null agency=oracle.dms.reporter.SpyAgency@181f91a dmsTimer=java.util.concurrent.ScheduledThreadPoolExecutor@95b5c
         at oracle.dms.impl.producer.Dumper.<init>(Dumper.java:100)
         at oracle.dms.app.ServerInitializer.init(ServerInitializer.java:136)
         at oracle.dms.app.BaseInitializer.getInitializer(BaseInitializer.java:360)
         at oracle.dms.app.DmsSpy.init(DmsSpy.java:210)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    can anyone help

    Srinath is 100% correct.
    If the deployment failed, then there will very likely be some mention in the log.
    You state that you checked the log, but you didn't mention whether you found an error, no error, a successful startup, etc. you are providing painfully few details to assist.
    I would bet if you posted your .log and .out logs to Pastebin.com - #1 paste tool since 2002 and provided us links, We would be able to point out the error.
    Lacking that information, my best advice would be to re-install and double-check you're completing all steps in the correct order.
    Also, be sure to always search the product documentation first, the search this forum. For basic issues (e.g., standard installation), there is a high probability that someone else has asked that question.
    I hope that helps,
    -ryan

  • Adobe LiveCycle ES 8.2 Installation Error can't configure the App Server from Config Manager

    Hello All-
    We are trying to install the Adobe LiveCycle ES 8.2 SP2 and we are getting some issues while configuring the Application Server from the Config Manager, not sure why are those showing up, we never had these issues before when we installed 8.0, please look at the lcm log and the screenshot I provided for the errors which we are getting.
    We are trying to configure the remote Application Server WebSphere on Linux from my machine which is on Windows and i made the target Application Server as WebSphere and target platform as linux when i initially installed the livecycle media.
    The LCM logs say it failed to run the jacl scripts in the LiveCycle root directory and we wonder why is it pointing for the target Application Server to the Application Server which resides on my machine rather than it should point to the one on server. I am not sure what's going on and we did exactly what we did for 8.0.
    Below are the environment details where we are trying to install.
    Adobe LiveCycle ES: 8.2 SP2
    Database: IBM DB2 9.1 FP4.
    JVM Version and Vendor: 1.5.0 IBM Corporation
    Application server: IBM WebSphere Application Server/6.1.0.19
    Operating System: Linux
    Hardware: x86 .
    Any help will be appreciated!
    Thanks-
    Karthik.

    Hi All,
    Even i was facing the same issue but i was able to resolve it.
    Although the earlier reply from karthik_chowdary was sent way back in 2008 and i think would have got resolved till now, but still the resolution which i have found is
    The port i was using on the app server conf screen was that of application server HTTP Port.
    But here in case of WebSphere ND, we need to use port specified in WAS UI > System administrator > Deployment manager > Ports
    Try using that by default it is 8879.
    And this resolved the issue.
    ~Hkin

  • HELP! The App server stopped working!

    Everything was fine then I started getting this when trying to run the applicaiton. Note that it keeps giving this same error message over and over until I stop the app server.
    I did notice that the context-root was missing in the domain.xml as mentioned, so I put it back, but that still did not help.
    Any ideas?
    Starting Sun Java System Application Server Platform Edition 8.0.0_01 (build b08-fcs) ...
    [#|2005-04-13T17:17:53.474-0500|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.system.stream.err|_ThreadID=10;|java.util.logging.ErrorManager: 0: Error In getLogService  |#]
    java.util.logging.ErrorManager: 0: Error In getLogService java.util.logging.ErrorManager: 0: Error In getLogService
    recursive call into SystemOutandErrhandler
    java.lang.RuntimeException: recursivecall
         at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream.flush(SystemOutandErrHandler.java:189)
         at java.io.PrintStream.write(PrintStream.java:260)
         at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
         at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
         at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:115)
         at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:169)
         at java.io.PrintStream.write(PrintStream.java:305)
         at java.io.PrintStream.print(PrintStream.java:448)
         at java.io.PrintStream.println(PrintStream.java:585)
         at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingPrintStream.println(SystemOutandErrHandler.java:144)
         at java.util.logging.ErrorManager.error(ErrorManager.java:76)
         at com.sun.enterprise.server.logging.ServerLogManager.getLogService(ServerLogManager.java:284)
         at com.sun.enterprise.server.logging.FileandSyslogHandler.publish(FileandSyslogHandler.java:266)
         at java.util.logging.Logger.log(Logger.java:424)
         at java.util.logging.Logger.doLog(Logger.java:446)
         at java.util.logging.Logger.log(Logger.java:469)
         at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream.flush(SystemOutandErrHandler.java:198)
         at java.io.PrintStream.write(PrintStream.java:260)
         at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
         at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
         at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:115)
         at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:169)
         at java.io.PrintStream.write(PrintStream.java:305)
         at java.io.PrintStream.print(PrintStream.java:448)
         at java.io.PrintStream.println(PrintStream.java:585)
         at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingPrintStream.println(SystemOutandErrHandler.java:144)
         at java.util.logging.ErrorManager.error(ErrorManager.java:76)
         at com.sun.enterprise.server.logging.ServerLogManager.getLogService(ServerLogManager.java:284)
         at com.sun.enterprise.server.logging.ServerLogManager.reInitializeServerLoggers(ServerLogManager.java:468)
         at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:119)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:210)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    java.util.logging.ErrorManager: 0: Error In getLogService java.util.logging.ErrorManager: 0: Error In getLogService
    java.util.logging.ErrorManager: 0: Error In getLogService java.util.logging.ErrorManager: 0: Error In getLogService
    java.util.logging.ErrorManager: 0: Error In getLogService java.util.logging.ErrorManager: 0: Error In getLogService
    com.sun.enterprise.config.ConfigException: Error refreshing ConfigContext:C:\Sun\Creator\SunAppServer8\domains\creator\config\domain.xml
    cause: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
    Attribute "context-root" is required and must be specified for element type "web-module".
         at com.sun.enterprise.config.ConfigContextImpl.refresh(ConfigContextImpl.java:315)
         at com.sun.enterprise.config.ConfigContextImpl.refresh(ConfigContextImpl.java:397)
         at com.sun.enterprise.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:192)
         at com.sun.enterprise.config.ConfigBeansFactory.getConfigBeanByXPath(ConfigBeansFactory.java:36)
         at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getServerBean(ServerBeansFactory.java:84)
         at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getConfigModel(ServerBeansFactory.java:57)
         at com.sun.enterprise.config.serverbeans.ServerBeansFactory.getConfigBean(ServerBeansFactory.java:95)
         at com.sun.enterprise.server.logging.ServerLogManager.getLogService(ServerLogManager.java:281)
         at com.sun.enterprise.server.logging.FileandSyslogHandler.publish(FileandSyslogHandler.java:266)
         at java.util.logging.Logger.log(Logger.java:424)
         at java.util.logging.Logger.doLog(Logger.java:446)
         at java.util.logging.Logger.log(Logger.java:469)
         at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream.flush(SystemOutandErrHandler.java:198)
         at java.io.PrintStream.write(PrintStream.java:260)
         at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
         at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
         at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:115)
         at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:169)
         at java.io.PrintStream.write(PrintStream.java:305)
         at java.io.PrintStream.print(PrintStream.java:448)
         at java.io.PrintStream.println(PrintStream.java:585)
         at com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingPrintStream.println(SystemOutandErrHandler.java:144)
         at java.util.logging.ErrorManager.error(ErrorManager.java:76)
         at com.sun.enterprise.server.logging.ServerLogManager.getLogService(ServerLogManager.java:284)
         at com.sun.enterprise.server.logging.ServerLogManager.reInitializeServerLoggers(ServerLogManager.java:468)
         at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:119)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:210)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:172)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    Caused by: org.netbeans.modules.schema2beans.Schema2BeansNestedException: Failed to create the XML-DOM Document. Check your XML to make sure it is correct.
    Attribute "context-root" is required and must be specified for element type "web-module".
         at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:718)
         at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2262)
         at com.sun.enterprise.config.ConfigContextImpl.refresh(ConfigContextImpl.java:293)
         ... 32 more
    Caused by: org.xml.sax.SAXParseException: Attribute "context-root" is required and must be specified for element type "web-module".
         at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:266)
         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:206)
         at org.netbeans.modules.schema2beans.GraphManager.createXmlDocument(GraphManager.java:714)
         ... 34 more

    No, I did not modify the web.xml file. I did modify the applicationContext-jdbc.xml file though (Spring related) just before this started to happen.
    Also, I was adding some logic to the ApplicationBean just before the problem occured.

  • Finding the app server name

    Is there a way to find the app server name through peoplecode?
    The %appserver meta-html variable isn't available through peoplecode and looks like it only resolves when it is used as part of a page source (CNTL+J info page, for example). Our process server and app servers are different, and a user could be logged in through three different app servers. I'm hoping there is a way to get the equivalent of the %appserver meta-html sys variable.
    Thanks,
    Paul

    Hi
    Go to SAP Logon single click on your system and again single click at option change item..that will present at left side of your saplogon pad
    you will get all the information regarding that system on which you have clicke first.

  • Error while running the APP-F110 & Dunning - F150

    HI Guru's,
    while running the APP,,,i got the message finally <b>posting orders"1 generated,1completed"</b>,,,,,,,But i am not getting the spool request and printout
    In the same way in dunning,,i did the entire procedure,but not getting the spool request...
    kindly help me
    Regards
    Sap Guru

    hi Sapguru,
    ok, Congrats for posting the Orders...haa
    Go to Tcode <b>SE38</b> and enter the program as <b>RFFOUS_C</b> and execute it.
    In that screen enter the <b>Identification and program run date</b> and enter all the required firelds and then again execute it....
    So that u can print the Check with the check lot number that u have created
    Please create the check lot number in <b>FCHI</b>.
    If u want to see the spool then go to <b>SP01 </b>and see there...
    Hpe this resolve our problem...
    assign the points if usefulll
    Ranjit
    null

  • Create attachment of  a file stored on the app server for mail

    Hello All:
    I am working on sending a mail with attachemnts (file from the app server), i am aware of numerous solutions posted on the forum ....i am  able to create an attachment and send mail. the problem i am facing is the attachment is corrupted . can some one guide me as what i am ding wrong . here's the code
    DATA: REC(80) TYPE C.
        DATA: L_SIZE TYPE DRAO-ORLN.
        DATA: L_LINES TYPE I.
        DATA: L_DATA_TAB TYPE TABLE OF RCGREPFILE.
        DATA: L_DATA_TAB1 TYPE TABLE OF RCGREPFILE.
        DATA: L_DATA_WA TYPE RCGREPFILE.
        DATA: N_FILE TYPE RCGIEDIAL-IEFILE.
        P_FILE = '/usr/sap/MIE/SYS/global/PDFSpools/30978.pdf'.
        N_FILE = P_FILE.
        CONCATENATE 'C:temp' RQ2NAME '.pdf' INTO ELPATH.
    *   Read Data from the App server
        OPEN DATASET  P_FILE FOR INPUT IN BINARY MODE .
        DO.
          READ DATASET P_FILE INTO REC.
          IF SY-SUBRC NE 0.
            EXIT.
          ELSE.
            L_ANN = REC.
            APPEND  L_ANN TO T_PDF .
          ENDIF.
        ENDDO.
        CLOSE DATASET P_FILE.
    *   How do i get the filesize ?
        CLEAR L_ANN.
        DESCRIBE TABLE T_PDF LINES LIN_TEXT.
        LOOP AT T_PDF INTO L_ANN.
          APPEND L_ANN TO T_ANN.
        ENDLOOP.
    *    Using this i get the file size
    *    CALL FUNCTION 'C13Z_RAWDATA_READ'
    *      EXPORTING
    *        I_FILE           = N_FILE
    *      IMPORTING
    *        E_FILE_SIZE      = L_SIZE
    *        E_LINES          = L_LINES
    *      TABLES
    *        E_RCGREPFILE_TAB = L_DATA_TAB
    *      EXCEPTIONS
    *        NO_PERMISSION    = 1
    *        OPEN_FAILED      = 2
    *        OTHERS           = 3.
    *    CLEAR L_ANN.
    *    DESCRIBE TABLE L_DATA_TAB LINES LIN_TEXT.
    *    LOOP AT L_DATA_TAB INTO L_DATA_WA.
    *      L_ANN-LINE = L_DATA_WA-ORBLK.
    *      APPEND L_ANN TO T_ANN.
    *    ENDLOOP.
        DOC_CHNG-OBJ_NAME   = 'URGENT'.
        DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
        DOC_CHNG-OBJ_DESCR  = TEXTS.
        DOC_CHNG-SENSITIVTY = 'O'.
    *   DOC_CHNG-DOC_SIZE   = LIN_TEXT * 255.
        CLEAR OBJPACK-TRANSF_BIN.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM   = 0.
        OBJPACK-BODY_START = 1.
    *   OBJPACK-BODY_NUM   = LIN_TEXT.
        OBJPACK-DOC_TYPE   = 'RAW'.
        APPEND OBJPACK.
        NOMFITXER = ELPATH.
        CALL FUNCTION 'SPLIT_FILENAME'
          EXPORTING
            LONG_FILENAME  = NOMFITXER
          IMPORTING
            PURE_EXTENSION = EXTENSIO.
        OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM   = 1.
        OBJPACK-BODY_START = 1.
        OBJPACK-BODY_NUM   = LIN_TEXT.
        OBJPACK-DOC_TYPE   = EXTENSIO.
        OBJPACK-OBJ_NAME   = RQ2NAME.
        CONCATENATE RQ2NAME EXTENSIO
          INTO NOMFITXER SEPARATED BY '.'.
        OBJPACK-OBJ_DESCR = NOMFITXER.
        OBJPACK-DOC_SIZE  = L_SIZE * 255.
        APPEND OBJPACK.
        CALL FUNCTION 'BAPI_USER_GET_DETAIL'
          EXPORTING
            USERNAME = SY-UNAME
          TABLES
            RETURN   = BAPIRETUR
            ADDSMTP  = DADESUSER.
        READ TABLE BAPIRETUR WITH KEY TYPE = 'E'.
        IF SY-SUBRC NE 4.
        ELSE.
          READ TABLE DADESUSER INDEX 1.
    *     REMITENT = DADESUSER-E_MAIL.
          REMITENT = SY-UNAME.
        ENDIF.
        TEXTS = 'TEST MAIL'.
        APPEND TEXTS.
        DESTINATARIS-RECEIVER   = SY-UNAME.
        DESTINATARIS-REC_TYPE   = 'B'.
        DESTINATARIS-EXPRESS    = 'X'.
    *   DESTINATARIS-COM_TYPE   = 'INT'.
    *   DESTINATARIS-NOTIF_DEL  = 'X'.
    *   DESTINATARIS-NOTIF_NDEL = 'X'.
        APPEND DESTINATARIS.
        CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
             DOCUMENT_DATA                    = DOC_CHNG
             PUT_IN_OUTBOX                    = 'X'
             SENDER_ADDRESS                   = REMITENT
    *        SENDER_ADDRESS_TYPE              = 'SMTP'
             COMMIT_WORK                      = ' '
           IMPORTING
             SENT_TO_ALL                      = ENVIAT
    *        NEW_OBJECT_ID                    =
    *        SENDER_ID                        =
           TABLES
             PACKING_LIST                     = OBJPACK
    *        OBJECT_HEADER                    =
             CONTENTS_BIN                     = T_ANN
             CONTENTS_TXT                     = TEXTS
    *        CONTENTS_HEX                     =
    *        OBJECT_PARA                      =
    *        OBJECT_PARB                      =
            RECEIVERS                        = DESTINATARIS
          EXCEPTIONS
            TOO_MANY_RECEIVERS               = 1
            DOCUMENT_NOT_SENT                = 2
            DOCUMENT_TYPE_NOT_EXIST          = 3
            OPERATION_NO_AUTHORIZATION       = 4
            PARAMETER_ERROR                  = 5
            X_ERROR                          = 6
            ENQUEUE_ERROR                    = 7
            OTHERS                           = 8.
    Message was edited by: Poornanand Mandalika. Code was formatted using the <b>Code</b> button!!

    Assuming you are using Apache?
    You could place your Word docs in the same folder as your current Apex images directory (or a sub-directory off it) then reference them with a URL of the form http://yourserver/i/sample_word_file.doc. Alternatively you could add a new Alias entry to your dads.conf file (found in your Apache/modplsql/conf directory) to expose the folder on your webserver that contains your Word files via a URL such as http://yourserver/word_docs/
    E.g.
    Alias /word_docs/ "c:\my_docs\technical_word_docs/"
    Andy

Maybe you are looking for

  • Vendor Return of Imported goods

    Hi Sap Gurus, Can any body explain me the procedure to return the imported goods. is it necessary to generate ARE1/ARE3 reg. for return of imported goods? regards, abhay Edited by: Abhay Patil on Mar 26, 2008 11:04 AM

  • Viewing movie links on Safari

    Recent switch to Apple from PC. I was trying to view a movie trailer, and this was the message I got: "The media you are trying to access does not have a stream that matches your default settings. You might try running the Media HelperTM again. Check

  • NAC Profiler 2.18: Endpoint Profiles Missing

    This is a licensed Nac Profiler which has no canned Endpoint Profiles included. I go to Configuration--->Endpoint Profiles---> View/Edit Profile List The message I see is "No Profiles Found" Please clue me in on what I am missing. This is from the in

  • Has anybody downloaded logic pro from the app store and how did it work

    has anybody downloaded logic pro from the app store and how did it work? Thanks

  • Copy a journal template ?

    is there a way to copy a journal template in HFM 9.3.1 ?