Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Why is DOORS not accepting my credentials when running in batch mode?

55000233YM gravatar image
Question by AJHello  (67) | Jan 15 at 09:12 AM rationaldoorsbatch

I am trying to run DOORS 9.6 in batch mode from the terminal but I am getting an error every time. I am doing the command doors -u user name -p password -batch C:\Users\path\to\file and the DOORS logo pops up and it seems like it is going to work then a window pops up saying "invalid username or password" and then login window for rational DOORS pops up with the username box filled with the first word of my username and the cursor on the password box. I am not sure why this is happening because when I run the command I am putting in the same username and password I put in when I log onto DOORS from the desktop app.

This is the DXL script I am trying to run: // batchserver.dxl IPC ipc = server 5093 string request / add functions for you interface here / while (true) { if (accept(ipc)) { if (!recv(ipc, request)) { warn "Server has disconnected" break } } else { warn "error accepting client connection" break }

 print "request: "
 print request
 print "\n"
 errors = false
 if (request == "shutdown_") {
     send(ipc, "done_")
     break
 }

 if (request == "errors_")
     break

 if (request == "quit_")
     continue

 ans = eval_ request
 if (ans == "errors in eval_ string") {
     print "errors in request\n"
 }

 send(ipc, ans)
 disconnect(ipc)

} Thanks in advance for any help.

People who like this

  0   Show 3
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
55000233YM gravatar image AJHello (67)   Jan 15 at 11:29 AM 0
Share

Update: I kept playing around with the command and I did this instead: doors -p user name -u password -batch C:\Users\path\to\file Now, the DOORS login screen pops up with my username already filled out(correctly this time) and it has me type my password in. I type it in and it brings up doors but it has the error message CRCRD5080W: This project cannot be found: . When I press okay to make the message go away I am able to use DOORS regularly but still not in batch mode. Not sure why this is. Any help would be appreciated. Thank you.

55000233YM gravatar image AJHello (67) AJHello (67)   Jan 15 at 11:37 AM 0
Share

I am also not sure if this is relevant but when I exit out without logging into DOORS(after the pop up login window comes when running one of these commands) I get a pop up message saying "Failed to load the JNI shared library 'C:\Program Files(x86)\Java\jre1.8.0_191\bin\client\jvm.dll'". Not sure if this has anything to do with DOORS but just thought it might help figure out what the issue is. Thanks.

55000233YM gravatar image AJHello (67)   Jan 15 at 12:38 PM 0
Share

I think I got this problem fixed by doing the command doors.exe -user "User Name" -password "password" -batch C:\Users\path\to\file (also could not have spaces in file path). But I am now getting an error "null IPC parameter was passed into argument position 1 -I- DXL: execution halted" I am guessing this issue has to do with the batch script I am running(posted in original post). Any ideas why this error might be coming up?

1 reply

  • Sort: 
270001VG2X gravatar image

Answer by Mike.Scharnow (258) | Jan 15 at 02:01 PM

this works fine for me. I created a dxl file with the content of http://kronoskoders.logdown.com/posts/603151, started DOORS the way you did it, and the IPC server was started. Of course, nothing is visible, nothing is done, as the script waits for input on port 5093. Then I started python and used the script given at the same link to send an IPC client command to the IPC server (I use python 3.6, so I had to change the line s.send('print "Hello World"') to s.send(b'print "Hello World"'). Works great, "Hello World" was printed..

The question is: was it really in your intention to use DOORS as an IPC server?

Comment

People who like this

  0   Show 2   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
55000233YM gravatar image AJHello (67)   Jan 15 at 02:56 PM 0
Share

Hi Mike sorry if I don't understand your question perfectly but I do believe I want to run DOORS as an IPC server. But when I try to do doors.exe -user "User Name" -password "Password" -batch C:\Users\Path\To\File the IPC server does not start and I get the error "-R-E- DXL: null IPC parameter was passed into argument position 1 -I- DXL: execution halted

Press return to exit DOORS."

Is this a server problem since you are not getting this error?

55000233YM gravatar image AJHello (67) AJHello (67)   Jan 15 at 04:17 PM 0
Share

I think I understand now Mike. You need to enter the command and then run the python file and then you will see the batch window pop up. If you enter the command again, before running the python file, hoping to see the batch window that error will pop up. Thanks for all your help.

Follow this question

148 people are following this question.

Answers

Answers & comments

Related questions

Is there a way to take the output of my DXL script and save it to a SQL Database? 1 Answer

Instead of having my dxl script append to a txt file, how would you get it to overwrite what's already in the txt file? 1 Answer

How do I fix this error that I am getting when trying to run my batch script? 0 Answers

Why am I getting an error when trying to run my dxl script to run DOORS in batch mode? 1 Answer

Will changing the Rational Change servername affect current links in the DOORS-Change interface 5.7? 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges