Apex Listener in standalone mode, how to set/reset db connection.
Sometime ago I installed Apex Listener for testing, then I removed it.
Now I downloaded last version, installed it in standalone mode and try to set the DB connection.
However when I try to edit in listenerAdmin page the db connection parameters I can't : they are greyed and report the connection informations I gave in my first test installation.
How can I change them ?
How can I avoid all fields in listenerAdmin greyed ?
Tks
Tullio
Hello Tullio,
you can run /listenerConfigure/ only as long as there is no configuration available. The database parameters can only be setup when the APEX Listener is not connected due to the state of its connection pool. Once it is established, you can only configure it offline by editing the apex-config.xml . That's why the parameters are greyed out in /listenerAdmin/.
You probably only removed the war file of your test installation, but not the apex.home including the apex-config.xml that is stored in there. So your new installation found the old home and reused the connection.
You could either edit the apex-config.xml or delete the apex.home and rerun /listenerConfigure/
If you run on a windows system, you'll find the apex.home in your users TEMP, usually located in the temp folder underneath the local settings of your user profile. The directory to locate is now called "apex".
-Udo
Similar Messages
-
How to set up internet connection between MacBook Pro and an old eMac?
I got an old eMac without wifi and a MacBook Pro. I'd like to share the network connection via ethernet cable to my eMac, but I can't get it work.
I'd like to use it with screenrecycler and it needs a network connection.
How to do it? How to set up the connection between the client and the host? Could somebedy give me a step by step guide?
Thank you very muchHello,
First, are you using Wifi for Internet on the MBP?
System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
The interface that connects to the Internet should be dragged to the top of the list, Wifi on the MBP.
In Shating on both, enable File Sharing, Screen Sharing, & Web Sharing on both.
Then with the Ethernet cable between the two, find the IPs of both, or use Finder>Go>Connect to Server>Browse... see what shows up. -
APEX Listener EA2 Standalone CLOB error
I'm testing the APEX Listener EA2 release in Standalone mode on CentOS against Oracle XE.
My RESTful service calls use the Media Resource type to return a CLOB that I format myself inside a function:
select 'application/json', my_function_that_returns_json_in_a_clob from dual
In the EA2 release, this is generating an error if the function returns more than 4000 bytes (works with 4000, fails with 4001). It is as though the function is getting cast as a varchar2 somewhere. I verified that the function will correctly return a large result to other sources (dbms_output, for instance).
The APEX Listener Log reports the error as:
oracle.dbtools.rt.web.HttpEndpointBase restfulServices
SEVERE: ORA-22922: nonexistent LOB value
Here's a Test Case:
create or replace function test_size(p_cnt in integer) return clob
is
l_clob clob;
begin
for i in 1..p_cnt loop
l_clob:=l_clob||'a';
end loop;
return l_clob;
end;
Then create a RESTful service call:
Method: "GET"
Source Type: "Media Resource"
Source: select 'application/json', test_size(4001) from dual
Thanks,
TimThanks for your thorough reply!
Unfortunately, your workaround doesn't fix the problem with EA2. It encounters the 4000 character limit as well.
I understand your advice regarding using the QUERY type. I chose the Media Resource strategy for two main reasons:
1. These services calls are for our mobile developers. Because they use some predefined frameworks for managing data that comes to the mobile app, they wanted the json to distinguish between data sets (rather than every data set being called "items"). I am able to format the json in such a way that it doesn't confuse their code. Is there another way to customize the format of the default json created by the QUERY type?
2. I need to conduct some other business as part of the call. For instance, the service passes in a user's credentials which I use to authenticate and then retrieve the appropriate results based on who they are. Currently, I have stored procedures that authenticate APEX users or LDAP users.
Perhaps old habits die hard, but I find that if I just do all of this myself in a stored function, I have all of the control I need. If you have other recommended strategies, I'm all ears.
Thanks!
_Tim -
How to set / reset radio buttons in screen..
hi,
i have 4 radio buttons in my screen, initially only the first one must be active and all other must not be in selected state. at any point of time only one must be selected and based on the selection the subscreen area must be filled with the subscreen.
whats the code to check if the radio button is selected or how to set the action for the radio button selection ?
also whats the statement to reset the radio button ?
thksYou put them all in a radiobutton group.
For example:
PARAMETERS: rb_pres RADIOBUTTON GROUP rbf,"Presentation Server Files
rb_app RADIOBUTTON GROUP rbf."Application Server Files
The first one is defaulted to "X", but you can also do that yourself.
You check the value = "X" to see which is selected or say IS NOT INITIAL.
Hope this helps,
Mark -
In VC WEBDYNPRO compiler mode, how to set decimal places to 2
The compiler mode is webdynpro,
The ivew table column's data type is num type,
The column show a curreny data.
Now the problem is when the num data is like a number as "1000.00",the ".00" will not show,but when the value is "1000.01" ,it show "1000.01". I want it always show the formatting like "X.XX".
There is also no formatting property to set in the column like in flash compiler mode then i can set decimal places to 2.
What should i do?Hi,
You can use Decimal Format Class and declare something like:
DecimalFormat df = new DecimalFormat("#,##0.00;(#,##0.00)");
wdContext.currentContextElement().setSueldoTxt(df.format(wdContext.currentOutputSueldoElement().getPe_Betrg()));
You'll have the two decimals...!!
Good Luck and regards,
Maria Margarita Monteverde -
Apex 4 Cascading LOV's how to set a child LOV back to null return value
Hi,
My problem is I am using the new Dynamic Actions to implement Cascading LOV functionality in Apex 4 which means not having to submit the page to update child LOVs after parent LOV changes.
What I am finding is that when you change the parent LOV value then the child LOV (which has a null return value) is not defaulting to the null return value (in my case no selection should return -1) if its list is filtered to a different set of values which doesnt have a valid selection. The child LOV is left without a selection when I need it to default back to the null return value (-1, representing all values).
Also I was hoping to do this before the page is submitted so the filtering down the hierarchy of LOVs will work where the child is null (-1, meaning all values) and in turn its child LOV(s) will filter also from the null child value.
Any help would be much appreciated.
ThanksHi 804641,
I'm not sure if I get your problem and I tried to reproduce it.
http://apex.oracle.com/pls/apex/f?p=2672:6 is my example with a cascading LOV where I have also defined a dynamic action which fires when P6_EMPNO changes and it shows the current selection.
Maybe it helps if you setup an example on apex.oracle.com and provide the workspace/user/pwd so that I can have a look. I'm also not sure about your sentence "using the new Dynamic Actions to implement Cascading LOV functionality", because dynamic actions are not needed for cascading LOVs. It's a feature of the item types themselves where you just have to set the "Cascading LOV Parent Item(s)" attribute.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
How to set up wireless connection
I just got the Macbook Pro. Unfortunately, I've never used a Mac before and am foreign to the interface. I have a D-Link router. How do I go about setting it up? I'm not computer savvy at all.
I know you go to System Preferences - Network, but then what?
Please help.
Thanks.jaynew,
Hello Jay, and welcome to the Discussions!!
There shouldn't be much you need to do. First, we need to know a few things about your router. Is the wireless network password-protected (encrypted)? Does the router broadcast the SSID?
Any "open" wireless routers should be recognized by "Airport" (which is what Apple calls standard 802.11x wireless networking), and you will be asked if you want to join whatever networks are found. While Airport will "see" any password-protected networks that are broadcasting an SSID (basically, the name of the network), and it will show them in a list that appears in the "Airport menu" at the top of your display, it won't automatically ask you if you would like to join.
Out of the box, all Macs should be pre-configured to go online via a wireless network automatically. You can turn Airport on and off, from the menu I mentioned above, but it should be on by default. Double-check that it is: In your "Menu Bar," at the top of the display, look for a triangle with a curved top and concentric lines. This is your "Airport menu." Open it, and make sure that it reads "Turn Airport Off." Otherwise, it will read "Turn Airport On." You want it to be on
Assuming your wireless network is secured (password-protected), you'll need to select it from that same menu, then choose the correct encryption protocol, then enter the correct password. Provided you get all this right, you will join your network and gain a connection to the internet. Alternating lines on the Airport menu icon will turn black to show the signal strength. Also, you will be asked if you would like to store the authentication credentials for this network in your Keychain. You do!
If you still have trouble at this point, you might need to have a look at System Preferences>Network. First, use the "Show:" pull-down menu to select "Network Port Configurations." You will see a list of potential network ports, among them "Airport," "Ethernet," Firewire," etc. If you want Airport to be your main mode of internet connection, drag it to the top, and make sure it has a check next to it (make sure that it is enabled). Your Mac will look for internet connections in the order outlined in this list.
Next, change the "Show:" menu to select "Airport." In this window, click the "Airport" tab. The "By default, join:" menu should read "Automatic." Now click the "TCP/IP" tab. The "Configure IPv4:" menu should read "Using DHCP." You shouldn't need to bother with the other tabs.
That just about covers most any situation. If it does not cover yours, give us some more info, and we'll try to respond.
Scott -
How to set up automatic connection to a router's login page
When I try to use a public wifi (say at the library) that requires a simple login, my Firefox does not automatically seek the login page. How can I make that automatic? Of course, I am manually connecting to the router and opening my Mozilla, but it simply times out because it finds nothing. In order to make it work, I always have to type in IP address. How do I make Mozilla automatically find the login page once connected to the router?
jscher2000,
I tried your suggestions: (i) When I clicked a bookmarked page (wsj.com) it continued to spin its wheels and ultimately timed out. (ii) Ctrl+Shift+r did absolutely nothing also.
Also, I tried your suggestions in both Mozilla Firefox and Internet Explorer to no avail.
There must be a simple setting in either of the two browsers options menus that tells it to automatically seek out a router's login page. Why would this not be occurring on my four month old laptop.
Thanks for helping. -
How to set min & max connections for MSSQLconnection pool
Hi,
I want to set minconnection, maxconnection, idletimeout initial limit for the pool
I have got a MSSQL database connection using following java code.
// MSSQL DbConnection Code
import java.sql.*;
public class MsSqlDataSource
public static void main(String arr[])
Connection con = null;
ResultSet rs = null;
try{
com.microsoft.sqlserver.jdbc.SQLServerDataSource ds = new com.microsoft.sqlserver.jdbc.SQLServerDataSource();
ds.setServerName("10.50.50.51");
ds.setPortNumber(1711);
ds.setDatabaseName("test");
ds.setUser("starhome");
ds.setPassword("starhome");
con = ds.getConnection();
}catch(Exception e){}
}In oracle i have passed min and max number of connection properties through setConnectionCacheProperties method.
//Connection Pooling using Oracle Data Source:
m_connSource = new OracleDataSource();
m_connSource.setDriverType("thin");
m_connSource.setServerName(m_host);
m_connSource.setNetworkProtocol("tcp");
m_connSource.setDatabaseName(m_db);
m_connSource.setPortNumber(m_port);
m_connSource.setUser(m_user);
m_connSource.setPassword(m_password);
// Enable caching. m_connSource.setConnectionCachingEnabled(true);
java.util.Properties prop = new java.util.Properties();
prop.setProperty("MinLimit", m_minConnections);
prop.setProperty("MaxLimit", m_maxConnections);
prop.setProperty("InitialLimit", m_initialConnections);
prop.setProperty("InactivityTimeout", m_inactivityTimeout);
prop.setProperty("AbandonedConnectionTimeout", m_abandonedTimeout);
prop.setProperty("ConnectionWaitTimeout", m_connWaitTimeout);
m_connSource.setConnectionCacheProperties(prop);I dont know how to pass min and max number of connection properties for SQLServerDataSource. Is there any method available to pass min and max number of connection properties for SQLServerDataSource.
Iam using Tomcat. I found one way to set min and max connections for pool by doing changes in context.xml and web.xml using below url http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html
I dont want to touch tomcat configuration files. I need to set connection pooling properties which is independent of application server.
Please anybody give solution for this?
Thanks,
PrishaHi,
you need to define your database under the DB Admin tab. In the Schema objects node you'll find Sequence Implementations, and there you can definde min max values as well as caching and increments.
Gerald -
How to set up internet connection to laptop and desktop?
I have a modem connected to an old lynksis router. I have my desktop hooked in port 2 on the router and my laptop in port one..
The desktop's network map shows it connected to a switch(my router) and the switch to my laptop and the laptop to the internet..
Thus I have internet connection on my desktop
but my problem is that the network map on the laptop shows it connected to the switch and the switch to my desktop
thus no internet connection..
how do I connect the laptop to the internet as well as share files? I'm confused after fiddling around for an hour.Hello,
First, are you using Wifi for Internet on the MBP?
System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
The interface that connects to the Internet should be dragged to the top of the list, Wifi on the MBP.
In Shating on both, enable File Sharing, Screen Sharing, & Web Sharing on both.
Then with the Ethernet cable between the two, find the IPs of both, or use Finder>Go>Connect to Server>Browse... see what shows up. -
How to set default wireless connection
At another house for a while, how do I get the local wifi to connect automatically?
Hi,
You just have to connect to the wifi with the Airport icon on the top left corner of then menu bar, next the hour indicator.
You probably have to enter the password, if you check save the password for this local wifi, next time, your macintosh will connect automatically.
That's ok for my local wifi at house, and for local wifi at dad's house.
pretty simple like a mac -
How to set 32bit ODBC connection to the application in 64 bit OS
hi,
I have BO installed in 64 Bit windows OS and the mysql data server in 32bit windows OS. i created DNS on the server for the data server. when i click on test connection, I'm getting a message
DBD:[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.
i think this error is due to Os .
so how do i resolve this issue?
regards
sunil kumar koneruIn this case with maxDB it was not possible to match source DB version. While the system that needed connection to BOBJ was rel7.7 it was not possible to install ODBC drivers from the maxDB client installer > 7.6.00.35
Higher patch levels or releases went
INSTALLER_INFO: Version = 7.6.06 Build 008-123-224-525
INSTALLER_INFO: Changelist = 224525
INSTALLER_INFO: MakeId = 435925
INSTALLER_INFO: Type = kit
SYS_INFO: Host name = BOBBY
SYS_INFO: System = Windows
SYS_INFO: Architecture = AMD64
SYS_INFO: Version = NT 5.2
SYS_INFO: Subversion = Service Pack 2
MSG: InstallRegistry: space check ok: 29758306 kb on E: (567023269 kb total) available
MSG: install registry successfully locked
MSG: read 17 PACKAGES
MSG: net registry size = 120750 bytes
MSG: InstallRegistry: reserved 1024 kb disk space
MSG: collector found 18 archives
WRN: software in package "Base" (SDBBAS.TGZ) isn't runnable on your system
magic string: MS Windows 32-bit i386 executable
YOUR SYSTEM: architecture = AMD64
YOUR SYSTEM: subversion = Service Pack 2
YOUR SYSTEM: system = Windows
YOUR SYSTEM: version = NT 5.2
WRN: software in package "ODBC" (SDBODBC.TGZ) isn't runnable on your system
magic string: MS Windows 32-bit i386 executable dll
YOUR SYSTEM: architecture = AMD64
YOUR SYSTEM: subversion = Service Pack 2
YOUR SYSTEM: system = Windows
YOUR SYSTEM: version = NT 5.2
The maxDB guys should do something about this or it least point out proper solution(s).
Edited by: SAP SAPBASIS on Jun 28, 2010 8:54 AM -
Cannot get wireless functions to work, neither via MBA nor Epson setup screen; not IT literate No wifi network available, have I been suckered??
Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.
Apple recommends that you deauthorize a device in the iTunes Store before having it serviced. -
My iPhones me is in recovery mode and won't reset when connected to iTunes
I Recently updated my iPhone to iOS 8 but it has now gone into recovery mode it says to connect it to intunes but when I do it tells me to reset so I try that and it tries to update which it then tells me I can't do until I reset so then I start the process again and click on reset which leads into a never ending cycle
Howdy Jhearmon,
It sounds like your phone is in Recovery Mode and you are having difficulty restoring it with iTunes. That can be pretty frustrating, so I would recommend starting with the troubleshooting in the following article:
Resolve iOS update and restore errors in iTunes
If you are getting a specific error message or error number, I would recommend this article next:
If you can't update or restore your iPhone, iPad, or iPod touch
Thank you for using Apple Support Communities.
Take care,
Sterling -
Apex Listener standalone and mapping directory
Hello,
I install Oracle XE 11 + Apex 4.2.2 + Apex Listener 2.0.2.
All work ok.
But, I need access from Apex applications to directory on server.
On the Oracle Http Server is solution in dads.conf :
Alias /test/ "/mnt/test"
It is possible this on Apex Listener in Standalone mode?
Or I must use glassfish, deploy apex.war and deploy static mapping war files like :
java -jar apex.war static --context-path /test /mnt/test/
-> test.war -> deploy and then work?
Thanks for any solution
Best Regards
Max Devainei have the same issue.
I put a alias in dads.conf in apex folder.
Alias /u/ "E:\ApexUserData\/"
restarted apex listener (standalone).
but unable to read file from the folder "e:\apexuserdata\aaa.txt"
the link i used is
http://host:port#/u/aaa.txt
unable to read the file. but able to read
http://host:port#/i/arrow.gif
directly without problem.
Maybe you are looking for
-
This item is currently being modified, please try again later since iTunes9
Hi, I tried to find an answer to this issue believing I wouldn't be the only one to see this, but I could not find the answer to my iTunes issue. I updated to iTunes 9, since I did that, I am unable to buy any Season Pass. I tried with 3 different se
-
How to hide parameters in the URL ?
Hi, Iam using Reports 6i on web. Now Iam calling report from a report (Drill done report) using SRW.SET_HYPERLINK. Iam passing lot of parameters to this detail report. When I call the main report the URL looks like: http://devreports.wwt.com/dev60cgi
-
I recently put in a new SIMS card to our MiFi4620L Jetpack. When I was at the Verizon Store the person who was helping me was able to sign onto the internet via the jetpack. Now that I have my brother-in-laws computer, which has WIFI, I am unable t
-
How to download PS3 on a Mac OSX 10.4.11?
I have got problems starting up PS3 and crash report appear on screen. Contacted Adobe chat and got the serial number. But the program will not start up and crash. I had trash photoshop preferences and plist and stii will not work. Any suggestions.
-
Can I get analog camcorder tapes into iMovie?