What responsiblity is requirted to create new Org in Oracle 11i
Can someone please help me .. I want to know what responsibility is required to create new Org in Oracle 11i.
Edited by: aali on 20-Apr-2011 02:16
Hi;
Check your other thread
Re: I am unable to see some Org's from a responsiblity
Regard
Helios
Similar Messages
-
Error while creating new user in Oracle 11i EBS
I am getting following error while creating new user. How solve this issue?
“Unable to load java class % specified profile option SIGNON_PASSWORD_CUSTOM. Please verify that the class exists and that it implements the java interface oracle.apps.fnd.security.PasswordValidation”.Following is the text from Note for Custom Password Validation logic:
Customers who wish to use their own password validation logic may do
so by writing their own Java classes that implement the
oracle.apps.fnd.security.PasswordValidation Java interface. The
interface requires 3 methods to be implemented:
1) public boolean validate(String user, String password)
- This method takes a username and password, and then returns true
or false, indicating whether the user's password is valid or invalid,
respectively.
2) public String getErrorStackMessageName()
- This method returns the name of the message to display when the
user's password is deemed invalid (i.e., the validate() method returns
false).
3) public String getErrorStackApplicationName()
- This method returns the application shortname for the
aforementioned error message.
After writing the Java class to perform customized password
validation, the customer must then set the value of the profile option
SIGNON_PASSWORD_CUSTOM to be the full name of the class. If, for
example, the name of the Java class is
oracle.apps.fnd.security.AppsPasswordValidation, then the value of the
SIGNON_PASSWORD_CUSTOM profile option must be
oracle.apps.fnd.security.AppsPasswordValidation. Note that AOL/J
will attempt to load this class dynamically. Hence it is necessary to
make the class accessible by AOL/J. This means that in Forms, the
class must first be loaded into the database using the loadjava
command.
You will need to apply the following patches for 11.5.1:
1344802
1363919
1472974
1351004
1377615
You will need to apply the following patches for 11.5.2:
1377615 -
Hi, i am not able to get a Free icloud ID. Error is my device is not eligible for creating new free icloud ID. What do i do to create new one
Sir, your Apple ID can be used as an iCloud account as well. They are both the same thing.
You can learn more from --> Set up your Apple ID for iCloud and iTunes - Apple Support -
What is the need of creating New order type in PO
Dear Experts,
I have a doubt in MM, what is the need of creating New Order Types? Please explain with Business scenario. Thanking you,
Regards,
Elangovan.AHi Elangovan
Whenever you have a doubt like this...
--- just verify the config settings for your parameter (order type here).
---Also check whether authorizations can be given for this ?
---Do you need it for specific analysis ? Are there standard reports/listings available ?
So, some of the uses of order type are:
1) What are the parameters controlled by order type ?
It controls the number ranges and screen layouts etc. So, if you want to have different set of number ranges and different screen settings, then you may need a new order type.
2) Authorizations can be controlled with order type.
3) You can also use it in analysis/listings
Best regards
Ramki -
What are the prerequisites to create New Depreciation areas
Hi SAP experts,
I would like to know what are the prerequisites to create new depreciation areas and what is the configuration for this in details.
Thanks & Regards
MoulyHi Mouly,
The pre- requisite for creation of depreciation area are
- Reporting of depreciation as per different laws i.e in india, we need to report depn as per Ind accounting standards, as per income tax act, etc
- Whether we are using parallel currency or not for that company code.
Regards
Vivek -
Procedure for creating new Org Value
Hi
Can any one tell me the procedure for creating new Org Value
thanks,
SsssssssHi Sun...
Use PFCG_ORGFIELD_CREATE program and refer SAP Note 323817
Check out this thread....
Converting Field to Org level
regards,
Zaheer -
Why i can't not create new database in oracle 10g express
why i can't not create new database in oracle 10g express?
should i use oracle 11g standard edition?
thanksIn Oracle a schema is what a 'database' is in Sqlserver.
And if you would have been aware about the limitations of XE, you would have known you can only create *1* (one) database using Oracle XE.
However, probably you don't need a new database at all, and a schema will suffice.
Sybrand Bakker
Senior Oracle DBA -
How to create new database on Oracle 10g
Hi All,
Can any one tell me how to create new database on oracle 10g.
Thanks in Advance for your help.again some confusion here.....
u said u need a new database in your first post and now you saying u need a new schema..
one database has many schemas(users)..... ex: scott,sys,system are few of them...
now it depends you need seperate database for test,dev environment - this is in the case u have many schemas under each database and many tables(objects) under each schema.
OR
You just need a separate schema (in same db) for test,dev environment...where in you will have multiple tables in each schema...U need to know the dba credentials of the db to create a new schema.
ideally u need to have different database...You can create one with out sys/system(oracle users) password as these passwords are db dependent.
what you need is access to the any machine where server is installed(can be the same mc where you have your dev db or a diff machine) and that will be the machine where your db will be installed (can do it through database configuration assistance),ofcourse you will need windows authentication for this.
so you login to the same machine or access it from your machine using remote login.
I hope that is clear.Hope i am not listing things that you already know..Just did it coz of confusion between db and schema
Message was edited by:
coolguy -
Can we create new tablespace in Oracle Database 10g Express Edition?
Hi,
Can we create new tablespace in Oracle Database 10g Express Edition instead of using the default "users" tablespace provided?
Please advise.
Thank you.Correct. The sum of all user tablespaces is not allowed to exceed 4 GIG.
You could try shrinking your tablespaces. Theres a script called maxshrink on http://asktom.oracle.com which is useful for this.
You could compress your tables.
If you are storing lobs, you could consider storing them as bfiles.
Or upgrade to Oracle Standard Edition 1. Its not that expensive. -
Cannot create new user in oracle bam
Hi Guys,
Can anyone help me in creating new user in oracle bam. I've already follow the steps in bamadmin.pdf but i cannot connect to BAM using the one i've created.
Please Help.
Thank you!RRA wrote:
Hello,
How can I create a new user directly in database instead of creating from System Administrator menu in Oracle Applications R12 ?
Also, is it possible to apply some default responsibilities when a creation of new user account take place via database ?
Thanks.This topic was discussed many times in the forum before, please see old threads for the same topic/discussion along with the code you can use.
Create Application User from the Backend
https://forums.oracle.com/forums/search.jspa?threadID=&q=Create+AND+Application+AND+User+AND+Backend&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Create+AND+Users+AND+API&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Assign Responsibilities API
https://forums.oracle.com/forums/search.jspa?threadID=&q=Assign+AND+Responsibilities+AND+API&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
FND_USER_PKG API
https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
FND_USER_PKG.CreateUser
https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG.CreateUser+&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
FND_USER_PKG.AddResp
https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG.addresp&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Can Two Operating unit share one Inventory Org in Oracle 11i?
Can Two Operating units share one Inventory Org in Oracle 11i?
We have business scenario where we need to create multiple Operating unit but both of them uses a single Inventory Org.
Is this possible in Oracle 11i?Thank You Pranit for your response.
Can you please let me know the reason also?
We are having only one master inventory Org.
Thanks
Vijesh CV -
Need case study of Multi-org in Oracle 11i E-Business Suite.
Hi
Could you please share the case study for muliti-org in oracle 11i E-business suite.
Thanks in advance.
Thanks and Regards
Bharati AkkivalliCould you please share the case study for muliti-org in oracle 11i E-business suite. Please see these links.
http://bit.ly/UAegf7
https://forums.oracle.com/forums/search.jspa?threadID=&q=MultiOrg&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Duplicate period appearing in German when creating new Org Unit in PPOME
Hi Guys,
My users are encountering a problem when they create an Org. Unit/Position in PPOME.
Whenever a new Org. Unit is being created (lets assume with the validity date of 01.11.2006), an earlier period would automatically be created, thus making the object having 2 periods.
Upon clicking on the "Select Period" icon for the object in the Detail area of the screen, 2 lines of periods are being displayed.
When i view the second period, i would see the correct details of the Org. Unit that was keyed in by the user.
However, when i view the first period, the details are all on German language (this record was not created by the user at all).
Therefore, i checked the tables T528B and T528T, i found duplicate records for certain Object IDs. It seems the Org Unit that was created by the user is being appended after the Org Unit that is in German.
Any ideas on how to clean up those lines of data that is appearing in German and prevent such an occurance from happening in future?
Thanks in advanceHi Duxton,
Thanks for the reply.
I followed your instructions but i am unable to detect anything out of the ordinary.
I'm compared the configuration in Development again Production and they are the same.
However, the problem i described in this thread is not appearing in Development. It is just happening in Production.
Any other ideas?
It's not really affecting my client's business process but i would like to know what is causing it out of curiousity -
How to create new org.level and further actions?
Hi experts!
I need help on the follwing situation.
For better separation of industries for the marketing staff we do use the branch (e.g. food, energy, ...).
For that we want to adjust the authorizations to branch specific.
The questions are:
1) Is it possible to create a new organisational level "branch"?
2) If I have a new org.level I think I have to adjust existing authorization objects. Do I only have to extend the belonging auth.objects with the new org.level?
3) What else do I have to do if a new org.level branch is created to check authorizations on that?
Thanks for your help in advance.
Regards,
AlexIf I read your question correctly I think you want to create a new authorization field. To get that to work you'd need to adapt a lot of software. Definately not a path to follow.
All authorization cheecks need to hard-coded into the software. Changing SAP standard software is something one wants to stay away from as long as possible. It'll keep haunting you when patching, upgrading etcetera.
If you want to 'upgrade' an existing field to become organizational a forum serach on PFCG_ORGFIELD_CREATE should give you pointers. -
What's this?--Exception creating DataSource: org.hsql.jdbcDriver
How to register the MS-SQL Server2000 DataSource in Tomcat4.04?
Hi friends,
I only have the MS SQL Server 2000 Database,and prog with jsp and Tomcat.
Since the MS issue their JDBC Driver for SQL Server,I always use "DriverManager"
to get the database connection,
eg:
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
Connection conn = DriverManager.getConnection
("jdbc:microsoft:sqlserver://server1:1433","username","password");
Now I want to use "DataSource" to get connection in my prog,and I know it is necessary to register the DataSouce with JNDI in Tomcat before I can use it.
But how to register and use the SQL Server DataSource in Tomcat4.04? I had tried some times and all failed,tomcat throws a exception like this:"javax.servlet.ServletException: Exception creating DataSource: org.hsql.jdbcDriver"
what is "org.hsql.jdbcDriver"? may be it is tomcat's build in,but how can make my sql server driver work?
Any Commnet Will Be Appreicate!
----Below is my fail trail when try to config the Tomcat--------------------
Fellow the Tomcat's document,I modify the
"$CATALINA_HOME/conf/server.xml" like this.
<Context path="/MySite" docBase ="MySite" debug = "0" privileged = "true">
<Resource name="jdbc/pubsDb" auth="Container"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/pubsDb">
<parameter>
<name>user</name>
<value>LJS</value>
</parameter>
<parameter>
<name>password</name>
<value>121212</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>com.microsoft.jdbcx.sqlserver.SQLServerDriver</value>
</parameter>
<parameter>
<name>driverName</name>
<value>jdbc:microsoft:sqlserver://localhost:1433/pubs</value>
</parameter>
</ResourceParams>
</Context>
PS: the MSSQL Sever2000 has installed and had a user named "LJS" which password is 121212
and default database is "pubs".
Then,I modified the $CATALINA_HOME/webapps/MySite/WEB-INF/web.xml like this
<resource-ref>
<description>
Resource reference to a factory for java.sql.Connection
instances that may be used for talking to a particular
database that is configured in the server.xml file.
</description>
<res-ref-name>
jdbc/pubsDB
</res-ref-name>
<res-type>
javax.sql.DataSource
</res-type>
<res-auth>
Container
</res-auth>
</resource-ref>
finally I code a DB.jsp like this
<%@ page content="text/html"%>
<%@ page import="java.sql.*,javax.sql.*,java.naming.*"%>
<%
Context ctx = new InitialContext();
DataSource ds = (DataSource)(new InitialContext().lookup("java:comp/env/jdbc/pubsDB"));
%>
after all done, I launch the Tomcat 4.0 and type "http://localhost:8080/MySite/DS.jsp" in
my browser.
then Tomcat throw exception like this:
javax.servlet.ServletException: Exception creating DataSource: org.hsql.jdbcDriver
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
at org.apache.jsp.DS$jsp._jspService(DS$jsp.java:83)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:484)
root cause
javax.naming.NamingException: Exception creating DataSource: org.hsql.jdbcDriver
at
org.apache.naming.factory.TyrexDataSourceFactory.getObjectInstance(TyrexDataSourceFactory.java:233)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:165)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:835)
at org.apache.naming.NamingContext.lookup(NamingContext.java:181)
at org.apache.naming.NamingContext.lookup(NamingContext.java:822)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at org.apache.jsp.DS$jsp._jspService(DS$jsp.java:70)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:484)Hi,
don't know if you've already found a solution to this problem. Anyway, I had the same problem and the cause turned out to be a non-valid server.xml file.
Here is my (working) server.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- 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 debug="0" name="TestServer" port="8005" shutdown="SHUTDOWN">
<!-- 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:
* Download and install JSSE 1.0.2 or later, and put the JAR files
into "$JAVA_HOME/jre/lib/ext".
* Edit "$JAVA_HOME/jre/lib/security/java.security" and add
security.provider.2=com.sun.net.ssl.internal.ssl.Provider
* Execute: keytool -genkey -alias tomcat -keyalg RSA
with a password value of "changeit".
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 HTTP/1.1 Connector on port 8080 -->
<Connector acceptCount="10" className="org.apache.catalina.connector.http.HttpConnector" connectionTimeout="60000" debug="0" enableLookups="true" maxProcessors="75" minProcessors="5" port="8080" redirectPort="8443"/>
<!-- Note : To disable connection timeouts, set connectionTimeout value
to -1 -->
<!-- Define an SSL HTTP/1.1 Connector on port 8443 -->
<!--
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0" scheme="https" secure="true">
<Factory className="org.apache.catalina.net.SSLServerSocketFactory"
clientAuth="false" protocol="TLS"/>
</Connector>
-->
<!-- Define a Proxied HTTP/1.1 Connector on port 8081 -->
<!-- See proxy documentation for more information about using this. -->
<!--
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8081" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0" connectionTimeout="60000"
proxyPort="80"/>
-->
<!-- Define a non-SSL HTTP/1.0 Test Connector on port 8082 -->
<!--
<Connector className="org.apache.catalina.connector.http10.HttpConnector"
port="8082" 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). -->
<!-- Define the top level container in our container hierarchy -->
<Engine debug="0" defaultHost="localhost" name="Standalone">
<!-- 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 -->
<Realm className="org.apache.catalina.realm.MemoryRealm"/>
<!-- Define the default virtual host -->
<Host appBase="webapps" debug="0" name="localhost" unpackWARs="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" pattern="common" prefix="localhost_access_log." suffix=".txt"/>
<!-- 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"/>
-->
<Context docBase="D:\Program Files\IBM\WebSphere Studio\workspaces\Test\StudentWEB\Web Content"
path="/StudentWEB"
reloadable="true"
source="com.ibm.etools.webtools.server:StudentWEB">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_DBTest_log." suffix=".txt"
timestamp="true"/>
<Resource name="jdbc/TestDB"
auth="Container"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/TestDB">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<!-- Maximum number of dB connections in pool. Make sure you
configure your mysqld max_connections large enough to handle
all of your db connections. Set to 0 for no limit.
-->
<parameter>
<name>maxActive</name>
<value>100</value>
</parameter>
<!-- Maximum number of idle dB connections to retain in pool.
Set to 0 for no limit.
-->
<parameter>
<name>maxIdle</name>
<value>30</value>
</parameter>
<!-- Maximum time to wait for a dB connection to become available
in ms, in this example 10 seconds. An Exception is thrown if
this timeout is exceeded. Set to -1 to wait indefinitely.
-->
<parameter>
<name>maxWait</name>
<value>10000</value>
</parameter>
<!-- MySQL dB username and password for dB connections -->
<parameter>
<name>username</name>
<value>admin</value>
</parameter>
<parameter>
<name>password</name>
<value>admin</value>
</parameter>
<!-- Class name for mm.mysql JDBC driver -->
<parameter>
<name>driverClassName</name>
<value>org.gjt.mm.mysql.Driver</value>
</parameter>
<!-- The JDBC connection url for connecting to your MySQL dB.
The autoReconnect=true argument to the url makes sure that the
mm.mysql JDBC Driver will automatically reconnect if mysqld closed the
connection. mysqld by default closes idle connections after 8 hours.
-->
<parameter>
<name>url</name>
<value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value>
</parameter>
</ResourceParams>
</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 acceptCount="10" className="org.apache.catalina.connector.warp.WarpConnector" debug="0" enableLookups="true" maxProcessors="75" minProcessors="5" port="8008"/>
<!-- Replace "localhost" with what your Apache "ServerName" is set to -->
<Engine appBase="webapps" className="org.apache.catalina.connector.warp.WarpEngine" debug="0" name="Apache">
<!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger" prefix="apache_log." suffix=".txt" timestamp="true"/>
<!-- Because this Realm is here, an instance will be shared globally -->
<Realm className="org.apache.catalina.realm.MemoryRealm"/>
</Engine>
</Service>
</Server>
My web.xml looks like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>MySQL Test App</description>
<servlet>
<servlet-name>TestServlet</servlet-name>
<display-name>TestServlet</display-name>
<servlet-class>TestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>TestServlet</servlet-name>
<url-pattern>/TestServlet</url-pattern>
</servlet-mapping>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/TestDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
You can of course leave out the comments if you want...
Please let me know if this works on [email protected].
Kind regards,
Johan
Maybe you are looking for
-
Disk Utility Unable to Probe Target Disk
Hi All, iMac G5 iSight turns on to the blinking folder icon. Booted to a Tech Tools drive, tried repair disk in disk utility, it said it was unable to repair. Booted the G5 in Target disk mode, connected over firewire to a White Macbook. Eventually,
-
Non-application specific static files not visible in shared components
Hello, We recently upgraded to APEX 4.0.2.00.07. In the past we have uploaded a number of static files with no specific application linked to them. Now, when I search on these files using Shared Components -> Static Files, I don't find them back. But
-
Re: Cancel Billing Document
Hi Experts, Good Morning to all, I have a problem i want to cancel a Billing document in VF11 which posted in other country currency. So i went to VF11 and given the Billing document number the system says an Error Log so i went to Menu Tool bar of E
-
How to convert mime file to JPG
Can anyone tell me how to convert mime-attachments to JPG files? Photos that I take on my cell phone and that I send to my e-mail address show as photos when I receive them but the file is converted from a JPG file (in the phone) to a mime-attachment
-
SWING GUI is getting hangged when ever i send a server call
Hi, Can any one help me Using swings im making a server call i.e. to EJBs When ever im sending a server call GUI is getting hangged