Apex listening port Configuration problem.

Hello

I wanted to try the latest Restful services in apex 4.2, I decided to install 2.0 listener Apex. I downloaded the file and followed the steps in the installation notes. As a sine qua non, I configured Restful services with success in the apex 4.2 with Oracle 11 g Express Edition. However, the installation of listener seems to be not correctly complete the following installation feed back.
D:\software\apex_listener>java -jar apex.war
This Listener instance has not yet been configured.
Please complete the following prompts

Enter the location to store configuration data:d:\apexlistnerconf
Dec 27, 2012 3:34:47 PM oracle.dbtools.common.config.cmds.ConfigDir execute
INFO: Set config.dir to d:\apexlistnerconf in: D:\software\apex_listener\apex.war
Dec 27, 2012 3:34:49 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
INFO: Using configuration folder: D:\apexlistnerconf\apex
Enter the name of the database server [localhost]:
Enter the database listen port [1521]:
Enter 1 to specify the database service name, or 2 to specify the database SID [1]:2
Enter the database SID [xe]:
Enter the database user name [APEX_PUBLIC_USER]:
Enter the database password for APEX_PUBLIC_USER:
Password must not be empty
Enter the database password for APEX_PUBLIC_USER:
Confirm password:
Enter 1 to enter passwords for the RESTful Services database users (APEX_LISTENER,APEX_REST_PUBLIC_USER), 2 to use the same password as used for APEX_PUBLIC_USER or, 3 to skip this step [1]:3
Dec 27, 2012 3:37:03 PM oracle.dbtools.common.config.file.ConfigurationFiles update
INFO: Updated configurations: defaults, apex
Enter 1 if you wish to start in standalone mode or 2 to exit [1]:
Enter the APEX static resources location or Enter to skip:D:\software\apex42en\apex\images
Enter the HTTP port [8080]:
Dec 27, 2012 3:41:17 PM oracle.dbtools.standalone.Standalone execute
INFO: NOTE:

Standalone mode is designed for use in development and test environments. It isnot supported for use in production environments.

Dec 27, 2012 3:41:17 PM oracle.dbtools.standalone.Standalone execute
INFO: Starting standalone Web Container in:  d:\apexlistnerconf\apex
Dec 27, 2012 3:41:17 PM oracle.dbtools.standalone.Deployer deploy
INFO: Will deploy application path = d:\apexlistnerconf\apex\apex\WEB-INF\web.xml
Dec 27, 2012 3:41:17 PM oracle.dbtools.standalone.Deployer deploy
INFO: Deployed application path = d:\apexlistnerconf\apex\apex\WEB-INF\web.xml
Dec 27, 2012 3:41:18 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
INFO: Using configuration folder: D:\apexlistnerconf\apex
Default Database connection not configured properly
Dec 27, 2012 3:41:20 PM oracle.dbtools.rt.web.SCListener contextInitialized
INFO: Oracle Application Express Listener initialized
Application Express Listener version : 2.0.0.354.17.06
Application Express Listener server info: Grizzly/1.9.49

Dec 27, 2012 3:41:20 PM com.sun.grizzly.Controller logVersion
INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.49 - 12/27/12 3:41 PM
Dec 27, 2012 3:41:20 PM com.sun.grizzly.SelectorHandlerRunner handleSelectException
SEVERE: doSelect IOException
java.net.BindException: No free port within range: 8080=com.sun.grizzly.http.SelectorThreadHandler@480d41f3
        at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432)
        at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378)
        at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188)
        at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Dec 27, 2012 3:41:20 PM com.sun.grizzly.http.SelectorThread$3 onException
SEVERE: Exception during starting the controller
java.net.BindException: No free port within range: 8080=com.sun.grizzly.http.SelectorThreadHandler@480d41f3
        at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432)
        at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378)
        at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188)
        at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
java.net.BindException: No free port within range: 8080=com.sun.grizzly.http.SelectorThreadHandler@480d41f3
        at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:432)
        at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:378)
        at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:188)
        at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Dec 27, 2012 3:41:20 PM oracle.dbtools.standalone.Standalone execute
