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.
Anatoliy
Raffy,
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
Similar Messages
-
While playing music on my iphone 5, i am now unable to play, pause, or skip songs while my phone is locked. I can still change the volume and scrub through songs. This has always worked for me until now. As far as i know, i have not changed any settings. This is whle my phone is locked both on the slide up toolbar/menu interface and on the normal screen before i slide to unlock.
I skimmed through this very long post but from what I read, this sounds much more like a coverage issue with your network than a device issue. I have not seen or heard of this issue before and I do not have this issue personnally and & I use the music app quite frequently while working in the yard.
The DND feature should not be a factor at all if you're sure it's turned off. I always recommend restarting your phone by holding down the home button + the lock button for 10-12 seconds until the Apple logo appears. Once the phone reboots, do a test to see if this has helped to resolve the issue.
If not, go to Settings > General > Reset > Reset Network Settings. Then, test it out again. Post back if neither of these solutions solve your issue. -
i hate being asked if i would like the password remembered all the time. i just want them to be saved automatically. i was able to do this by changing the pasword prompter in the components folder of Mozilla on version 3.5.3 but now witht he new 4.0 version i cant. i am going to downgrade to a previous version. which is the latest that i cant still change the password prompter on??
Firefox 4 versions and later '''do not run on a PowerPC Mac''' and require at''' least OS X 10.5 and an Intel Mac.
The latest supported version for your os is '''3.6.25 '''you can download from here:
http://www.mozilla.org/en-US/firefox/all-older.html
[http://www.mozilla.org/en-US/firefox/3.6/system-requirements/
Firefox 3.6 System Requirements]
[For older Macs that aren't supported in Firefox 4+ versions, if you like, try TenFourFox for PowerPC's running Mac 10.4.11 & 10.5.8]
http://www.floodgap.com/software/tenfourfox/
http://tenfourfox.blogspot.com/
https://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
thank you
Please mark "Solved" the answer that really solve the problem, to help others with a similar problem. -
i have apps to be updated but when i try to update them a message pops out saying "You have updates for other accounts, please sigh in with the other id". Can some one help me how can i still update the same with the new apple id ive created. As i dont have the access to the earlier id anymore.
You cannot. The apps are assigned to that Apple ID and there is nothing you can do to change that. You could choose to download them again with the new Apple ID, any paid apps will need to be purchased again.
Hope that helps. -
You can no longer change the password
Good day!
I have a problem on a Netweaver 2004s BI server.
When a user tries to change his password at the logon screen, the error message : "You can no longer change the password" appears.
To clarify, user types his current user id and password in the logon screen, then clicks the "New Pasword" button. Then immediately the "You can no longer change the password" appears.
This is not similar to the message that says you can only change your password once per day.
Any help would be much appreciated!
Regards
DerikAh.. that was interesting.. actually you wouldn't know about these errors which do not give u a clue.. in the right direction unless you have faced the problem. Good that the problem is resolved.
Its more quicker to actually help, if you have access to the system.
This error could have been easily sorted out by checking system log entry and audit logs or SUIM.
Regards,
Siddhesh -
my iPod touch needs to be restored. however, all of my movies/apps/songs/photos are not backed up on my computer because the shop on my computer does not work. can i still get the memory on my iPod touch 32gb back?
If you weren't able to sync the purchases to a computer previously and now your iPod needs to be restored so you can't sync it now, then you may be out of luck and will need to purchase your content again. Officially Apple does not allow redownloads of purchased items other than iPhone/iPod touch applications and iBooks. The official statement of their policy can be found here, among other places.
You can try contacting iTunes Store Customer Service (select the "Music Purchases" or "Video Purchases" category, as appropriate, then "Lost or Missing Items". You'll find either an "Express Lane" button - just follow the instructions to get to the contact form - or an "Email Us" button) ") and explaining what happened. Reportedly in some cases Apple has allowed redownloading on a one-time basis. But don't count on it.
Good luck. -
Since purchasing my Mac Pro with retina display, I can no longer change the preferences on MP Navigator for Canon MX870. I can change them on my old Mac Pro with Lion, but not the new one. I can scan but I can't save it to a folder on my hard drive. I can only let it default to a back up date folder. Tried all sorts of things to change the preferences and folders, nothing worked. Ideas?
StephanieTo prevent your iPhone from automatically syncing when you plug it in, click on iTunes in the menu bar, then preferences, then "devices", then tick "prevent iPhones, iPad's and iPod's from syncing automatically".
Plug it in, then on the iPhone sync summary screen, click "info" along the top.
Make sure the "sync contacts" option is not ticked. as long as it's not ticked, then it won't sync with your mac's contacts but will still include them in backups.
Also, if you use iCloud, make sure that the iPhone/mac are either not signed into the same account, or that "contacts" is not turned on for both of them -
How can you add/change the currency rate in spro?
Hi all,
you can add a new currency code by going to spro --- general settings --- check currency codes
for example: PERU ---> PEN
But, how can we add/change the currency rate PEN in spro?
for example: Peruvian Nuevo Sol = 4,3567619
Is it still in customizing? And if so, where can i find it?
Many thanks in advance.
Kind regards,
Pamela.Hi Aman,
I have entered the field to add the new currency rate.
But the system doesn't want to valid my new rate.
I get the following error message:
"Input should be in the form ._,____ "
Do you know how to override that command?
Thanks.
Regards,
Pamela -
Can I remotely change the desktop theme?
When user opens my website, Can I remotely change the user's desktop image? Is it possible? Please Help me.
thannks in advanceHi,
When user opens my website, Can I remotely change the
user's desktop image? Is it possible?Unsing JSPs it's not possible to change the user's desktop
theme.JSP are processed at server side and the output of JSPs
in most cases will be an HTML file which is used for rendering
your site content but won't provide any access to system resources.
But you may embed client side scripts like Java Script or VB Script
in JSPs to change the desktop theme if and only if these client
scripts provide access to change the client desktop theme which is
not in our scope.
Hope this helps.
Good Luck.
Gayam.Srinivasa Reddy
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support/ -
Hello. I would like to write async tcp client and server. I wrote this code but a have a problem, when I call the disconnect method on client or stop method on server. I can't identify that the client or the server is no longer connected.
I thought I will get an exception if the client or the server is not available but this is not happening.
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
How can I determine that the client or the server is no longer available?
Server
public class Server
private readonly Dictionary<IPEndPoint, TcpClient> clients = new Dictionary<IPEndPoint, TcpClient>();
private readonly List<CancellationTokenSource> cancellationTokens = new List<CancellationTokenSource>();
private TcpListener tcpListener;
private bool isStarted;
public event Action<string> NewMessage;
public async Task Start(int port)
this.tcpListener = TcpListener.Create(port);
this.tcpListener.Start();
this.isStarted = true;
while (this.isStarted)
var tcpClient = await this.tcpListener.AcceptTcpClientAsync();
var cts = new CancellationTokenSource();
this.cancellationTokens.Add(cts);
await Task.Factory.StartNew(() => this.Process(cts.Token, tcpClient), cts.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
public void Stop()
this.isStarted = false;
foreach (var cancellationTokenSource in this.cancellationTokens)
cancellationTokenSource.Cancel();
foreach (var tcpClient in this.clients.Values)
tcpClient.GetStream().Close();
tcpClient.Close();
this.clients.Clear();
public async Task SendMessage(string message, IPEndPoint endPoint)
try
var tcpClient = this.clients[endPoint];
await this.Send(tcpClient.GetStream(), Encoding.ASCII.GetBytes(message));
catch (Exception exception)
private async Task Process(CancellationToken cancellationToken, TcpClient tcpClient)
try
var stream = tcpClient.GetStream();
this.clients.Add((IPEndPoint)tcpClient.Client.RemoteEndPoint, tcpClient);
while (!cancellationToken.IsCancellationRequested)
var data = await this.Receive(stream);
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
private async Task Send(NetworkStream stream, byte[] buf)
await stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
await stream.WriteAsync(buf, 0, buf.Length);
private async Task<byte[]> Receive(NetworkStream stream)
var lengthBytes = new byte[4];
await stream.ReadAsync(lengthBytes, 0, 4);
var length = BitConverter.ToInt32(lengthBytes, 0);
var buf = new byte[length];
await stream.ReadAsync(buf, 0, buf.Length);
return buf;
Client
public class Client
private TcpClient tcpClient;
private NetworkStream stream;
public event Action<string> NewMessage;
public async void Connect(string host, int port)
try
this.tcpClient = new TcpClient();
await this.tcpClient.ConnectAsync(host, port);
this.stream = this.tcpClient.GetStream();
this.Process();
catch (Exception exception)
public void Disconnect()
try
this.stream.Close();
this.tcpClient.Close();
catch (Exception exception)
public async void SendMessage(string message)
try
await this.Send(Encoding.ASCII.GetBytes(message));
catch (Exception exception)
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
private async Task Send(byte[] buf)
await this.stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
await this.stream.WriteAsync(buf, 0, buf.Length);
private async Task<byte[]> Receive()
var lengthBytes = new byte[4];
await this.stream.ReadAsync(lengthBytes, 0, 4);
var length = BitConverter.ToInt32(lengthBytes, 0);
var buf = new byte[length];
await this.stream.ReadAsync(buf, 0, buf.Length);
return buf;Hi,
Have you debug these two applications? Does it go into the catch exception block when you close the client or the server?
According to my test, it will throw an exception when the client or the server is closed, just log the exception message in the catch block and then you'll get it:
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.Invoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
Console.WriteLine(exception.Message);
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
By the way, I don't know what the SafeInvoke method is, it may be an extension method, right? I used Invoke instead to test it.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
If my phone service is disconnected, can I still use the number to iMessage? Under my setting in iMessages it only allows me to select my linked emails and the telephone number is there but grayed out and i can't seletect it ! It wont activate. I just recentely got AT&T. When I had verizon before and my phone got disconnected it allowed me to still iMessage off my number.
If your phone service is disconnected, it's not your number any more.
If you "just got AT&T", how can it be disconnected? -
If I make a new iTunes account with the same credit card number can I still have the same thing I bought from my other account?
Not without buying them from the new iTunes Store account.
(84283) -
My brother and I have been using the same iTunes account. We now want to have our own separate accounts.Can we still keep the apps we have on our own devices?
Your question is almost too much a personal one, begging the question "do we (husband and wife) feel comfy sharing one account on the Mac" maybe thats why nobody answered you.
It doesnt complicate anything, but it adds steps for switching accounts on the Mac/ purchases etc. of course
since your question is mostly personal, ..I wont answer THAT part of it, but creating a new account is easy.....messing with switching back and forth is also a personal preference 'issue' as well. I prefer to keep things simple, but...........you and yours, I dont know.......
http://support.apple.com/kb/PH11468 -
How can I manually change the height of the "Type ...
Hi all
Just got automatically installed the latest 6.22 version of skype few minutes ago and I got a few questions.
First and foremost, how can I MANUALLY change the height of the textbox, where I type the messages. I would like to make it larger, like in the previous versions of skype. I don't want to move my mouse cursor through the entire monitor to reach this tiny textbox.
And second, why you guys are trying constanly to ruin something that is working perfectly ? Going to revert to the previous version until you fix all these nuisances.
RegardsThere is no way to do this, it is designed to be strictly landscape with keyboard, portrait without - not the best thought-out phone on the market, mainly geared towards compulsive texters and e-mailers.
There's no way to know whetherNokia will change this with any future updates, perhaps you should make the recommendation to them directly using the 'contact us' link. -
I have lost the original remote for my Apple TV. I went to install it at my fiancés house, and cannot use the remote app on my ipad or iPhone. Can I still control the Apple TV with the apps?
Welcome to the Apple Community.
Your Apple TV may have become paired with another remote. Hold the remote close to and pointed at the Apple TV, hold down the menu and Rewind buttons together for 6 seconds or until you see a broken chain icon on screen.
Maybe you are looking for
-
Here Drive + freezes on Lumia 1020
Hi. I have a Lumia 1020. Version 4.0 of Here Drive + is unusable since it freezes periodically. Versions 3.0X on my 920 are ok. I,have tried to disable traffic info, map info, nothing works.
-
hello, im a drummer and i need a metronome to practice with but all the metronomes out there a mono and hurt my ear. i was wondering if there was a metronome that you upload to the ipod and be able to start stop change tempo and volume all while bein
-
How do I get Elements 12 to be my default editor for pictures?
The last version of Elements that I owned was Elements 6. I designated it as the default program for .jpg files, and when I'd double-click on a photo, it would open in Elements. I've tried to do the same in 12, but when I double click on the photo, i
-
How to merge multiple datasets in reporting services
we are having difficulty in developing a report because the dataset we needed for the report is coming from 2 separate stored procedure. these 2 stored procedure are returninga single table each, and we need 5 columns in the first table and 4 columns
-
Transport alert category and alert rule
Hi, We are using SAP BASIS 700 (NW2004S SP9). We have created alert category and alert rule in development system. We now want to transport this alert category and alert rule to test system. I have referred to sapnote 913858 but its valid till SAP BA