Dropbox process running under root.
Hello people i just checked activity monitor for a process and i saw the process "dbfseventsd" and i google it and it came up that it is a dropbox process, and it was running under the root user and it was a 32bit process. Can anyone tell me why that process was there note the process is not always there when i use dropbox.
Thanks
Alex
Hello All
Since a couple days, in my Home appears DCQd7rmUW9.tmp. It is a temp file produced by dbfseventsd but operated by Java. It is a DropBox process anyway?
Similar Messages
-
Managed Client running under root
Hi
Can any one of you here tell me what is Managed Client???
I saw that one in the Activity Monitor and it is running under root account.
Is this one of the Apple Remote Desktop?
Or other Application is running.Try a google search for *managed client site:apple.com* and peruse the hits.
-
Getting processes running under NT
Dear all,
Is it possible for my Java application to check whether some process is running under NT 4.0? For example, can I check whether Word 2000 is currently running on a machine? You can see winword.exe being active in the task manager, how can I catch this from my Java application?
Thanks in advance,
SebastiaanLook into NT Resource Kit. You can access commands like 'ps -ef' (it'll give you the list of running processes - just like Unix).
using Runtime.getRuntime().execute("ps -ef | grep [your_process_name]");
The trick part would be to capture the output. Right from the top of my head: do Runtime.getRuntime().execute("ps -ef >> output.txt");
It'll create output.txt with some output in it. Reading in the file, you'll find out if your process is running.
The NT Resource Kit is a standard utility any nt sysadmin should have.
Good luck
AN
www.bizdisplay.com -
Hello
I have a problem with my bftpd. It is working but its runnig under root user. I dont know how to run it like ftp.
Thank you for your replies.
[jerka@pils ~]$ su
Heslo:
[root@pils jerka]# su ftp -c "/usr/sbin/bftpd -D" -s /bin/bash
You must change your password immedeatly (need by rootem)
Change password for ftp.
(present) UNIX password:
[root@pils jerka]#
I try run it like ftp but as you can see, its not worknig.
Here is my bftpd.conf
Configuration file for bftpd.
global {
DENY_LOGIN="no"
PORT="21"
PASSIVE_PORTS="0"
DATAPORT20="no"
ADMIN_PASS="x"
PATH_BFTPDUTMP="/var/run/bftpd/bftpdutmp"
XFER_BUFSIZE="2048"
XFER_DELAY="0"
ALLOW_FXP="no"
CONTROL_TIMEOUT="300"
DATA_TIMEOUT="30"
RATIO="none"
ROOTDIR="%h"
UMASK="022"
LOGFILE="/var/log/bftpd.log"
HELLO_STRING="Welcome to PILS ftp server"
AUTO_CHDIR="/"
FILE_AUTH="/etc/bftpdpass"
RESOLVE_CLIENT_IP="no"
MOTD_GLOBAL="/etc/ftpmotd"
MOTD_USER="/.ftpmotd"
RESOLVE_UIDS="yes"
DO_CHROOT="yes"
LOG_WTMP="yes"
BIND_TO_ADDR="any"
PATH_FTPUSERS="/etc/ftpusers"
AUTH_ETCSHELLS="no"
ALLOWCOMMAND_DELE="yes"
ALLOWCOMMAND_STOR="yes"
ALLOWCOMMAND_SITE="yes"
HIDE_GROUP=""
QUIT_MSG="Stejne jsem to vsechno hodil do krbu!"
USERLIMIT_GLOBAL="0"
USERLIMIT_SINGLEUSER="0"
USERLIMIT_HOST="0"
GZ_UPLOAD="no"
GZ_DOWNLOAD="no"
Last edited by jerka (2007-12-18 11:00:00)u can chroot it, or just leave it be, i dont have any ideas how you might use port 21 w/o root privilegies.
-
Apache : One httpd process running as root instead of nobody
Hello,
Running mediawiki under apache 2.2.8-2, I see strange messages saying that some files under /root/.texmf-var/ do not exist !
I was sure that apache was configured to run as the user nobody !
After doing a ps|grep, I get :
# ps auxw | grep httpd
[b]root[/b] 32465 0.6 0.5 89788 10352 ? Ss 18:16 0:00 /usr/sbin/httpd -k start
nobody 32468 0.0 0.3 89788 7552 ? S 18:16 0:00 /usr/sbin/httpd -k start
nobody 32469 0.0 0.3 89788 7552 ? S 18:16 0:00 /usr/sbin/httpd -k start
nobody 32470 0.0 0.3 89788 7552 ? S 18:16 0:00 /usr/sbin/httpd -k start
nobody 32471 0.0 0.3 89788 7552 ? S 18:16 0:00 /usr/sbin/httpd -k start
nobody 32472 0.0 0.3 89788 7552 ? S 18:16 0:00 /usr/sbin/httpd -k start
And the same after killing them all and restarting /etc/rc.d/httpd
I have in httpd.conf:
User nobody
Group nobody
How is it possible ?
Any hint ?
-mathieuThis is necessary to use port 80
There might be other reasons. -
Netbeans not running under root user
I noticed that after installing Netbeans under user 'root', I'm able to use it under my user account, but it doesn't launch when I'm logged in as root. I'm running Arch x86_64 with XFCE in VirtualBox. Everything else works, including:
Firefox
Pidgin
Eclipse
SRWare Iron browser
It's not a big problem but when I'm logged in under my user account I can't install new plugins from inside Netbeans.
I tried running it from the command line but nothing happens, including when I try "sh netbeans -verbose".
I"m curious why I'm unable to start Netbeans when I'm logged in as root. Has anyone else experienced this?Maybe you should reinstall it "as user" if you're experiencing problems with plugins installation.
Edit: IIRC you can use xhost to let root run GUI apps.
Last edited by karol (2010-09-01 22:26:09) -
What is this Wine that takes over 100 MB of memory running on root on my computer?
What is this Wine that takes over 100 MB of memory running under root on my computer?
The only apps I have installed since purchasing are Mac Keeper and the most recent version of Caffeine.
Also, wine is running by itself, and it is there going when I first turn the computer on. I can shut it down through activity monitor, though.
When I look at the process heirarchically, though, it shows up.
The process heirarchy looks like this: launchd -> AntiVirus -> wine and nothing is running under wine. -
Qmasterd process doesn't run as root
I've just installed Compressor 4.0.2 on three of my laptops. On my main working computer Compressor refuses to work as the master. On my two other computers it works just fine with identical settings. I found out that on these two Macs the process qmasterd runs as root permanently (also when Compressor is not running) whereas on the "problem" Mac it runs with my user previleges. The process disappears when I quit Compressor on this machine. Activity Monitor tells me that qmasterd was started by launchd (on the two other Macs) and by Compressor itself (on the "problem" Mac).
I reinstalled Compressor and ran "Compressor Repair" with no success. I reinstalled MacOS 10.7.3, disabled the firewall, repaired permissions, used ethernet and WIFI connections, nothing. I read so many forum posts which don't give any solution for my problem.
When I try to form a cluster on the "problem" Mac an error comes up: "SwampDaemon::NFSPublisher: authorization has expired". Sometimes there is no error message at all.
Remember: With identical settings Compressor works as expected on two other Macs.Ever get any resolution on this? I am having the same issue.
-
How to modify Process Chain to run under BWREMOTE
Greetings,
below is the setup
- a process chain made up of an abap program
+ the program uses 'open dataset' to read the data on a file on the server and eventually to rewrite to a different directory
- when run the process chain get the following message:
"PC could not be scheduled- termination return code 8"
-when I run the abap in the background --> get the following message:
"OPEN_DATASET_no_authority"
- I have ful authorization to run any abap program and have full access to the server file.
- Notes: 947690 & 511475 --> has solution for changing the user id for BW up to and including 4.6C. Our system is 7.0
How can I change the user id in Process Chain so it can run under BWREMOTE and not under my user id.
Any suggestions are greatly appreciated. Thank you in advance,
B.A.Thank you everyone for your responses.
After the responses, I changed the user to BWREMOTE
- went thru the following steps:
RSPC - chose my PC - change mode - Menu - PC - Attributes - Execution user - selected option 'BW background user' --> saved the PC, checked it, activated it and scheduled it.
However, in sm37, I do not see the job under BWREMOTE, it is still under my userid.
Any suggestions please. Greatly appreciate it.
B.A. -
Java only runs as root under redhat 9
Further to my thread here:- http://forum.java.sun.com/thread.jsp?forum=37&thread=473177&tstart=0&trange=15
One key thing I forgot to post was that java WILL run when run as root.
It also 'half' runs as a non root user if you specify a max memory setting with -Xmx (it gets further before it dies).
Any clues anyone.
Please refer to the previous thread for more details.
ThanksFurther to my thread here:-
http://forum.java.sun.com/thread.jsp?forum=37&thread=47
177&tstart=0&trange=15
One key thing I forgot to post was that java WILL run
when run as root.Yes, but when you run as root the environment that you run in is different than that of a user.
It could of course be a permissions problem. For example it is skipping a directory because the user doesn't have permission to access it. But the exception exit still suggests that it is finding something that it shouldn't. And that probably isn't a good idea even if it is a permission problem on a directory. -
Hi how to add new folders under root for jsp in tomcat4.1.18
hi,
previsously i used tomcat3.3 and tomcat4.1.12 run sucessfully.
now i downloed jakartha_tomcat4.1.18,
i am running sample succesfuly direcly under root.
now i want my some jsp appilcationes to run under xyz,pqr folders
here my jsp files are abc.jsp,fgh.jsp while running file url like this
http://localhost:8080/xyz/abc.jsp
http://localhost:8080/pqr/fgh.jsp
while running url server not locate the files.
where i add these xyz and pqr folders in server.xml.
here my server.xml like this any one can modify this
<!-- Example Server Configuration File -->
<!-- Note that component elements are nested corresponding to their
parent-child relationships with each other -->
<!-- A "Server" is a singleton element that represents the entire JVM,
which may contain one or more "Service" instances. The Server
listens for a shutdown command on the indicated port.
Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<!-- Comment these entries out to disable JMX MBeans support -->
<!-- You may also configure custom components (e.g. Valves/Realms) by
including your own mbean-descriptor file(s), and setting the
"descriptors" attribute to point to a ';' seperated list of paths
(in the ClassLoader sense) of files to add to the default list.
e.g. descriptors="/com/myfirm/mypackage/mbean-descriptor.xml"
-->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"/>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
debug="0"/>
<!-- Global JNDI resources -->
<GlobalNamingResources>
<!-- Test entry for demonstration purposes -->
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users -->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved">
</Resource>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" (and therefore the web applications visible
within that Container). Normally, that Container is an "Engine",
but this is not required.
Note: A "Service" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Tomcat-Standalone">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Each Connector passes requests on to the
associated "Container" (normally an Engine) for processing.
By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second Connector
entry. SSL support requires the following steps (see the SSL Config
HOWTO in the Tomcat 4.0 documentation bundle for more detailed
instructions):
* Download and install JSSE 1.0.2 or later, and put the JAR files
into "$JAVA_HOME/jre/lib/ext".
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
with a password value of "changeit" for both the certificate and
the keystore itself.
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost(). This can have an adverse impact on
performance, so you can disable it by setting the
"enableLookups" attribute to "false". When DNS lookups are disabled,
request.getRemoteHost() will return the String version of the
IP address of the remote client.
-->
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" />
<!-- Note : To disable connection timeouts, set connectionTimeout value
to -1 -->
<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
<!--
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="100" debug="0" scheme="https" secure="true"
useURIValidationHack="false" disableUploadTimeout="true">
<Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
clientAuth="false" protocol="TLS" />
</Connector>
-->
<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="0"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
<!-- Define an AJP 1.3 Connector on port 8009 -->
<!--
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>
-->
<!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
<!-- See proxy documentation for more information about using this. -->
<!--
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8082" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="100" debug="0" connectionTimeout="20000"
proxyPort="80" useURIValidationHack="false"
disableUploadTimeout="true" />
-->
<!-- Define a non-SSL legacy HTTP/1.1 Test Connector on port 8083 -->
<!--
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8083" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" />
-->
<!-- Define a non-SSL HTTP/1.0 Test Connector on port 8084 -->
<!--
<Connector className="org.apache.catalina.connector.http10.HttpConnector"
port="8084" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" />
-->
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host). -->
<!-- You should set jvmRoute to support load-balancing via JK/JK2 ie :
<Engine name="Standalone" defaultHost="localhost" debug="0" jmvRoute="jvm1">
-->
<!-- Define the top level container in our container hierarchy -->
<Engine name="Standalone" defaultHost="localhost" debug="0">
<!-- The request dumper valve dumps useful debugging information about
the request headers and cookies that were received, and the response
headers and cookies that were sent, for all requests received by
this instance of Tomcat. If you care only about requests to a
particular virtual host, or a particular application, nest this
element inside the corresponding <Host> or <Context> entry instead.
For a similar mechanism that is portable to all Servlet 2.3
containers, check out the "RequestDumperFilter" Filter in the
example application (the source for this filter may be found in
"$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
Request dumping is disabled by default. Uncomment the following
element to enable it. -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="catalina_log." suffix=".txt"
timestamp="true"/>
<!-- Because this Realm is here, an instance will be shared globally -->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
debug="0" resourceName="UserDatabase"/>
<!-- Comment out the old realm but leave here for now in case we
need to go back quickly -->
<!--
<Realm className="org.apache.catalina.realm.MemoryRealm" />
-->
<!-- Replace the above Realm with one of the following to get a Realm
stored in a database and accessed via JDBC -->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority"
connectionName="test" connectionPassword="test"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
connectionName="scott" connectionPassword="tiger"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="sun.jdbc.odbc.JdbcOdbcDriver"
connectionURL="jdbc:odbc:CATALINA"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!-- Define the default virtual host -->
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<!-- Normally, users must authenticate themselves to each web app
individually. Uncomment the following entry if you would like
a user to be authenticated the first time they encounter a
resource protected by a security constraint, and then have that
user identity maintained across all web applications contained
in this virtual host. -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn"
debug="0"/>
-->
<!-- Access log processes all requests for this virtual host. By
default, log files are created in the "logs" directory relative to
$CATALINA_HOME. If you wish, you can specify a different
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
-->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
-->
<!-- Logger shared by all Contexts related to this virtual host. By
default (when using FileLogger), log files are created in the "logs"
directory relative to $CATALINA_HOME. If you wish, you can specify
a different directory with the "directory" attribute. Specify either a
relative (to $CATALINA_HOME) or absolute path to the desired
directory.-->
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>
<!-- Define properties for each web application. This is only needed
if you want to set non-default properties, or have web application
document roots in places other than the virtual host's appBase
directory. -->
<!-- Tomcat Root Context -->
<Context path="" docBase="ROOT" debug="0"/>
<!-- Tomcat Examples Context -->
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_examples_log." suffix=".txt"
timestamp="true"/>
<Ejb name="ejb/EmplRecord" type="Entity"
home="com.wombat.empl.EmployeeRecordHome"
remote="com.wombat.empl.EmployeeRecord"/>
<!-- If you wanted the examples app to be able to edit the
user database, you would uncomment the following entry.
Of course, you would want to enable security on the
application as well, so this is not done by default!
The database object could be accessed like this:
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
UserDatabase database =
(UserDatabase) envCtx.lookup("userDatabase");
-->
<!--
<ResourceLink name="userDatabase" global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
-->
<!-- PersistentManager: Uncomment the section below to test Persistent
Sessions.
saveOnRestart: If true, all active sessions will be saved
to the Store when Catalina is shutdown, regardless of
other settings. All Sessions found in the Store will be
loaded on startup. Sessions past their expiration are
ignored in both cases.
maxActiveSessions: If 0 or greater, having too many active
sessions will result in some being swapped out. minIdleSwap
limits this. -1 or 0 means unlimited sessions are allowed.
If it is not possible to swap sessions new sessions will
be rejected.
This avoids thrashing when the site is highly active.
minIdleSwap: Sessions must be idle for at least this long
(in seconds) before they will be swapped out due to
activity.
0 means sessions will almost always be swapped out after
use - this will be noticeably slow for your users.
maxIdleSwap: Sessions will be swapped out if idle for this
long (in seconds). If minIdleSwap is higher, then it will
override this. This isn't exact: it is checked periodically.
-1 means sessions won't be swapped out for this reason,
although they may be swapped out for maxActiveSessions.
If set to >= 0, guarantees that all sessions found in the
Store will be loaded on startup.
maxIdleBackup: Sessions will be backed up (saved to the Store,
but left in active memory) if idle for this long (in seconds),
and all sessions found in the Store will be loaded on startup.
If set to -1 sessions will not be backed up, 0 means they
should be backed up shortly after being used.
To clear sessions from the Store, set maxActiveSessions, maxIdleSwap,
and minIdleBackup all to -1, saveOnRestart to false, then restart
Catalina.
-->
<!--
<Manager className="org.apache.catalina.session.PersistentManager"
debug="0"
saveOnRestart="true"
maxActiveSessions="-1"
minIdleSwap="-1"
maxIdleSwap="-1"
maxIdleBackup="-1">
<Store className="org.apache.catalina.session.FileStore"/>
</Manager>
-->
<Environment name="maxExemptions" type="java.lang.Integer"
value="15"/>
<Parameter name="context.param.name" value="context.param.value"
override="false"/>
<Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/EmployeeAppDb">
<parameter><name>username</name><value>sa</value></parameter>
<parameter><name>password</name><value></value></parameter>
<parameter><name>driverClassName</name>
<value>org.hsql.jdbcDriver</value></parameter>
<parameter><name>url</name>
<value>jdbc:HypersonicSQL:database</value></parameter>
</ResourceParams>
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"/>
<ResourceParams name="mail/Session">
<parameter>
<name>mail.smtp.host</name>
<value>localhost</value>
</parameter>
</ResourceParams>
<ResourceLink name="linkToGlobalResource"
global="simpleValue"
type="java.lang.Integer"/>
</Context>
</Host>
</Engine>
</Service>
<!-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
as its servlet container. Please read the README.txt file coming with
the WebApp Module distribution on how to build it.
(Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
To configure the Apache side, you must ensure that you have the
"ServerName" and "Port" directives defined in "httpd.conf". Then,
lines like these to the bottom of your "httpd.conf" file:
LoadModule webapp_module libexec/mod_webapp.so
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy examples warpConnection /examples/
The next time you restart Apache (after restarting Tomcat, if needed)
the connection will be established, and all applications you make
visible via "WebAppDeploy" directives can be accessed through Apache.
-->
<!-- Define an Apache-Connector Service -->
<!--
<Service name="Tomcat-Apache">
<Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75"
enableLookups="true" appBase="webapps"
acceptCount="10" debug="0"/>
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt"
timestamp="true"/>
<Realm className="org.apache.catalina.realm.MemoryRealm" />
</Engine>
</Service>
-->
</Server>
==========
any one may modify above one
thanks
pullareddyjAs the server.xml is big enough, I took the minimum portion of it. Hope u can proceed with it.
<!-- Tomcat Root Context -->
<Context path="" docBase="ROOT" debug="0"/>
<!-- New contexts -->
<Context path="/xyz" docBase="pathTo_xyz" debug="0" crossContext="true"/>
<Context path="/pqr" docBase="pathTo_pqr" debug="0" crossContext="true"/>
<!-- Tomcat Examples Context -->
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true">
You should also provide a WEB-INF folder under pqr or xyz folder.
You should also provide a web.xml file under each WEB-INF folder.
The minimal web.xml is
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtd/web-app_2_3.dtd">
<web-app>
</web-app>
That's it. Try it out. Hope it is OK.
Hafizur Rahman
SCJP -
Global data getting reset when running under IIS?
We have a scenario using IIS with an ASP.NET web service written in VB.NET. When a call to the web service is made, the web service calls a native dll (written in C, compiled using VS2010) using platform invoke, which in turn calls into our product API:
VB.NET web service -> native library (p/invoke) -> native API ....
Web service requests are successfully completed and the system runs without problem for hours. A trace of the native API shows it is being called by multiple processes and multiple threads within those processes.
The main native API dll contains a static global variable used to detect whether it is the first time it has been called and run initialization logic if it is. This dll is itself linked to a second dll that contains a global variable used to detect if it is
the first time it has been called.
After some hours the trace shows that the native API is invoked by an existing process but that the initialization logic is being exercised again, even though the global variable was set to indicate not first time and is never reset. One theory was that
the first process has ended and a new process has started almost instantaneously using the same process ID. However this is not the case as existing thread IDs from the same process are seen to write to the trace again after the first time logic has executed
for the second time, indicating the process has not restarted. The problem occurs regularly.
It is as though the process's global data has been initialized again and malloc'ed memory freed while the processing is still running. Is there any way this is possible when running under IIS?
There is an internal thread which waits on a blocking read of a named pipe (via ReadFile), and when the problem occurs, the ReadFile call ends with ERROR_NO_ACCESS, which appears to indicate the malloc'ed buffer is no longer valid, again implying something
has happened to the memory allocated to the process.Suggestting you asking it on:
http://forums.iis.net/ -
Installing XP, running under VMWare
I am brand new to a Mac, and have found the Mac Pro I received a week ago was great to upgrade. Adding both memory and a new Caviar Black 1T drive this morning was the quickest/easiest upgrade I've ever done.
I am currently formatting the new drive I just installed. The Format settings are Mac OS Extended (journaled), and the erase option was set to Zero out the data - I'm assuming this will ensure bad blocks will be marked as they are found - *Out of curiosity, does the disk utility mark bad blocks when found during the Zeroing out process?*
I'm hoping to avoid problems with the way the drive is set up prior to installing VMWare, XP, and moving files onto the drive.
Does VMWare Fusion deal with the format differences between what XP expects (NTFS) and the HFS+ format of the new drive? If not, do I need to do anything to handle this issue?
Secondly, I want to load XP from my MSDN disks - All of the Microsoft operating systems are contained on the MSDN disks. Anybody know if this will cause an issue?
Should I install XP for both VMWare and Bootcamp? Or can I run fine with a single copy running under VMware?
Thanks in advance,
MichaelZeroing with OS X Disk Utility seems very iffy and not as good as if you use vendor supplied utility which runs in Windows. I've even done 7-way write in Disk Utility and the drive showed problems.
I suggest you try something else than DU. MicroMat TechTool Pro seems able to identify weak or bad sectors, does not have means to remap. Intech Speedtools should be able to, and may, but that's another $89.
LIfeguard from WD, Seatools from Seagate... those are better. -
Background Task running under initiator not under WF-BATCH
Hi All,
I am trying to resolve a problem with a Background task running under intiator. Since the initiator does not have authorization to execute the task, it is not working.
My understanding was, all background tasks will run under WF-BATCH!!. Is it correct?. in 4.7, it is working this way.
However in ECC 6.00 the background task before the first dialog work item is executed under 'intiator' in this case. I have moved the same task after first dialog work item, and it was executed under WF-BATCH.. I cannot move the task after the dialog workitem as the task need to be executed immediatly after the creation of workflow.
1. How can I run the task in backgroud under WF-BATCH?
2. Inside the task, I am running a BDC to update a flag in downpayment transaction created using F-47. How can I run the process under batch user to overcome the authorization issue that initiator will not authorization.
I am running this workflow in SAP ECC 6.0 level 13
Any help is really appreciated..
thanks in advance for your help.
johnsonThis issue can be resolved with triggering the event using the additional flag export parameter 'CREATOR' in function module ''SWE_EVENT_CREATE_FOR_UPD_TASK' as WF-BATCH. I was not passing this parameter and hence it didn't work in ECC 6.0 as it take who ran the process as creator and ran the background task under that users id.
Thanks Rachid for your input to resolve this problem.
johnson zavier -
Hi,
At OS level one porocess is taking more CPU how to find the query running under that process.
5 ? *15581* oracle 241 20 7776M 8704K run 6:58 *99.97* 99.79 oracleCORE
3 ? *24777* oracle 241 20 7781M 16240K run 79:31 *99.50* 99.32 ora_j001_CORE
How to find the queries.test with the query in proided link http://www.dba-oracle.com/t_high_cpu.htm
Thanks
Maybe you are looking for
-
No disk error-locks up computer
My problem is a little strange. I have been receiving a small error box showing up when trying to open iTunes. It is not always saying the exact same thing but does have one common statement, no disk in drive. Currently is is saying: Windows no disk
-
Is there a way to open another pdf via a button in my (pdf embedded) flash movie?
My Acrobat 9 pro pdf, contains an ActionScript 2.0 swf, added via the Flash tool, on the multimedia toolbar. The Flash file contains an animation introducing a collection of linked pdf files. At the end of the intro a button appears, which when click
-
How can I find the size in MB/GB of playlists in iTunes 11?
It used to be displayed in the window in the previous version, but now I can't find it anywhere, even under Get Info. How I love iTunes 11, such an improvement...
-
I got a new iPad how do I get my photos onto it from my Old iPad
I got the new iPad I currently have the iPad 1 before that I cannot figure out how to get my Photos from my old iPad to my new iPad please help
-
My Photoshop CCapplication downloaded as a 32 bit application on a Windows 7, 64 bit machine. Is 64 bit available, and how?