INFO: http://localhost:8080/apex started.
Simply, it crashes in the last line, and I couldn't make any progress.

Can you please help to find out what was wrong?

Thanks in advance.

Kind regards

Natarajan

Hello

I updated the apex listener port 8080 and it does not give this error now.

However, he always says "Database connection by default not configured correctly"

I gave the name of SID as xe, which is the default value and that the correct SID for my DB also.
>

SID = xe is correct since you are using 11g XE.

What is more important, is that you may be able to access the Apex Application Builder via the ApexListener or not.
If Apex is not accessible, then the thing to check would be the Apex_Public_user password. Can you connect to XE using Apex_Public_user with the password that you provided when setting up the ApexListener?
Also make sure the Apex_Public_user and 2 other users ApexListener 2.0EA, are UNLOCKED.

See you soon,.

Tags: Database

Similar Questions

  • Listening port configuration Oracle reboot without touching listener.ora?

    Hello

    during the installation of a database in oracle restart the environment, right now I'm adding a listener to data through srvctl like this:

    srvctl add listener-l o LSNR_ ${Database} {ORACLE_HOME} Pei "TCP: ${PORT}".

    srvctl setenv listener -l LSNR_$ {Database} t ORACLE_BASE = ${ORACLE_BASE}

    In addition, I add the appropriate to the listener.ora corresponding lines: (example)

    LSNR_PLAY =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP (PORT = 8029))(HOST = sol001.hypoport.local))

    )

    )

    ADR_BASE_LSNR_PLAY = / ora01/app/oracle

    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LSNR_PLAY = WE

    ADMIN_RESTRICTIONS_LSNR_PLAY = WE

    It works as well for a long time I I'm not touching any configuration of the listener. But when I'm trying to change some parameters of the listener, an oracle agent rewrites the listener.ora file on its own in order to reflect these changes.

    So I wonder if I can completely jump to touch the listener.ora on my own file and let this agent to this work, while all configurations with srvctl (or maybe lsnrctl). But it would take to activate / ADMIN_RESTRICTIONS way ENABLE_GLOBAL_DYNAMIC_ENDPOINT permanent using these utilities. Is this possible? How?


    THX

    Robert


    ==================================

    IG is 11.2.0.4

    DB is 11.2.0. [34]

    So, just adding

    ADMIN_RESTRICTIONS_ = WE

    to the listener.ora just. Everything needed is generated by an agent of the basic config with "srvctl add listener." Other "lsnrctl set" specific settings must be entered manually on the listener.ora if necessary.

    Thank you.

  • Listening port transfer problem

    Hello
    I'm trying to redeploy my interlocutor of the apex, with the help of oc4j. I was able to redeploy the apex easily war file.
    No connectivity problem however I have problem prohibited.
    I get this error message when I try to log in as administrator
    * http://10.22.8.30:8888/apex/listenerAdmin\ *.
    The website declined to show this webpage
     
    
    
     HTTP 403
     
    
    
      
    
    
    Most likely causes:
    •This website requires you to log in.
     
    
    
      
    
    
    What you can try:
     
    
    
      
    
    
    
    
    
    
    
    Go back to the previous page. 
    
    
     
    Published by: new new on June 27, 2012 09:46

    Published by: new new on June 27, 2012 09:47

    Hello

    where you can access listenerAdmin before redeploy you the listener of the APEX on your OC4J?
    What was the reason for the redevelopment?

    -Udo

  • New APEX listening port and more than 32K

    Hi all

    Is the problem with the recording of high values (greater than 32 k) solved with the new listener APEX 4.0?

    Thank you
    Fadi.

    Samara says:
    Is the problem with the recording of high values (greater than 32 k) solved with the new listener APEX 4.0?

    The Apex team must answer as to what is expected for Apex 4.0, but the 32 k issue is twofold:

    (a) the bridge between the web browser/server and the database should handle more than 32 K string values (IE. CLOB).

    (b) the framework of the Apex (the procedure 'accept' who gets all values when you submit a page) must manage more string of 32 k values (IE. CLOB).

    Now, the problem with one) should be easy enough to fix with the new listener to the Apex. If you want to use Microsoft IIS as a web server, see my [gateway Thoth | http://code.google.com/p/thoth-gateway/] which already supports the CLOB parameters. You'll always need to manage registration of great values through an application process (Ajax), due to problem b), which is that the framework of Apex does not use CLOB parameters in the current version.

    However, since one) can be fixed easily in the listener of the Apex, but for Oracle set in the embedded PL/SQL gateway and in mod_plsql would probably take a lot longer because it follows the (slow) the database release cycles, I don't know if the Apex team will change the frame if the feature can only be used on one of the three doors (officially supported).

    -Morten

    http://ORA-00001.blogspot.com

  • Database - listener Ports - data transfer

    Hello

    If there are two databases running on the server, is it opt to configure the listening port only for two databases? and what happens if a single listening port configured?

    Thank you
    KSG

    Published by: KSG October 16, 2011 23:53
    Hi Jgarry/Hemant

    For client-server data.

    I understand as

    First, the client sends the request to the db server, the Listener listens to the connection and creates a database server process to handle the request (can be a query...

    I just want to understand how the processed information passes to the client... I wanted to say... What are the ports to transfer data from db to the client server?

    Jgarry, I understand the flow of data occurs via a separate data port (for example it can be any port 1599 or something)... So not that any additional traffic occurs between the client-server or client-server use the same data port?

    Im trying to understand the architectural flow of connectivity between the customer and vice versa. that will help better understand.

    My concern is...

    We implement a customer through TNS names connectivity. The listenes connectivity server and creates a server session to run the connectivity. Just as a request from the client to the database listen service_name "orcl", host = protocol = TCP port = 1521 abc.com. that is listening on the side Server and server recoganize the connectivity...

    Here, I am trying to understand... once the connection is established, so it's not need a listening more. We can not even stop the listener. How the portocol TCP in the Oracle Net will establish the flow of data between servers (how goes the sequence of request and response).
    If the network TCP layer is used to interact between the servers then how data flows between servers; as it uses a port number separated to send/receive data.

    Thank you
    KSG


    Thanks in advance
    KSG

    Published by: KSG October 16, 2011 23:55
    (added the more information about the data flow between the client-server)

    See the "Architecture of the listener" section here:
    http://download.Oracle.com/docs/CD/B19306_01/network.102/b14212/architecture.htm#sthref429

    1. a customer identifies the listener of the tnsnames.ora entry and/or command-line (HOST/IP, Port) settings.
    2. He sends the requested SERVICE_NAME / SID to the listener when it is able to connect to the listener.
    3. the Auditor verifies that he is aware of the SERVICE_NAME / SID (if not, it returns an error "listener isn't aware of service"). 'Consciousness' is inspired by PMON the recording with the listener database and/or the SID is used in the listener.ora file.
    4. once the auditor confirms that such a SERVICE_NAME / SID is available...
    5. He requests the service of database at the table a new process (which you will see as a process of oracleSID on a Linux/Unix server or a Thread in the process oracle.exe in Windows).
    6. it transmits customer information (IP address of the client, Protocol, etc.) in the process.
    7. Subsequently, it is this server process which is the authentication of the user (name of username-password), creates a session and manages all client requests (instructions SQL etc.) and returns the results to the client.
    -The listener is no longer involved.

    Hemant K Collette

  • APEX does not open after you have created the new Oracle listening port

    Hi guys,.

    I had to re register Oracle listener using "lsnrctl start". A new listening port has been created and I am able to connect user Apex by PL/SQL Developer. Port 8080 is open.
    But if I try to open the application APEX of URL (http://localhost: 8080/apex/f? p = :::) 4550:1:0 its not opening not.) It was working fine until yesterday.
    I use Oracle XE 11 g and APEX 4.2

    C:\Windows\System32 > sqlplus sys as sysdba

    SQL * more: Production of liberation 11.2.0.2.0 kills may 7 22:21:18-2013

    Copyright (c) 1982, 2010, Oracle. All rights reserved.

    Enter the password:

    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production

    SQL > SELECT DBMS_XDB. GETHTTPPORT FROM DUAL;

    GETHTTPPORT
    -----------
    8080

    SQL >

    so I do not know why APEX does not URL. What I have to put something at the TOP after you have created the new listening port. Can you please help?

    Kind regards
    Marie Claire

    Published by: 1004608 on May 7, 2013 14:40

    Link to your thread to listen would have helped: Oracle XE 11g with Apex No problem of Listener (ORA-12541: listener TNS:no)

    It seems that your listener uses the static instance via the listener.ora file registration and missing entries for the http service. Edit your listener.ora (F:\Apex_Installed\app\oracle\product\11.2.0\server\network\ADMIN\listener.ora) file and add the following entries in the listener.ora file DESCRIPTION_LIST. Then, restart the listenerer.

    (DESCRIPTION=
      (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=8080))(Presentation=HTTP)(Session=RAW)
    )
    
  • Apex listener 2.0 and Glassfish configuration error

    Hello

    When I do the configuration between Glassfish 3.1.2.2 and apex listener 2.0, I get the error. After I deployed the apex.war I tried to go to http://localhost: 8080/apex/listenerConfigure but I was getting this error.

    java.lang.IllegalStateException: PWC3990: getWriter() has already been called for this answer
    at org.apache.catalina.connector.Response.getOutputStream(Response.java:674)
    at org.apache.catalina.connector.ResponseFacade.getOutputStream(ResponseFacade.java:206)
    at oracle.dbtools.rt.web.ServletResponses.sendResponse(ServletResponses.java:84)
    at oracle.dbtools.rt.web.ServletResponses.sendResponse(ServletResponses.java:130)
    at oracle.dbtools.rt.web.ServletResponses.sendResponse(ServletResponses.java:111)
    at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:153)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
    to com.sun.enterprise.v3.services.impl.ContainerMapper$ AdapterCallable.call (ContainerMapper.java:317)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:619)

    could someone help me

    FYI - I can configure apex listener 1.1.4 and Glassfish 3.1.2 no problem

    Thank you

    This is one of them. There are several option.

    Take a look at:

    java -jar apex.war help 
    

    That will show you all the options.

    Which is the main:

    java -jar apex.war setup --database test
    

    Now keep in mind, this will change your WAR file. After its deployment, the parameters are in XML files. I highly recommend that you configure a location of configuration before you deploy the WAR file. It will make your life much simpler and more predictable.

    More details here: [url http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25066/config.htm#autoId0]Listener V2.0 Docs

    -Tim

    Published by: Tim St. H., February 22, 2013 11:24

    Published by: Tim St. H., February 22, 2013 11:30

  • Problem using a folder next to the East on UNIX Ubuntu 10.4 with APEX listener

    Hi Forum,

    We have APEX 4.1 installed on Ubuntu 10.4 with the latest version of the APEX-listener.

    We want to achieve is that we are able to collect our Javascript extensions and css next to the folder is in a folder of our own.
    Problem now is UNIX, this doesn't seem to be possible, because we are unable to load any resource of this folder. The only solution we could come up with is to place a symbolic link in the/i/folder-pointing to the directory we want to include.
    The folder we want to include got 777 to exclude any potential problems of access to in UNIX

    Under Windows, this doesn't seem to be the case.

    If someone had a similar problem or is able to give advice on how to fix this?

    Thank you

    Jürgen

    Hi Jürgen,

    docroot
    -foo
    -J' I

    This does not work in stand-alone mode, the integrated nature fixed contexts (including + / i + and + / apex +) without the chance to bring custom contexts.
    It will run in GlassFish/Tomcat, if you deploy content correctly. You can do this by creating a war file that carries your files, but I wouldn't recommend it has static content more convenient ways.
    Tomcat has for example a context ROOT when running on a default configuration. This context can be used for static content similar to a simple HTTP server host, for example when using the htdocs of the Apache HTTP server as docroot. So you could simply copy your directory foo in the context of the ROOT and should be able to access the content using http://yourtomcathost:yourtomcatport/foo/file name .
    GlassFish is a concept similar to this: each domain has a docroot directory. As explained for Tomcat, you can simply create or copy your directory foo it so that it is available for your customers.

    If this does not work, you have a general problem with your GlassFish/Tomcat configuration, like the docroot has nothing to do with the earpiece of the APEX. I have just retestet with fees GlassFish/Tomcat on Ubuntu 8.04 LTS (Server Edition) as follows:
    1 download the http://glassfish.java.net/ zip or Tomcat mirror packages respectively.
    2 unzip the package
    3. create the directory 'foo' docroot (for GlassFish) and ROOT (for Tomcat)
    4. create the file 'bar' in 'foo '.
    5. start the server instance
    6 use a client remote access http://mybox:8080/foo/bar.txt and got the file.

    How did you install your GlassFish/Tomcat on your Ubuntu?
    Whatever it is, if you tried the docroot/ROOT approach and doesn't, you can always try the war file deployment. Maybe your GlassFish/Tomcat instance has disabled the docroot/ROOT context for security reasons.

    Note that you can have both, that is, you cannot use the war with framework file + / foo + and have always a + / foo + subdirectory in your docroot/ROOT.

    -Udo

  • Apex Listener SSL on Port 8181 use Glassfish

    Hello experts!

    I have deployed the listener apex 1.1.3 on my glassfish server and the listener is running on port 8080 (http-listener-1).
    My question is how can I configure the server Glassfish uses http-listener-2 (port 8181 and SSL enabled) instead?

    Searched for hours to find some info but could not find an answer s.

    Any help is appreciated!

    Thank you

    Sebastian

    Hello

    This is not really related to the listener of the Apex, it is more a question General glassfish.
    When you say instead, you realize that you can have glassfish listen on multiple ports, secure or not?
    It's not one or the other situation.

    If you go to http://: 8181 you will access the same application as you would on port 8080.

    This blog goes into details on how to configure HTTPs on a listening port of glassfish for the network:
    [http://javadude.wordpress.com/2010/04/06/getting-started-with-glassfish-v3-and-ssl]

    Published by: on February 13, 2012 mwrf 04:38

  • Apex listener 1.1.3 - I set up port 8080, but now I want to change

    Hi experts.
    I have configured the listener of the apex to port 8080 successfully, but now I want to change that, as well as the first question below.


    1 - the apex listener can be started via a script?
    2. how to change the port 8080 of the auditor of the apex?
    I saw this, but I don't ' know if Dapex.home's home foleder apex earpiece or nt.

    Java-Dapex.home=/tmp/apex-Dapex.images=/usr/local/apex/images
    -Dapex.port = 8585 - Dapex.erase - jar < temp folder > apex.war

    Hi user12055481,

    1 - the apex listener can be started via a script?

    Of course, if you want to use offline, it's basically the same call that you type when you start it manually. You can use nohup or a similar tool to run it in the background.

    2. how to change the port 8080 of the auditor of the apex?
    I saw this, but I don't ' know if Dapex.home's home foleder apex earpiece or nt.
    Java-Dapex.home=/tmp/apex-Dapex.images=/usr/local/apex/images
    -Dapex.port = 8585 - Dapex.erase - jar apex.war

    You can see the [url http://download.oracle.com/otn/java/appexpress/1.1/docs/AELIG/E21058_01.pdf] APEX listener Installation and developer for documentation Guide full of all possible parameters...
    One for the port is (obviously) apex.port . You need not provide the others if you want to just change the port. However, especially when you intend to use it in stand-alone Mode longer and use run script in function, it makes sense to use a home set (instead of your temp users) to store configuration and execution ( apex.home ) data and provide a certain destination for static content ("images") for APEX ( apex.images ) - especially important if you plan to use the APEX earpiece with different instances of APEX with different versions of the APEX. apex. Erase must be handled with care, as you will need to reconfigure the listener of the APEX, every time that you restart it. If you are considering a startup based on the script, you can do this as an option and to be used only when you want the listener to be reconfigured.

    I hope that answers your questions. If this isn't the case, feel free to ask for more details.

    -Udo

  • D DAQMx 6229 problems default IO port configuration

    Hello

    We use the PCI-6229 in an industrial PC / Windows 7 CVI application and are interested in the power setting to the top of the default configuration for the input/output digital port configuration.

    We used the utility NI Max Device Explorer and config to set the default values for the configuration of our application 26 DI + 6.

    It works very well which allows us to turn off the PC and power again upward and the Council retains its power to configuration.

    When we run our application and power cycle the PC, the power of the State seems to have returned to factory settings, which is all the output to 0 (I think).

    I don't think that we are running the functions that perform all reset of the card.

    Did someone saw this behavior like this and have any ideas of how we can know how to solve this problem?

    Thanks in advance.

    Steve Pinfold

    Hi Steve,.

    I conducted a survey on this issue, and it seems that this is a known bug and was returned in October last year.

    There is however a workaround solution.

    Cannot set the State of a single line at a time, because that will generate an error kErrorPowerupStateNotSpecdForEntirePort. Instead of so, write several DAQmxSetDigitalPowerUpStates() with different hardcoded calls a number of settings and switch between them during execution. I joined ppus_set.c, which is supposed to randomly through the adjustment lines.

    I hope that this should be a good starting point for you!

  • Apex listener return blank pages without configuration error!

    -J' created an Apex listener "Version: 1.1.3.243.11.40 ' to '10.0.114.11' in stand-alone mode.
    -J' configured Apex listener via http://10.0.114.11:8585/apex/listenerConfigure and return without error.

    -J' I http://10.0.114.11:8585/apex/listenerStatus, he turned:

    "
    Currently: kills Dec 13 17:06:32 ICT 2011
    Server Uptime: 0 days 01:10:14.101
    Total accesses: 38.0
    Total traffic: 161,34 K
    Total errors: 0
    Total downloads: 0
    Total duration of treatment: 0 days 00:00:09.354
    Delay in milliseconds: Minimum: 20 average: 246 median: Maximum 64: 3062
    Database time in milliseconds: Minimum: average median 14: 61: 50 Maximum: 204
    Active requests: 0
    Connections in the apex of the pool:
    Active principles: available 0: 1
    "

    But when I go on ' http://10.0.114.11:8585 / apex ' or ' apex / http://10.0.114.11:8585 / apex_admin ', I got blank pages.

    The page displays 'Application Express Login' or 'Application Express Administration Services' tab at the top of IE, but nothing else. Anyone have any ideas what might be happening here?

    Thank you very much

    Hello

    you receive an error message to the console output of your listener APEX in standalone Mode?
    Despite this, could you please check if you have set up the directory for static content ("images") properly, that is, is it exists, is it filled with the content of "images" - folder that corresponds to your version of the APEX and is it readable for the user you run your listener APEX with?

    -Udo

  • Configuring services on the listening port

    Hi s/n,.

    I use a TEST database on a server with port 1521. I created a database over the same DEV server manually.

    Now, I was to set up the new DEV with the listener. My current file Listener and TNSname file is attached. Please help me for new DEV that I put in listener.ora and tnsnames.ora database entries.

    My name of the listener's TEST. I also need to use the same port for the two DBs as single port 1521 is open from the firewall.

    ------------------------------------------- Listener.ora ------------------------------------------------------

    TEST =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY= EXTPROCTEST))
    (ADDRESS = (PROTOCOL = TCP)(Host= localhost) (Port = 1521))
    )

    SID_LIST_TES =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = u01/app/oracle/product/10.2.0)
    (SID_NAME = TEST)
    )
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = u01/app/oracle/product/10.2.0)
    (= Extproc PROGRAM)
    )
    )

    STARTUP_WAIT_TIME_TEST = 0
    CONNECT_TIMEOUT_TEST = 10
    TRACE_LEVEL_TEST = OFF

    LOG_DIRECTORY_TEST = /u01/app/oracle/product/10.2.0/network/admin
    LOG_FILE_TEST = TEST
    TRACE_DIRECTORY_TEST = /u01/app/oracle/product/10.2.0/network/admin
    TRACE_FILE_TEST = TEST
    ADMIN_RESTRICTIONS_TEST = OFF

    ---------------------------------------- tnsnames.ora ------------------------------------------------

    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST=localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TEST)
    (INSTANCE_NAME = TEST)
    )
    )


    --------------------------------------------------------------------------------------------------------------


    Please help this settings.

    Thank you
    -Samar-

    Nome02 wrote:
    Hi s/n,.

    I use a TEST database on a server with port 1521. I created a database over the same DEV server manually.

    Now, I was to set up the new DEV with the listener. My current file Listener and TNSname file is attached. Please help me for new DEV that I put in listener.ora and tnsnames.ora database entries.

    My name of the listener's TEST. I also need to use the same port for the two DBs as single port 1521 is open from the firewall.

    ------------------------------------------- Listener.ora ------------------------------------------------------

    TEST =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY= EXTPROCTEST))
    (ADDRESS = (PROTOCOL = TCP)(Host= localhost) (Port = 1521))
    )

    SID_LIST_TES =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = u01/app/oracle/product/10.2.0)
    (SID_NAME = TEST)
    )
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = u01/app/oracle/product/10.2.0)
    (= Extproc PROGRAM)
    )
    )

    STARTUP_WAIT_TIME_TEST = 0
    CONNECT_TIMEOUT_TEST = 10
    TRACE_LEVEL_TEST = OFF

    LOG_DIRECTORY_TEST = /u01/app/oracle/product/10.2.0/network/admin
    LOG_FILE_TEST = TEST
    TRACE_DIRECTORY_TEST = /u01/app/oracle/product/10.2.0/network/admin
    TRACE_FILE_TEST = TEST
    ADMIN_RESTRICTIONS_TEST = OFF

    ---------------------------------------- tnsnames.ora ------------------------------------------------

    TEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST=localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TEST)
    (INSTANCE_NAME = TEST)
    )
    )

    --------------------------------------------------------------------------------------------------------------

    Please help this settings.

    Thank you
    -Samar-

    First of all, I wouldn't name my interlocutor 'TEST '. Use the default name of the LISTENING port. Why complicate your life? The auditor is the auditor for all the db on this box. Do not confuse the issue by appointing him as if he was linked to a specific database. It must become more obvious now that you add additional databases.

    Second, a listener can serve several databases and simply to a port to do. This port 1521 is used by the listener to listen for requests to the databases all this services. It has nothing to do with the databases themselves. They care what port listening on the listening port. The actual connection between the client and the database do not use this port.

    Thirdly, remember that tnsnames.ora is used by the CLIENT process. Listener.ora is used by the listener on the host: it's a conifiguration host-side. The answers of others that you don't need to worry tnsnames - you only need to set ORACLE_SID - applies only to client processes running on the same box as the db. Remote clients do necessary relevant tnsnames entry.

    Fourth, you ask what to put in your listener.ora. Review the file. You see the section named SID_LIST_TES (which looks like a typo to me), and under that, you have two entries SID_DESC? Don't you see that one of these entries SID_DESC is for your existing TEST database? If you don't feel comfortable that copy to an another SID_DESC and edit it accordingly (from so that you have an entry SID_DESC for TEST and another for DEV) then just fire upward the netca utility in your ORACLE_HOME and let him help you add.

    Fifth, you ask what to put in your tnsnames.ora. Review the file. You see a clearly delimited input for TEST? If you feel able to make a copy of this entry and change it to DEV, then simply run the netca utility in your ORACLE_HOME and let it help you add.

    Sixthly, in your tnsnames file really useless both SERVICE_NAME as INSTANCE_NAME. Drop the INSTANCE_NAME.

  • question about apex listener configdir

    Hello

    I have two questions related to apex.war configdir

    Question 1:

    My original config dir was like that

    java-jar apex.war configdir

    August 16, 2013 03:02:43 oracle.dbtools.common.config.cmds.ConfigDir run

    INFO: The value of config.dir is/as10g/apex_listener

    Now I changed it to this

    java-jar apex.war configdir/as10g/apex_listener_ < sid_name >

    Before running the above command, I created the directory/as10g/apex_listener_of3dev

    This has changed my cconfigdir/as10g/apex_listener_ < sid_name > of/as10g/apex_listener.

    Now, I copied the contents of/as10/apex_listener/as10g/apex_listener_ < sid_name > (cp - r/as10/apex_listener / * / as10g/apex_listener_ < sid_name >)

    Is this ok to copy files and diretories that way after you rename configdir?

    Question 2:

    While moving to it, I noticed the following

    / as10g/apex_listener/BDB/AEL-r3BDF6EoLQxA0LXTO0DHxA

    > ls

    00000000.JDB je.info.0 je.info.0.lck je.lck

    There is a directory called bdb and another directory under it and some files.

    What is the meaning and the value of that directories and files?

    Thank you

    Kumar

    A1: Yes it's good, you can remove the BDB / folder and its subfolders, see below.

    A2: These are temporary storage files used by Berkeley DB engine, listener uses internally. Every time you start the Listener (since 2.0.2) create a new temp folder in the folder of bdb to store it's data transient. Also when commissioning listener will attempt to clean up the existing folders under the bdb, which do not have a file open in.

    Before 2.0.1 and earlier all BDB files were stored directly in the folder of bdb. This causes complications when you try to run the listener in a clustered environment. If all nodes share the same configuration file, then only the first node started in the cluster might work, because the BDB needs an exclusive lock for its data files, the first node would get this and then all other nodes failed to obtain the lock and become non-functional.

    So if you use listener 2.0.1 or earlier in a clustered environment the notice were to give each node with its own configuration folder to avoid this problem.

    Now since the 2.0.2 listening port best practice is the opposite, if you run the listener in a clustered environment and connect all nodes on the same databases, then each node should point to the same configuration file (for example a NFS file share with write access). This gives the advantage of being easier to maintain a consistent configuration on all nodes.

  • Get the blank Page using Weblogic and Apex listener v2

    Greetings,

    So I thought I would upgrade to the new version of the listener at the same time, I'm moving my current listeners of the apex (version 1.0.2.238.15.24) to a new server. The version of the new listener, I try to use is 2.0.0.354.17.05.

    I need to set up several headphones on the new server to point to different environments. I managed to successfully install the new listening port for one of my environments and everything works fine. However when I try to install the listener once I get a blank page when I try to put in place the Apex.

    I created two areas Weblogic (v 10.3.3), one for each listener. Here is how they are configured:

    This earphone works.
    DEV1
    Domain Name:     APEXA
    Host Name:     mars
    Port Number     7023
    Database Host:     mars
    Database Name:     SID1
    APEX Version:     4.1.0.00.32
    This listener DOES NOT work.
    DEV2
    Domain Name:     APEXB
    Host Name:     mars
    Port Number     7053
    Database Host:     venus
    Database Name:     SID2
    APEX Version:     4.1.0.00.32
    I am trying to access the second listener by entering this url:
    http://mars.xyz.com:7053/apex
    and that value is returned
    http://mars.xyz.com:7053/apex/f?p=4550:1:684042141256623
    Since the number of app, the page number, the session information is there, I guess that is what makes the database and is processed by the Apex. The problem is that the returned page is empty. The source of the actual page is:

    <html>
    <head>
    </head>
    <body>
    <pre></pre>
    </body>
    </html>
    I checked that images are accessible by entering:
    http://Mars.xyz.com:7053/i/apex_version.txt

    This is what is returned:
    Application Express Version: 4.1

    I don't know how to debug this problem. Any help would be appreciated.

    Thank you

    Larry

    You have configured different configuration for Auditors 2 directories? If only they would use the same config files and which would give conflicts.
    You can also configure the two summits on the same listening port, each accessible with a different URL prefix.
    And if the second database is always 10g, then you might hit a bug (Apex listener 2.0 does not work against 10g DB).

Maybe you are looking for