Changing Server.xml (Tomcat) For E-mail
Hello,
Can anybody pls tell what should I change in Server.xml to get E-mail application working. Because Server.xml is configure for local SMTP host, that is what Tomcat documentation says and I need to change it to my ISP host. I don't know anything about xml.
So please tell what I need to change in Server.xml.
Hi,
Open your server.xml found in <tomcat-home>/conf/ directory.
Look for <ResourceParams name="mail/Session"> element.Change the values
according to your need.
-Amol
Similar Messages
-
Does anyone have a good server.xml file for tomcat?
I am trying to link apache and tomcat on a RedHat 9 computer. I previously posted a message stating that I could not get tomcat to "automagically" make the configuration files (mod_jk.conf-auto) that all the manuals promised it would. However, I found that my problem was the lack of an ApacheConfig tag in the server.xml file. After looking at my server.xml file, I found that it was much more simplistic than I would hoped = it did not have enough comments or commented out options. It had none of the directives that the manuals said it included by default.
In short, does anyone who has apache and tomcat linked have a server.xml file that I can look at so that I can figure out what I must add to mine to get tomcat working with apache? I would greatly appreciate it if you could copy and paste the whole thing here.
Thank you very much in advance.
Edward S. RiceHi!
I am having the Apache-Tomcat4.0 version installed on a Win2000 machine. I am pasting here my server.xml. Hope it will be useful to you. I even didnot do much modifications to my server.xml except for adding a context.
Please come back if problem persists.
<!-- 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">
<!-- 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 HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="60000"/>
<!-- 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 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 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 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 -->
<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?user=test;password=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?user=scott;password=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">
<!-- 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"/>
<!-- 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 path="/vijay" docBase="D:\Java\servlets" debug="0"/>
<!-- Tomcat Manager Context -->
<Context path="/manager" docBase="manager"
debug="0" privileged="true"/>
<!-- Tomcat Examples Context -->
<Context path="/examples" docBase="examples" debug="0"
reloadable="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"/>
<!-- 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 means unlimited sessions are allowed.
0 means sessions will almost always be swapped out after
use - this will be noticeably slow for your users.
minIdleSwap: Sessions must be idle for at least this long
(in seconds) before they will be swapped out due to
maxActiveSessions. This avoids thrashing when the site is
highly active. -1 or 0 means there is no minimum - sessions
can be swapped out at any time.
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>user</name><value>sa</value></parameter>
<parameter><name>password</name><value></value></parameter>
<parameter><name>driverClassName</name>
<value>org.hsql.jdbcDriver</value></parameter>
<parameter><name>driverName</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>
</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"
acceptCount="10" debug="0"/>
<!-- Replace "localhost" with what your Apache "ServerName" is set to -->
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0" appBase="webapps">
<!-- 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> -
Simple/silly question: how do I set/change default font/color for outgoing mail messages?
Just a suggestion..........
Download Thunderbird. Easier to use when it comes to what you want to do w/your emails. -
Server.xml, tomcat 5.0.16,Win XP Home
Hi,
This is regarding a servlet running question.I have done what all s required to test a servlet for sure,written the web.xml file,the .class file in the classes folder,so on,I am sure they are correct.
My question is whether I need to change the <CATALINA_HOME>/cof/server.xml file.I mean the <Context> tag.
Thanks in advance
ASHi,
This is regarding a servlet running question.I have
ve done what all s required to test a servlet for
sure,written the web.xml file,the .class file in the
classes folder,so on,I am sure they are correct.
My question is whether I need to change the
the <CATALINA_HOME>/cof/server.xml file.I mean the
<Context> tag.
Thanks in advance
ASI am the original poster of this topic,kindly consider this situation. More specific
I have a directory in <Tomcat_home>/webapps/sampleapp
Inside this i have the WEB-INF directory,inside the WEB-INF directory,I have the classes and lib folders and an optional sourcefile folder.
I have placed my .class file after compiling the source file in the classes directory.
written up a deployment descriptor web.xml placed it inside the WEB-INF directory.
As asked earlier,Do I have to change the context path in <Tomcat-Home>/conf/server.xml, keeping this situation in mind.
Hope this is a more specific question.
Any help would be greatly appreciated
Thanks
AS -
Server.xml tomcat specific?
I have a coworker that says that the server.xml file is Tomcat specific. So we should not put things in there related to the environment where the server is deployed (ie. windows versus unix directory names). So her case is that if we move to another application server we will not be able to do this.
Could someone tell me if server.xml is part of the web server spec?
ThanksYou should not be changing the web.xml file in TOMCAT_HOME/conf at all. Every WAR file you create should have its own web.xml in its WEB-INF directory. That's the one you should be changing.
I don't touch anything on Tomcat, not even the server.xml. I write a context.xml file whose name is the same as the WAR file I want to deploy. Then I put both in the TOMCAT_HOME/webapps directory. Tomcat picks up both and sets all the application-specific context data for me. No editing of the server.xml needed. I think it's a feature only in later versions of Tomcat - 4.1.24 and later. - MOD -
Exception in tomcat for java mail
pls tell me wat kinds of exception occurs.
i already set up all jar files in classpath .
if some one know uri for the jakarta mail talglib.
show me good idea
cheersFirst link returned by Google for a search for "Jakarta Mail Taglib":
http://jakarta.apache.org/taglibs/doc/mailer-doc/intro.html
And don't waste your time setting a classpath for your application server. -
Mail 4.5 SMTP Server Rejecting Password for Outgoing Mail
I just set up Mail 4.5 and am receiving incoming mails but can't send out my emails. I get a message saying the SMTP server rejected the password. I know it's the correct password, have entered it a few times now. I'd appreciate any advice. thnx
Hi Jan ...
From the Mail menu bar click Mail > Preferences then select the Accounts tab then the Account Information tab.
Select the account on the left.
Make sure the SMTP server is selected where you see: Outgoing Mail Server (SMTP)
Quit then relaunch Mail to test.
If the correct server is already selected, open Keychain Access located in /Applications/Utilities
Select Passwords on the left.
Use the search field top right corner of the window to find the email account. Then right or control click the keychain then click Delete.
Go back to the Account Information tab in Mail > Preferences. Type in the correct password. You should be prompted to save that password to a new keychain. Click Yes.
edited by: cs -
Smtp server rejects password for outgoing mail
I can receive, but not send messages from my imac and get the message the SMTP server "smtp.tiscali.co.uk" rejected the password for user ".........".
This has just suddenly started happening. I enter what I know to be the password but it is rejected, so I have to send via webmail (now talktalk, not tiscali) or iphone. I have looked on here before and tried re-entering password/changing the port but to no avail. Flummoxed.Hello, Fifietta.
Thank you for visiting Apple Support Communities.
Here is an article that will walk you through some troubleshooting steps that may help with this issue.
OS X Mail: Troubleshooting sending and receiving email messages
http://support.apple.com/kb/ts3276
Cheers,
Jason H. -
Cannot connect to server on IPad for yahoo mail
I can't seem to be able to access my Yahoo mail from my IPad 3 anymore. Any ideas as to what's causing this? I have wifi through a Verizon wireless router and then I have a range extender as well but when I'm in the house I use the Verizon user name and password to access my mail and the intent. Connecting to the internet has not been a problem, although a game I play gets squirrelly and losing connection to the service, but that could be the game. Mostly, I just want to get my yahoo mail like I used to. Please help!
Hi saahearn,
If you are having difficulty receiving email on your iPad, you may want to check out the troubleshooting steps given in this article -
iOS: Troubleshooting Mail
http://support.apple.com/kb/TS3899
Thanks for using Apple Support Communities.
Best,
Brett L -
Changing the xml name for forms
Hi,
I am using XML forms. I am facing an issue with the autogenerated name of the document.
I go to a folder ->new->form->choose an xml form, fill it up and save.
The form gets saved and displayed with a autogenerated (long) name with the.xml extension.
I am having 2 portals on which this is working.
1. on one portal, if i click on the link to the .xml file, the file opens as an xml. Only when i choose edit from the context menu of the file the form opens in the edit mode
2. in the other portal, if i click on the link to the file or choose edit from the context menu, the editable form opens
I want know a few things in this context:
1. Can I choose the name of the xml form created without having to rename the file?
2. Why is the form display different in two portals? Is this configured? If so, where?
3. If i want to use a form only for news items and should not be accessible within folders, is it possible to do that? If yes, how?
Could someone kindly help me with these queries?
Best Regards,
VidhyaHI
If u create a forms in xml forms builder and if u dont reference name property from the property schema to any one of the label what u had created in your edit form then following warning occurs
The Name property is not referenced. A GUID will be used as the XML file name.
in this case whenu create further forms from the folder->new ->forms--->urform and when u store this form in the folder u can find something like this 5565656hdhdhhdh.xml
instead if u create a name label in your edit form and reference it to property schema Name then u wont get the above warning message and when u store ur form in the folder then it will stored as for eg:comapany news i.e the value what the user had entered in the name field of edit form.
I think this name field by default is set to mandatory ---> yes in the properties of the label , if not set then make it yes.
Regards,
Vijay. -
Can someone tell me the outgoing mail server to set for Mac Mail?
My new MBP won't send Mail from me.com. Receives mail ok but won't send.
Should be: smtp.me.com.username
Stedman -
ISA changing web.xml parameters for ordering
Dear all,
I have the following problem. I would like to set the web.xml parameters in such a way that when I click add to basket from a product, to create a basket directly and add it rather than navigating to createdocument.jsp and having to choose between order and order template. I think this is possible, could someone please tell me some details on how to do it?
thank you very much in advanceHello Alkis!
Do you want to disable choose document type and create only a Basket type (neither Order nor Quotation) document while choosing product from product catalog?
Please give more clear requrements.
regards, Lev -
Hi ,
I want to add the conext information to my server.xml of tomcat for my hibernate configuration.....
the conext information is as follows ....
<Context path="/quickstart" docBase="quickstart">
<Resource name="jdbc/quickstart" scope="Shareable" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/quickstart">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<!-- DBCP database connection settings -->
<parameter>
<name>url</name>
<value>jdbc:postgresql://localhost/quickstart</value>
</parameter>
<parameter>
<name>driverClassName</name><value>org.postgresql.Driver</value>
</parameter>
<parameter>
<name>username</name>
<value>quickstart</value>
</parameter>
<parameter>
<name>password</name>
<value>secret</value>
</parameter>
<!-- DBCP connection pooling options -->
<parameter>
<name>maxWait</name>
<value>3000</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>100</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>10</value>
</parameter>
</ResourceParams>
</Context>
Where in my server.xml should i putI don't think you should have to edit the server.xml
at all. your app can have its own context.xml that
obviates the need for editing server.xml
%I did try that in many permutations. For some reason, the server.xml worked for me in 5.5 but not the context.xml. (Granted, it was late on Friday and I might have missed a step). :^)
- Saish -
Server.xml missing - can I still change the VO?
Dear OAF gurus,
I need to add two columns to the existing
oracle.apps.ar.hz.components.search.server.HzPuiOrgSearchResultsVO
view. (Oracle Customers Online application).
I found out we don't have the server.xml file for this VO. My question is - is it still possible to change the VO?
Of course, I can change (edit using text editor) the VO manually and also manually edit ...VOImpl.java and ...RowImpl.java files and put them back, but is it the right way to do it? (and what do I do with the changed VO in this fashion?) Can someone please advise?
Thank you.
AnatoliyRaffy,
Thanks a lot for your patience. I did another try, this time I got a link with the error message (sounds like a step forward :-). Could you kindly have a look at the eror and my steps listed below-
oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value HzPuiDQMSrchResultsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2344)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at oa_html._OA._jspService(_OA.java:88)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value HzPuiDQMSrchResultsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2344)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at oa_html._OA._jspService(_OA.java:88)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value HzPuiDQMSrchResultsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2344)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at oa_html._OA._jspService(_OA.java:88)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
My steps were as following
1. Created a new BC4J package cit.oracle.apps.ar.hz.components.search.server;
2. Brought HzPuiDQMSrchResultsVO.xml file (this is the view I need to change) into project
under seeded BC4J package oracle.apps.ar.hz.components.search.server;
3. Created a new VO in package cit.oracle.apps.ar.hz.components.search.server
by extending the existing HzPuiDQMSrchResultsVO.
4. Created a substitution in the project to substitute
HzPuiDQMSrchResultsVO with new VO. No java classes generation was done
for the new VO.
5. Successfully ran jpximport.bat as
C:\Projects\oracle\jdev\source>jpximport.bat C:\Projects\oracle\jdev\jdevhome\jd
ev\myprojects\upload.jpx -username apps -password <password> -dbconnection "(DESCRIPTI
ON=(ADDRESS=(PROTOCOL=tcp)(host=iris.cit.com)(port=1561))(CONNECT_DATA=(SID=CDHD
EV)))"
with result
Imported document : /oracle/apps/ar/hz/components/search/server/customizations/s
ite/0/HzPuiDQMSrchResultsVO
Import completed successfully
6. Created 'cit' directory structure under $JAVA_TOP on ther server.
Put whatever files were located under <JDEV_USER_HOME>\myclasses\cit
to the server in the right place. Set the permissions to 775.
7. Bounced the apache.
Could you please kindly advise what the problem can be.
Thank you for any help.
Anatoliy -
Configuring tomcat for form based authentication-help badly needed
hi , i want to have form based or some other way of authentication for the users comming to my site , i have access only to web.xml , but in tomcat documentations its giveni need to change server.xml and tomcat-user.xml , can i make these changes on web.xml to implement it or please tell me way out of this please , i tried even jguard but it needs changes in jvm which also not into my access
Hi,
I'm a little confused. You wanted to know how to configure Tomcat for form based authentication, and I sent you an article on how to do that. Is there something more you need from me? You had offered 10 duke dollars for this post, and if there is more I can do I will help for the remaining amount, but I can't help you getting access to the Tomcat *.xml file.
Maybe you are looking for
-
Is it possible to access a single Lightroom catalogue mounted on a shared drive from multiple computers, each with an individual Lightroom install? Thanks. Steve Greenberg
-
Upgrading iMac G3 400 DVD slot-loader to Tiger
My iMac's hard drive is dying and have purchased a brand new Seagate Barracuda 7200 8MB cache 120GB ATA IDE hard drive on eBay to replace it (haven't received it yet). Also am going to replace the PRAM battery and add 256MB of RAM. The Mac currently
-
Regarding Transaction Isolation Level
We talk about query and update constent problem again. even I don't take it as problem. I can see this in SAP notes or SAP help: JDBC Sender Adapter... · The UPDATE statement must alter exactly those data records that have been selected by the
-
Can a disk images be used on various computers...
If I configure and setup an intel MacBook with Leopard and all licensed software, and create a disk image from it, can I use this disk image on intel iMacs and intel Desktops granted I have the licenses for the software...? We are trying to get one i
-
Why won't my NEF files from my Nikon D7100 import to lightroom 5. I have the latest updates!