Business One and Open Source Web Front-Ends, PHP etc.

Hi there,
I am a complete newbie to all things SAP, so please excuse my ignorance.
I am trying to implement a solution for SAP Business One, including a web front-end for queries and information. The  SAP backend is running on a SQL Server, Windows 2000.
The catch is, I won't be running the web front-end off a Windows server. I need to find a solution for an Apache server, running (probably) PHP but could be JSP or any other scripting language to access SAP - but it will be running on a separate server, non-windows.
I have been given examples of people getting access to the DI Server using PHP, but it all involves a call to a COM() function that won't run from anything except a Windows server.
How can I acheive the same result running a PHP page from an OpenBSD or Linux / Apache server? Is the DI Server the right thing to be looking at, or am I going in completely the wrong direction?
Any help would be appreciated.
Thanks,
Nick.

post your question in SAP Business One SDK for better response.
Regards
Raja

Similar Messages

  • Problem with CRM 2011 web front end cluster

    Hi.
    We have a CRM 2011 (RU17) environment with a SQL DB server and 2 web front end CRM server in a cluster.
    Since few days (about 10) it seems that one of the 2 nodes is not working, and since yesterday many users report access problems when calling the application by cluster name - as usual since we deployed CRM 1 year ago.
    I tried myself, and I can run the application by cluster name without problems. If it try the separate notes addresses, one of them works, the other doesn't.
    I checked the 2 web front end servers, and are (or seem) both properly configured, with all patches installed.
    Following the information I got from Event viewer. Any suggestion welcomed!
    Many thanks and Best regards
    On the 'faulty' server I have different errors at event viewer level:
    Faulting application name: Microsoft.Crm.Sandbox.HostService.exe, version: 5.0.9690.4150, time stamp: 0x53559982
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1677
    Exception code: 0xe0434352
    Fault offset: 0x000000000000940d
    Faulting process id: 0x6f8
    Faulting application start time: 0x01cf8f93aa9a7ff8
    Faulting application path: C:\PROGRA~1\MICROS~4\Server\bin\Microsoft.Crm.Sandbox.HostService.exe
    Faulting module path: C:\Windows\system32\KERNELBASE.dll
    Report Id: f5019a68-fb86-11e3-9f21-005056853970
    Application: Microsoft.Crm.Sandbox.HostService.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Runtime.InteropServices.COMException
    Stack:
       at Microsoft.Crm.Sandbox.HostService.InitializeThreadProc(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    The Sandbox Host service has encountered an unexpected error and has stopped.
     Source: Microsoft.Crm.Sandbox.HostService.exe (1784)
     Error: System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.
       at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
       at System.DirectoryServices.DirectoryEntry.Bind()
       at System.DirectoryServices.DirectoryEntry.get_AdsObject()
       at System.DirectoryServices.PropertyValueCollection.PopulateList()
       at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       at Microsoft.Crm.SecurityUtils.GetSidFromAD(Guid objectGuid)
       at Microsoft.Crm.Sandbox.SandboxHost.SetPrivilegeUserGroupId(Guid privilegeUserGroupId)
       at Microsoft.Crm.Sandbox.HostService.InitializeThreadProc(Object stateInfo)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
    On the 'running' server event viewer I only have one error, related to mail router:
    #23379 - Could not verify the version of Microsoft Dynamics CRM at http://alkcg106.d30.intra:5555/AkzoNobelIndustrialCoatings. There was no endpoint listening at http://alkcg106:5555/AkzoNobelIndustrialCoatings/XRMServices/2011/Organization.svc that could
    accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

    Apologize for not having indicated here the resolotion I got thanks to MS support...
    We enabled the trace and we got
    a http error page stating maxQueryStringLength was insufficient. We changed the maxQueryStringLength and QueryString values in the CRM web.config value to 10240.
    We also noticed an error related to the DC being unavailable. We checked in the CRM registry hive and see in the non-working server you had a PreferredDc key pointing to “AMDNAD”. On pinging
    AMDNAD we see it is not reachable. We removed the PreferredDc key and after iisreset we can navigate to crm.

  • How do web front ends find the configuration database (moving whole farm to new AD forest)

    We are exploring, as a possible course of action, moving our SharePoint 2007 medium farm to a different Active Directory forest (2008). There is a two way transitive trust between the source and target domains.
    I have established that with such a trust it's possible to add content databases on a SQL instance in another forest, so moving content is not a big issue; we'd stand up new instances and move them: the user accounts are almost all in the target domain anyway.
    However, we have a good deal of customization, including a third-party application that no longer has any support and has historically been appallingly difficult to upgrade/install fresh.
    How do web front end servers find the SQL instance containing the configuration database? If the farm credentials had been previously changed to an account in the target domain, all services stopped and the configuration database moved to a new instance
    with a DNS alias, would the database appear to be in the same location when SQL and SharePoint services were started on (logically) moved web front ends?

    Here is more or less the high-level process for SharePoint 2007:
    Mid- to high-level steps.
    0. Full farm backup
    1. Move users to new domain (in AD). Use stsadm -o migrateuser to migrate the old domain accounts to the new ones in SharePoint
    2. Move service accounts to new domain, or create new service accounts
    3. Update the farm to use the service accounts in the new domain
    stsadm -o updatefarmcredentials (service accounts)
    stsadm -o spsearch -farmserviceaccount
    stsadm -o spsearch -farmcontentaccessaccount
    stsadm -o editssp -ssplogin (for each ssp)
    stsadm -o osearch -farmserviceaccount
    SSO and any other remaining service accounts (CA -> Ops -> Service Accounts)
    Default content access account (SSP -> Search Settings -> Default content access account)
    Customizations (if there are service accounts associated with these)
    3.5 Manual steps
    Application pool accounts
    Update permissions for SQL Logins to make sure the new accounts match the permissions for the old accounts
    Add the appropriate new accounts to the DCOM IIS WAMREG Admin Service
    4. Update the SQL Server service accounts. If SQL Server is shared with other applications you'll want to update the SQL Logins for these other applications as necessary and the SQL Server service accounts (DB Engine, DB Agent, Reporting Services, etc.). Might
    not be necessary if this has already been done or if the SQL server is not changing domains. 
    5. Shut down all services on all servers in the farm (this includes SQL if you are moving to the new domain).
    6. Change domain membership of all farm servers, reboot or perhaps shutdown and bring back up in the following order:
    1. SQL. Verify SQL Server is running and accessible. Check event logs. Resolve any issues.
    2. Central Admin server. Verify CA is accessible, check event logs. Web apps and some services may not be available if they are on servers that are currently turned off. Don't worry about these (yet).
    3. Application servers, search servers, index, query, other. It's likely some or all of the WFEs will go on at this step. Verify services are accessible as expected. Check event logs. Resolve issues.
    4. Any remaining WFEs. Wash, rinse, repeat.
    7. Assuming everything is running as expected, users can access the sites, the sky did not fall, etc. take a full farm backup.
    Hey look, here are some low-level steps too.
    # updates the account used to run the CA app pool and the timer service
    # must be run on the server that hosts CA
    stsadm -o updatefarmcredentials -identitytype configurableid -userlogin NEWDOMAIN\farm_service_account -password Password123
    # spsearch
    stsadm -o spsearch -farmserviceaccount NEWDOMAIN\search_service_account -farmservicepassword Password123 -farmcontentaccessaccount NEWDOMAIN\crawl_service_account -farmcontentaccesspassword Password123
    # osearch
    stsadm -o osearch -farmcontactemail [email protected] -farmserviceaccount NEWDOMAIN\search_service_account -farmservicepassword Password123
    # ssp service accounts
    stsadm -o editssp -title SSP -ssplogin NEWDOMAIN\ssp_service_account -ssppassword Password123
    # Manual steps
    SSP Admin -> Search Settings -> Default Content Access Account
    Application pools: CA -> Operations -> Service Accounts -> Web Application Pool (or use gl-updateapppoolaccount if available)
    iisreset /noforce
    Copy SQL permissions to the new accounts. Not sure why this doesn't happen.
    SSP Service Account
    Farm Account
    Setup Account (not copied because it doesn't own anything, just used to kick off the DB for the other accounts)
    Search Service
    Add accounts to DCOM not sure why this didn't happen
    Component Services -> Computer -> My Computer -> DCOM Config -> IIS WAMREG Service
    Farm account
    Application pool accounts
    Search Service
    SSP Service
    SSP Admin
    Then the fun part. Move the server into the new domain.
    Check for AAMs to see if they reference the current domain. If so, change to the new one.
    Stop all SP services. Join new domain.
    The computer name is a netbios name in SP, this should be painless.
    Some general notes from my experience doing this:
    1. There is no way to update application pool identities with stsadm (I haven't explored using Powershell). You have to go through CA -> Service Accounts to update these.
    2. Some SQL logins and permissions were not created. I compared the permissions before to the permissions after and copied the ones that didn't transfer. This resolved all database access issues.
    3. Had to grant permissions for the service accounts in the DCOM configuration for the IIS WAMREG admin service. I expected this to happen automatically but was not surprised given the history of CLSID 61738644-F196-11D0-9953-00C04FD919C1.

  • Deploy web application to multiple web front end servers

    Hi,
    I have a SharePoint farm that include 8 web front end servers and 2 application servers. I have created web application from central administration and during creation I added the public URL to refer to one of the web front end servers.
    Now I want to be able to access the same web application from the other web front end servers what shall be done. I have tried to add alternate access mapping but i found that i only have 5 alternatives (Default, Intranet, Extranet,Internet and Custom) while
    I need to access it from 8 different sites with the IP or name.
    Can anyone tell me what is the best practice for that.
    I appreciate the quick response.
    Regards,
    Ehab 
    Ehab

    I have create my web application under the default port "80" I provided the URL for one of the web frontend servers machine name "http://Machine Name:80/"
    For the AAMs that I have created I added some of the machines names of the web frontend servers
    Internal URL Zone
    Public URL for Zone
    http://Machine-Name-01 Default
    http://Machine-Name-01
    http://Machine-Name-02 Intranet
    http://Machine-Name-02
    http://Machine-Name-03 Extranet 
    http://Machine-Name-03
    http://Machine-Name-04 Internet 
    http://Machine-Name-04
    http://Machine-Name-05 Custom 
    http://Machine-Name-05
    Ehab

  • How to Get the Debugger Screen in WEB Front end of SRM

    Hi Gurus,
    I have couple of questions for SRM.
    1. How to Get the Debugger Screen in WEB Front end of SRM so i can debug the application which is running in EBP system??
    2. How to set the flag for external debugging (HTTP)??
    3. Using SICF how to set the ITS services ( Like BBPSC01 )for internal ITS so as soon as i place the order it should stop at the break point which i have set in the application.
    Thanks.
    Regards,
    Manoj Tiwari

    Setting up Debugging for Integrated ITS
    Tcode SICF.
    Select service (e.g. default_hostàbcàguiàsapàitsàbbpsc01).
    Change service settings and insert parameter ~GENERATEDYNDPRO=1.
    Find program to debug. E.g. SE93. Enter bbpsc01 à Display and get Program field (SAPLBBP_SC_UI_ITS)
    Execute SE38 and enter program name.
    Turn HTTP Debugging ON. UtilitiesàSettingsàDebugging. Click Actv and username.
    Add HTTP Breakpoint. Display source code and select Utilitiesàbreakpointsàset.
    On “External Debugging” select ‘HTTP Breakpoint’.
    Remember to remove breakpoints, deactivate debugging and remove parameter GENERATEDYNPRO.
    Can run program RSBREAKPOINTS to find which programs you have breakpoints set in.
    Have fun with EBP
    If you have any more questions i would be happy to help you. Send me mail on [email protected]

  • Open source web chat

    Hello
    I want to integrate open source web chat with cisco contact center !
    Please let me know the procedure

    For SME escalation or customer-facing chat queueing? Assuming the later you need CCX 9.0 Premium with SocialMiner to serve as the DMZ-based web frontend and XMPP proxy. Be aware that chat is a 1.0 technology for CCX in this release; very basic.
    Web Chat:Cisco Unified CCX Premium provides the facility for end users to initiate a chat session with the agent, from a website, typically the public website of the organization using the Unified CCX. Unified CCX provides separate agent and supervisor web application, real-time, and historical reports for Chat. The chat functionality requires Cisco SocialMiner to be deployed, and SocialMiner to act as the endpoint that hosts the widgets that end users and agents use during the chat session. SocialMiner accepts the chat request, communicates with Unified CCX to allocate an agent for the chat and then establishes the chat session between agent and end user. The Unified CCX queues the chat requests from SocialMiner, allocates agents, and monitors the chat session. Additionally, it facilitates agent state changes and provides the real-time and historical reports for the Chat.
    The procedure is not well documented publically. If you're a partner you could look at these TOIs:
    https://communities.cisco.com/docs/DOC-30185
    https://communities.cisco.com/docs/DOC-30186
    Customers are limited to the product docs:
    CCX: http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_9_0/configuration/guide/UCCX_BK_U767AC77_00_uccx-admin-guide_chapter_010001.html#UCCX_RF_C344B17A_00
    SocialMiner documentation is hidden on the DocWiki:
    http://docwiki.cisco.com/wiki/SocialMiner
    Please remember to rate helpful responses and identify helpful or correct answers.

  • Solutions - Seeking input for web front end to storage

    I am being bound by business process and privacy issues, and we want to keep our storage in house.
     At the same time, all our users see and love drop box and google drive.  So how can we, in our own private cloud, setup a web front end to our exisitng storage.  Is there some MS product that will already do this?  Points to consider,
    will it integrate with DFS?  SSL? Still be able to map drives directly from in office locations.  Encryption (far back seat) options would be awesome.  An MS product would be prefered, but are there other solutions??
    Am I over thinking this?  can I just setup a web server, and maybe code something in house?
    BlankMonkey

    Hi,
    If you need an application works like Google drive or Dropbox, it seems that OneDrive for Business and/or SharePoint online could help:
    OneDrive for Business
    http://office.microsoft.com/en-us/sharepoint-server-help/what-is-onedrive-for-business-HA102822076.aspx
    OneDrive for Business seems more close to your requirement if you just need a place for storing data on private cloud. 
    SharePoint Online
    http://office.microsoft.com/en-us/sharepoint/sharepoint-online-online-collaboration-software-FX103789366.aspx
    If you need additional functions, SharePoint Online as well as Office 365 may help. 
    If you have any feedback on our support, please send to [email protected]

  • High availability for Web front END server

    Dear All
    I am unable to understand the high availability model for Web front end server
    I am currently working on MOSS 2007/IIS 7 but I think for all versions it will remain the same
    I am now running single WFE server and my installation mode allow for adding extra servers to the Farm
    now when I add Extra server what will happen next ? should I add extra web application and site collections ? will load balancing include lists, library items and workflows
    how this stuff will be stored on one database
    it's too vague to me so extra explanation will be appreciated
    Regards

    To get a fault tolerant environment you need to do two things.
    1) Add a second server that is running the the Microsoft SharePoint Foundation Web Service.  That's the service that responds to calls for the web site making the server a WFE.
    2) Implement some form of load balancing to distribute HTTP requests for SharePoint web sites to the two servers.  This can be done with something as simple as Windows Network Load Balancing or with dedicated hardware like an F5 Load balancer.  
    Once you've added a load balancer and a second server you don't need to do anything else.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • [ANN] XINS 2.1 open source Web Services framework release

    XINS 2.1 Web Services Framework has been released.
    XINS is an open source Web Services Framework based on simple specifications of the Web Service in XML and
    generation of code and documentation from the specification.
    The generation includes Client JAR with its Javadoc, Server side template with its Javadoc, documentation in OpenDocument Format,
    documentation in HTML including the test forms, WSDL file, unit tests (JUnit) and stubs.
    The Web Services accept several protocols including REST, SOAP, XML-RPC, XML, JSON Yahoo! and JSON-RPC.
    What's new:
    * Start the API with java -jar <api name>.war
    * Improved generated specification in OpenDocument Format
    * Include/exclude calling convention with ACLs
    * New calling convention that maps SOAP request and response as the wsdl2api command mapping.
    * Smaller generated build.xml
    * Added possibility to include other runtime properties files
    * The runtime property location can be a URL
    * Swing Graphical User Interface
    * New tools: emma, glean, webstart
    * New target: javadoc-test-<api name>, javadoc-apis
    * Bug fixes and small RFEs
    Download XINS 2.1:
    Windows installer: http://prdownloads.sf.net/xins/xins-2.1.exe?download
    TAR GZ archive: http://prdownloads.sf.net/xins/xins-2.1.tgz?download
    Resources:
    Web site: http://xins.sourceforge.net/
    XINS demos: http://xins.sourceforge.net/demo.html
    Documentation: http://xins.sourceforge.net/documentation.html
    User guide: http://xins.sourceforge.net/docs/index.html

    I recommend you implement your web service with JAX-WS 2.0
    Axis (both version) are good but why do you want to use something that is not included in JEE API, when Java provide same thing with better performance.
    personally try to prevent non standard technologies despite they can be better than core java implementation sometimes.
    I don't know Xfire.
    the good:
    -JAX-WS performance is better than axis,
    - you can create your web service simply with annotation.(this means write class and then make it as a service easily)
    - support every kind of service invocation(callback,Asynchronous,...)
    - architecture is nice (you can operate on SOAP level)
    the Bad:
    - It is JEE 5 or JSE 6 dependent.
    - there is seriously lack of documentation and examples for it, on java web sites and internet.

  • Problem using the Web front end

    Hi
    I have been playing with the Web publishing tool and  I can get it working fine until I build an executable file.  Then when the vi is loaded using the .exe file the web front end comes up with the comment vi not loaded into memory?
    I am obviously doing something wrong but up until now I can not see it? 
    Any suggestinos welcome.
    Cheerrs
    Phill

    Phill,
    Have a look at this KnowledgeBase article:
    http://digital.ni.com/public.nsf/websearch/862567530005F09C8025673000529121?OpenDocument
    --Paul Mandeltort
    Automotive and Industrial Communications Product Marketing

  • There is an inconsistency between the authentication mode of target web application and the source web application after migrating to claims

    I've had my farm upgraded from SP2010 to SP2013 for over 6 months now and all is well, however, I was refreshing my staging environment from production and I noticed that one of the databases still shows these errors when I run test-spcontentdatabase:
    Category             : Configuration
    Error             : False
    UpgradeBlocking : False
    Message           : The [SharePoint Web App] web application is configured with claims authentication mode however the content database you are trying to attach is intended to be used against
    a windows classic authentication mode.
    Remedy              : There is an inconsistency between the authentication mode of target web application and the source web application. Ensure that the authentication mode setting in upgraded web application is the
    same as what you had in previous SharePoint 2010 web application. Refer to the link "http://go.microsoft.com/fwlink/?LinkId=236865" for more information.
    This doesn't make sense considering I converted the production web application to claims during the upgrade and then verified all sites were working with claims logins. I also verified that existing AD user identities were converted to claims by checking out
    the database tables. Yet test-spcontentdatabase still thinks there is a mismatch here.
    My farm is SP1 and no further CUs. The point of this particular refresh is so I can update to the November CUs in my test farm. Anyone else see this? Seems like it's a bug/safe to ignore because my stuff is working.
    Thanks,
    Aaron

    See:
    http://thesharepointfarm.com/2014/11/test-spcontentdatabase-classic-to-claims-conversion/
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • The Document Conversions Launcher Service status on a SharePoint Server 2013 Web front-end server displays "Starting" but does not start or stop

    I have this strange error showing up from my second Web Front End Server, "The Document Conversions Load Balancer service is stuck in starting, The status showing up "Error Starting". When I lunch the start, it runs then went back to
    the same status "Error Starting" for the "Document Conversions Load Balancer Service". How can I get of rid this issue?

    Hi Mannyabdon,
    Based on your description, I recommend to check the things below:
    1.  Run the PowerShell command below to check the status of the Secure Store Service:
    Get-SPServiceInstance |Where {$_.typename -like "Document Conversions Load Balancer Service"}
    If it is not showing online, please stop the service first and then start it to see if the issue still occurs (the
    <ServiceGUID> can be obtained obtained from the command above).
    Stop the service:
    Stop-SPServiceInstance -Identity <ServiceGUID>
    Start the service:
    Start-SPServiceInstance -Identity <ServiceGUID>
    2.  Check the ULS log for detailed error message.
    For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to track the APEX Web front-end Users ?

    Hi All,
    I would like to track who uses my Web front-end and hence, would like capture a list of all NT logins when they login for the first time. I would also like to capture the date they last logged in.
    Can I keep this record somewhere in the background where it can be accessed by key people.
    Please suggest the way out for this?
    Thanks,
    Himanshu Tiwari

    Hi,
    Yes you could quite easily incorporate this as part of your own custom Authentication routine, you can read more about writing your own authentication routine here -
    http://www.oracle.com/technology/products/database/application_express/howtos/how_to_change_auth_method.html

  • SAP Business One and Moving Database Issue

    We are in the process of moving our PROD system to a new server. The server runs MS SQL 2005. We installed SAP Business One and by default the demo databases went to the C Drive (C:/Program Files/MS SQL Server/..../Data). The SQL Server that exists has data on D partition and logs on E partition. We therefore dettach the database, copy the files to the correct locations, and reattach.
    Now, however, the SAP Business One application no longer finds the Company or Demo databases. Is there any way to fix this?
    Cheers John

    you should post your question in the Business One section at SAP Business One Application

  • Hardcode and open source

    technically, what does hardcode and open source mean?
    And, jasper reports and ireports, they are used for report generation in java ryt? is report generation a separate process? or is it embedded in a java app?

    Duplicate thread.

Maybe you are looking for